[Vim] Undo your changes even after quitting the VIM editor after the version of vim 7.3 Posted by Computer Newbie on 晚上7:20 in vim / No comments vim ~/.vimrc or ~/.vim/vimrc " Undo file even quit vim {set undofile set undodir=/tmp " } Save and close the file. :wq Reference: 1. 37. Undo your changes even after quitting the VIM editor Share This: Facebook Twitter Google+ Stumble Digg 以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook Related Posts:[Vim][Graph] vim cheat sheet for programmer [Vim][Graph] vim cheat sheet for programmer vim cheat sheet for programmer… Read More[vim][Linux] How to find and replace by using vim[vim][Linux] How to find and replace by using vim :%s/awesome/wonderful/gcreplace with wonderful (y/n/a/q/l/^E/^Y)?If string is /var/tmp/ and want to … Read More[VIM] Substitute a debug message with random number :%! perl -pne '$random=int(rand 10000000000); s/XYZ123/$random/' Reference: Vim substitute a Regex with randomly generated numbers … Read More[Vim + Ctags +Cscope] Edit Source code toolCtag : [ctags] search all tags from top directory to end Graphical vi-vim Cheat Sheet and Tutorial cscope linux -- use vim to replace source insight… Read More[VIM] Display BIG5 into vim editor vim ~/.vimrc set fileencodings=utf8,big5,gbk,latin1 set fileencoding=big5 set <C-u>=^U set <C-b>=^B map <C-u> :set fileencoding=ut… Read More
0 意見:
張貼留言