[VIM] Substitute a debug message with random number Posted by Computer Newbie on 下午6:08 in vim / No comments :%! perl -pne '$random=int(rand 10000000000); s/XYZ123/$random/' Reference: Vim substitute a Regex with randomly generated numbers Share This: Facebook Twitter Google+ Stumble Digg 以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook Related Posts:[Ctags][VIM] How to use ctags to find the definition of the function 1. sudo apt-get install ctags apt-get install exuberant-ctags 2. Under the folder of project Type ctags -R 3. Define the shortcut key… Read More[cscope][vim] How to install cscope into vim 1. First Download the code, and write into .vimrc.2. Reference [VIM] How to install vundle by script3. Reference 「CSCOPE」 The script of cscope to cre… 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[cscope][vim] vim - Load cscope database 1. Please do reference 1 2. Put cscope_maps.vim under ~/.vim/bundle/multi-cscope-db/plugin 3. Go to the folder of code. Create cscope.out. Ref … 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 意見:
張貼留言