1

Re: vim option: whichwrap

Hi there!

Quick question: in vim you can set the whichwrap option to allow l, h, and the side arrow keys to move the cursor to the previous/next line when the cursor is on the first/last character in the line.  Does ViEmu have any similar functionality?

Thanks!

2

Re: vim option: whichwrap

Hi,

ViEmu doesn't have that functionality, but I think you can emulate it with the following mappings:

  :nnoremap h <backspace>
  :nnoremap l <space>
  :nnoremap <left> <backspace>
  :nnoremap <right> <space>

As the 'space' and 'backspace' keys have the desired functionality.

You can add the mappings in a text file called '_viemurc' in your home directory (typically "C:\Documents and Settings\{username}" under <=XP and "C:\Users\{username}" under Vista), so that they will be activated everything VS is started.

Let me know if that is not enough.

Thanks,

  Jon

3

Re: vim option: whichwrap

That works great!

Thanks!

4

Re: vim option: whichwrap

Glad to hear that, you're very welcome.