Is there a way to make the arrow keys in vim/gvim act exactly like
gedit or other typical windows editors? What I want are:

1. When I press the left key, the cursor will of course move left; but
when it reach the beginning of a line, it stops, and it won't move to
the above line. Sometimes this can be quite inconvenient. However,
this problem can be partly solved by setting "set whichwrap
+=<,>,h,l" . By "partly solved", I mean this only applies to wrapped
lines; when the cursor reaches the beginning of a vim "true" line, it
won't move any more.

2. I always set vim to wrap lines automatically, which means a long
line will appear several lines in the editor. When I press the
"up"/"down" key, the cursor will move to the above or the below line.
Here the word "line" means the vim "true" line, not the apparent lines
shown on the screen. This is inconvenient to me. Even if I have set
"set whichwrap+=<,>,h,l", the performance won't change.

Is is there some settings or plugins to work this out? Thanks!

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

Reply via email to