3 ms·
Here are my 2 cents set undofile " This creates a undo file that persists your undo history when the file gets closed imap >> <ESC> " Double right arrow to es
by lightblade 14y ago
Here are my 2 cents
set undofile " This creates a undo file that persists your undo history when the file gets closed
imap >> <ESC> " Double right arrow to escape from insertion mode. This is faster and more comfortable (at least for me) than to reach for tab key for some people
set clipboard=unnamed " This is bridges between your Vim yanks and your system clipboard
- grn 14y agoundofile sounds great! I didn't know about it. Some people use jj to go to the normal mode. Personally I remapped Caps Lock to Escape in my whole system, so I can go to normal mode easily. You can yank to the system clipboard by providing appropriate register to yank into. You do that by pressing "* before the yank command (e.g. "*yy to yank the current line).
- docwhat 14y agoI have some code to keep the undo/backup/swaps in a sane place... http://stackoverflow.com/questions/4331776/change-vim-swap-backup-undo-file-name/9528322#9528322 http://stackoverflow.com/questions/4331776/change-vim-swap-b...