I never used gvim. But
imap <C-S> <ESC>:w<CR>i
doesn't work?
It moves the cursor one character to the left after the save.
On save, this doesn't matter that much, but when I try to define a paste
shortcut like
imap <C-v> <ESC>"+gpi
then it works well in the middle of the line, but when pasting at the
end of a line, it moves the cursor one character left, so multiple
pastes at the end of the line are not possible.
Defining it with a "a" instead of an "i" at the end has similar issues, too.
Again, the GUI button in gvim does it perfectly.
Thanks for reading!
MD.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php