3 ms·
undofile 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
by grn 14y ago
undofile 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...