Does it moves an extra character position to the left? Птн, 13 Авг 2010, r48gx писал(а): > Just put this in my .vimrc > > ro...@novaprospect:~$ more .vimrc > inoremap <left> <esc><left> > inoremap <right> <esc><right> > inoremap <up> <esc><up> > inoremap <down> <esc><down> > ro...@novaprospect:~$ > > It does exactly what I want now. It exits insert mode when I hit a > cursor key. Thank you so much ! > I was about to remove vim from my ubuntu ! > Now I don't have to think about the editor when trying to write my > thesis. > > > On Aug 14, 2:46 am, bill lam <[email protected]> wrote: > > Птн, 13 Авг 2010, Tim Chase писал(а): > > > > > > > > > :inoremap <left> <esc><left> > > > :inoremap <right> <esc><right> > > > ... > > > > > to force the behavior you want. > > > > I guess the old vi does not recognise arrow keys in input mode, pressing > > arrow keys will just generate the sequences ^[OC etc. The OP might want a > > imap to map all arrow keys to no-op. > > > > -- > > regards, > > ==================================================== > > GPG key 1024D/4434BAB3 2008-08-24 > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php
-- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
