| Computers Forum Index » Computer - Editors » escape out of reach... |
|
Page 1 of 1 |
|
| Author |
Message |
| Sven7... |
Posted: Fri Sep 04, 2009 1:06 am |
|
|
|
Guest
|
In vim (well, vim 7.2 for windows), the escape key
is used a lot but is a bit out of reach if you
want to keep your hands on the central keyboard.
At least for me. I'd be interested in hearing the
group's view on this. Any interesting mappings to
other keys? Tips for making fingers longer?
Regards,
Sven |
|
|
| Back to top |
|
|
|
| rouben... |
Posted: Fri Sep 04, 2009 4:18 am |
|
|
|
Guest
|
On 2009-09-03, Sven7 <Sven at (no spam) 7.x> wrote:
Quote: In vim (well, vim 7.2 for windows), the escape key
is used a lot but is a bit out of reach if you
want to keep your hands on the central keyboard.
At least for me. I'd be interested in hearing the
group's view on this. Any interesting mappings to
other keys? Tips for making fingers longer?
Ctrl-[ is equivalent to ESC. I has been
like that since the original vi.
--
Rouben Rostamian |
|
|
| Back to top |
|
|
|
| RalfB... |
Posted: Fri Sep 04, 2009 5:44 am |
|
|
|
Guest
|
Hello,
I love "imap <silent> jj <esc>". jj is much faster then to go to ESC.
Ralf |
|
|
| Back to top |
|
|
|
| SM... |
Posted: Fri Sep 04, 2009 10:18 am |
|
|
|
Guest
|
2009-09-04, RalfB skribis:
Quote: Hello,
I love "imap <silent> jj <esc>". jj is much faster then to go to ESC.
QFT. Although my version is "inoremap jj <esc>".
--
kasmra
:wq |
|
|
| Back to top |
|
|
|
| Florian Rehnisch... |
Posted: Tue Sep 08, 2009 10:54 am |
|
|
|
Guest
|
o Sven7 <Sven at (no spam) 7.x>:
Quote: group's view on this. Any interesting mappings to
other keys? Tips for making fingers longer?
I use this:
inoremap jff <c-k> " entering digraphs
inoremap <c-k> <esc> " remap esc to ^K
--
flori
Komfortables Web2News-Gateway http://www.newsoffice.de/
Vim-Hilfe auf Deutsch http://www.florianrehnisch.de/vimhelp/ |
|
|
| Back to top |
|
|
|
| RS Wood... |
Posted: Wed Sep 09, 2009 4:44 pm |
|
|
|
Guest
|
In article <2009-09-05$15.53.24 at (no spam) x.vimhelp.de.vu>, Florian Rehnisch wrote:
Quote: o Sven7 <Sven at (no spam) 7.x>:
group's view on this. Any interesting mappings to
other keys? Tips for making fingers longer?
I use this:
inoremap jff <c-k> " entering digraphs
inoremap <c-k> <esc> " remap esc to ^K
I bought a new keyboard, to deal with the problem. The Happy Hacker
keyboard has the escape key within reach, and it's very comfortable.
Just a thought.
--
http://www.therandymon.com |
|
|
| Back to top |
|
|
|
| Mikolaj Machowski... |
Posted: Wed Sep 09, 2009 8:39 pm |
|
|
|
Guest
|
|
| Back to top |
|
|
|
| Sven7... |
Posted: Wed Sep 09, 2009 11:10 pm |
|
|
|
Guest
|
Thanks for your feedback. Ctrl-[ is pretty useless
for me as I use a Scandinavian layout. jj & Ctrl-K
makes more sense.
Has anyone, btw, tried to map esc to Caps Lock?
It's a big, accessible key I seldom if ever use... |
|
|
| Back to top |
|
|
|
| SM... |
Posted: Mon Sep 14, 2009 9:47 am |
|
|
|
Guest
|
2009-09-09, Sven7 skribis:
Quote:
Has anyone, btw, tried to map esc to Caps Lock?
It's a big, accessible key I seldom if ever use...
Had a go at that once. I find mapping Caps Lock as another Ctrl key far
more useful. Even (and especially) when vimming.
--
kasmra
:wq |
|
|
| Back to top |
|
|
|
| Sven7... |
Posted: Tue Sep 15, 2009 2:12 am |
|
|
|
Guest
|
So how did you succeed in mapping Caps Lock to
something else? On what OS?
SM skrev:
Quote: 2009-09-09, Sven7 skribis:
Has anyone, btw, tried to map esc to Caps Lock?
It's a big, accessible key I seldom if ever use...
Had a go at that once. I find mapping Caps Lock as another Ctrl key far
more useful. Even (and especially) when vimming.
|
|
|
| Back to top |
|
|
|
| SM... |
Posted: Tue Sep 15, 2009 2:45 pm |
|
|
|
Guest
|
2009-09-14, Sven7 skribis:
Quote: So how did you succeed in mapping Caps Lock to
something else? On what OS?
My OS is Debian Squeeze. In Gnome:
System -> Preferences -> Keyboard -> Layouts -> Layout options... ->
Ctrl key position -> Make CapsLock an additional Ctrl
Quote: SM skrev:
2009-09-09, Sven7 skribis:
Has anyone, btw, tried to map esc to Caps Lock?
It's a big, accessible key I seldom if ever use...
Had a go at that once. I find mapping Caps Lock as another Ctrl key far
more useful. Even (and especially) when vimming.
--
kasmra
:wq |
|
|
| Back to top |
|
|
|
| SM... |
Posted: Tue Sep 15, 2009 3:07 pm |
|
|
|
Guest
|
2009-09-15, SM skribis:
Quote: 2009-09-14, Sven7 skribis:
So how did you succeed in mapping Caps Lock to
something else? On what OS?
My OS is Debian Squeeze. In Gnome:
System -> Preferences -> Keyboard -> Layouts -> Layout options... -
Ctrl key position -> Make CapsLock an additional Ctrl
And more generally, add the following line into the Section
"InputDevice" in your /etc/X11/xorg.conf:
Option "XkbOptions" "ctrl:nocaps"
Quote:
SM skrev:
2009-09-09, Sven7 skribis:
Has anyone, btw, tried to map esc to Caps Lock?
It's a big, accessible key I seldom if ever use...
Had a go at that once. I find mapping Caps Lock as another Ctrl key far
more useful. Even (and especially) when vimming.
--
kasmra
:wq |
|
|
| Back to top |
|
|
|
| Sven7... |
Posted: Sat Sep 19, 2009 7:01 pm |
|
|
|
Guest
|
Thanks, I'll try that on Ubuntu...
Quote: My OS is Debian Squeeze. In Gnome:
System -> Preferences -> Keyboard -> Layouts -> Layout options... -
Ctrl key position -> Make CapsLock an additional Ctrl
And more generally, add the following line into the Section
"InputDevice" in your /etc/X11/xorg.conf:
Option "XkbOptions" "ctrl:nocaps"
SM skrev:
2009-09-09, Sven7 skribis:
Has anyone, btw, tried to map esc to Caps Lock?
It's a big, accessible key I seldom if ever use...
Had a go at that once. I find mapping Caps Lock as another Ctrl key far
more useful. Even (and especially) when vimming. |
|
|
| Back to top |
|
|
|
| Michael Paoli... |
Posted: Tue Sep 29, 2009 3:42 am |
|
|
|
Guest
|
On Sep 3, 2:06 pm, Sven7 <Sven at (no spam) 7.x> wrote:
Quote: In vim (well, vim 7.2 for windows), the escape key
is used a lot but is a bit out of reach if you
want to keep your hands on the central keyboard.
At least for me. I'd be interested in hearing the
group's view on this. Any interesting mappings to
other keys? Tips for making fingers longer?
Use:
Control-[
That will generally work the same (typically generates an escape for
most sane keyboard and operating system configurations), and is
also often handy in that the Control and [ keys tend to jump around
less in position from keyboard to keyboard compared to the escape
key.
Same can be applied in the case of backspace - use Control-H |
|
|
| Back to top |
|
|
|
| Arif Khokar... |
Posted: Tue Oct 06, 2009 2:28 am |
|
|
|
Guest
|
Michael Paoli wrote:
Quote: On Sep 3, 2:06 pm, Sven7 <Sven at (no spam) 7.x> wrote:
In vim (well, vim 7.2 for windows), the escape key
is used a lot but is a bit out of reach if you
want to keep your hands on the central keyboard.
At least for me. I'd be interested in hearing the
group's view on this. Any interesting mappings to
other keys? Tips for making fingers longer?
Use:
Control-[
That will generally work the same (typically generates an escape for
most sane keyboard and operating system configurations), and is
also often handy in that the Control and [ keys tend to jump around
less in position from keyboard to keyboard compared to the escape
key.
You could also use Control-C. The problem with Control-[ is, IME, I
tend to hit Control-P instead (which triggers word completion). |
|
|
| Back to top |
|
|
|
|