Thanks to you all~ That's my first time to ask question here, and all of you are very nice
I'm sorry about representing my question unclear. Actually, I do have narrow keys, but I'm wandering how to do that quickly without move my hands. >From the answering above, I think I get several solutions 1) change to normal mode, move with hjkl 2) stay in insert mode, use narrow keys and home/end, pg up/ pg dn... 3) ctrl+o in insert mode, and then input a normal mode command 4) remapping Am I correct? I think solution 3 is handful... I'll learn that first Thank you again On Wed, Apr 8, 2009 at 8:38 AM, Tony Mechelynck < [email protected]> wrote: > > On 07/04/09 19:15, Tim Chase wrote: > > > >> The control equivalents (^H/^J/^K/^L) should still always work, 'though > >> I admit I haven't tried them in all modes. > > > > > > Just a word of caution, ^H in many consoles is the backspace, so > > remapping this can cause unexpected weirdnesses. > > > > Assuming your terminal supports alt/meta correctly, you might use > > Alt/Meta + hjkl instead. > > > > -tim > > ...at least if you never need accented letters. > > è (small e-grave) will trigger the mapping for Alt-h > ê (small e-circumflex) will trigger the mapping for Alt-j > ë (small e-diaeresis) will trigger the mapping for Alt-k > ì (small i-grave) will trigger the mapping for Alt-l > > and in general, the mapping for the Alt counterpart of any key will be > triggered by any key which produces its upper-ascii counterpart: to Vim, > Alt+nn and (nn+0x80) [where nn is a byte value, 0x00-0x7F] are synonymous. > > > Best regards, > Tony. > -- > Any resemblance between the above views and those of my employer, my > terminal, > or the view out my window are purely coincidental. Any resemblance between > the above and my own views is non-deterministic. The question of the > existence of views in the absence of anyone to hold them is left as an > exercise for the reader. The question of the existence of the reader is > left > as an exercise for the second god coefficient. (A discussion of > non-orthogonal, non-integral polytheism is beyond the scope of this > article.) > (Ralph Jennings) > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
