vmware-archive / vim-config

This is the Vim configuration we use on pairing machines at Neo, as well as many Neons' personal machines. It's pretty okay.
BSD 2-Clause "Simplified" License
64 stars 41 forks source link

Why remap H and L? #52

Closed sushengloong closed 9 years ago

sushengloong commented 9 years ago

H and L are for jumping to the top and bottom of the screen. Can someone shed some light on why we should remap them to $ and ^?

https://github.com/neo/vim-config/blob/master/.vim/common_config/key_mappings.vim#L57

" jump to far right or left of line
map L $
map H ^
paulhenrich commented 9 years ago

I overwrite this in in my custom config with

unmap L
unmap H

but I think it would be nice to globally stop overwriting them if no one objects. Especially because the related M isn't remapped. Optimistically opening a pull request with this change.

scssquatch commented 9 years ago

Done with https://github.com/neo/vim-config/pull/54/files