105 reputation
3
bio website holgerdell.com
location Paris, France
age
visits member for 3 years, 4 months
seen 20 hours ago

Oct
11
revised How to make cut/copy/paste in GVim on Ubuntu work with Ctrl+X,Ctrl+C,Ctrl+V?
Sorry for multiple edits. The previous version is almost certainly not what anyone wanted. See ":help i_ctrl-r_ctrl-o".
Oct
11
comment How to make cut/copy/paste in GVim on Ubuntu work with Ctrl+X,Ctrl+C,Ctrl+V?
After some experiments and consultation of :help i_ctrl-r_ctrl-o, I decided to change imap <C-v> <ESC>"+pa to imap <C-v> <C-r><C-o>+; this works as expected when the cursor is to the left of the first character of a line, and it most closely imitates the "standard" behavior.
Oct
11
suggested suggested edit on How to make cut/copy/paste in GVim on Ubuntu work with Ctrl+X,Ctrl+C,Ctrl+V?
Oct
9
awarded  Excavator
Oct
9
awarded  Editor
Oct
9
revised How to make cut/copy/paste in GVim on Ubuntu work with Ctrl+X,Ctrl+C,Ctrl+V?
improved the snippet: now works as expected in insert mode when cursor is to the left of the first character.
Oct
9
suggested suggested edit on How to make cut/copy/paste in GVim on Ubuntu work with Ctrl+X,Ctrl+C,Ctrl+V?
Oct
9
awarded  Supporter