Vim: Spacebar as leader key, CapsLock as Esc
karmanebula.com
Vim: Spacebar as leader key, CapsLock as Esc
1–10 of 44 posts
Re: Vim: Spacebar as leader key, CapsLock as Esc
#2Re: Vim: Spacebar as leader key, CapsLock as Esc
#3What is a leader key? How much typing class did I miss?!
I started using Caps Lock as an extra Ctrl a couple months ago. It's great, except now I can't use other people's computers because I end up in caps-lock shout mode.
E.g. instead of "ctrl+l" in my browser to visit a site, it ends up:
CTRL+SHOUT+L BROWSER TAKE ME TO FACEBOOK I COMMAND THEERe: Vim: Spacebar as leader key, CapsLock as Esc
#4What is a leader key? How much typing class did I miss?!
:map W :w [some things you want to tack onto w]
The leader key is by default '\', so that's effectively mapping \W to :w [some things ...]
He's replacing his leader key with space.
Re: Vim: Spacebar as leader key, CapsLock as Esc
#5What is a leader key? How much typing class did I miss?!
http://learnvimscriptthehardway.stevelosh.com/chapters/06.ht...
I also fixed the display of the .vimrc file so you can see the "" entries.
Re: Vim: Spacebar as leader key, CapsLock as Esc
#6https://github.com/Lokaltog/vim-easymotion
it's well worth a look, gives you super quick fine grained movement
similarly
inoremap jj
to take you from INSERT mode to NORMAL mode is niceRe: Vim: Spacebar as leader key, CapsLock as Esc
#7Re: Vim: Spacebar as leader key, CapsLock as Esc
#8What is a leader key? How much typing class did I miss?!
I think he means instead of using a colon to begin Vim commands, he begins by typing a space. I started using Caps Lock as an extra Ctrl a couple months ago. It's great, except now I can't use other people's computers because I end up in caps-lock shout mode. E.g. instead of "ctrl+l" in my browser to visit a site, it ends up: CTRL+SHOUT+L BROWSER TAKE ME TO FACEBOOK I COMMAND THEE