Hello,
I face trouble at the moment defining a proper shortcut to save my file.
I use:
imap <C-S> <ESC>:w<CR>a
map <C-S> :w<CR>
which does save the file, but it also moves the cursor as a side effect.
This is especially annoying when I want to define shortcuts for copy n
paste, too.
How can I define a shortcut that works exactly as the "Save" button in
gvim? Where can I read more regarding that issue?
Thanks for advice!
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