> Do I have to change to normal mode and use hjkl?

Depending on the terminal/environment the answer is "probably 
not".  On a terminal session where your $TERM doesn't support 
arrow keys then yes, you have to escape to normal mode and use 
hjkl.  However, if you're using gvim or a computer/TERM made 
after the mid-80's, you should be able to use the arrow keys in 
insert-mode. ;-)

Some gross movements (such as by word or screen) can be done in 
insert-mode as well (control+left/right, home/end, pgup/dn) 
though some may be limited to gvim.  For some of the other 
vim-specific movements, you can also use control+o ("oh", not 
"zero") to temporarily enter normal mode to issue one normal-mode 
command such as "%" to move to the matching paren/brace/bracket 
or ")" to move to the next sentence.  All your typical motions 
should work here.

   :help i_CTRL-O
   :help motion.txt

-tim




--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to