I'm mostly using Vi (edit: Vim) for text editing and the viPlugin for Eclipse Juno. Eclipse seems to have a very annoying behaviour of "wrapping" the cursor to the next/previous line, if yout reach the end/start of a line through cursor keys.
(Reproduce by placing the cursor on the first position in a line and then press arrow-left. Cursor will be positioned on the end of the previous line)
I would think this behaviour is of very little use to programmers. We (mostly) think in lines, not in a flowing text.
So I would assume one could disable this annoying feature but I haven't found any related settings.
Any idea someone?
In Vim, the behavior of the arrows when the cursor is at the BOL/EOL is governed by the
'whichwrap'
option which — judging by the manual — is not supported by viPlugin.What you want would be achievable with custom mappings and a bit of vimscript logic in Vim itself but I doubt it's doable in viPlugin.
Now, that plugin is payware so I suggest you contact the author and ask him to add
'whichwrap'
or provide a workaround.