Closed grota closed 12 years ago
This patch doesn't seem to work for me; in gvim <Left> and <Right> continue under the original mappings, and in the terminal I get an error and backtrace when pressing <Left> or <Right>:
undefined method `+' for nil:NilClass
(eval):359:in `key_pressed'
(eval):1:in `block (2 levels) in <dummy toplevel>'
(eval):232:in `profile'
(eval):1:in `<dummy toplevel>'
Yep, sorry I just realized I have let g:LustyJugglerAltTabMode = 1
in my .vimrc
. I'll investigate more and let you know.
ok now it should work better
Merged, thanks! Looks like this change and the one to lusty-explorer.vim only allow arrow key usage in terminal vim; it may make sense at some point to get it working in gvim as well for consistency.
First off, thanks @sjbach for merging :) As per the topics, this adds and support in lusty-juggler and fixes the mapping restore commands for mapping that have | on the rhs, for example I have
nnoremap <C-h> <C-w>h<C-w>\|<C-w>_
cheers, Giuseppe