摘要:
http://vim.wikia.com/wiki/VimTip432 command! Copyfile let @*=substitute(expand("%:p"), '/', '\', 'g')command! Copyfile let @+=substitute(expand("%:p") 阅读全文
posted @ 2016-11-29 17:54
cnblogist
阅读(91)
评论(0)
推荐(0)
摘要:
http://vim.wikia.com/wiki/File_format 阅读全文
posted @ 2016-11-29 17:53
cnblogist
阅读(132)
评论(0)
推荐(0)
摘要:
https://www.cs.oberlin.edu/~kuperman/help/vim/windows.html 阅读全文
posted @ 2016-11-29 17:52
cnblogist
阅读(94)
评论(0)
推荐(0)
摘要:
http://vim.wikia.com/wiki/VimTip396 precondition: set hlsearch" Show all tabs:/\t" Show trailing whitespace:/\s\+$" Show trailing whitespace only afte 阅读全文
posted @ 2016-11-29 15:43
cnblogist
阅读(99)
评论(0)
推荐(0)
摘要:
http://vim.wikia.com/wiki/Remove_unwanted_spaces 1. manual commandremove trailing whitespace::%s/\s\+$//eremove heading whitespace::%s/^\s\+//e:%le2. 阅读全文
posted @ 2016-11-29 15:14
cnblogist
阅读(232)
评论(0)
推荐(0)
摘要:
config file location 1. MinGW: C:\MinGW\msys\1.0\share\vim\vimrc 2. Linux: home config file content comment mark: one double quotation mark (") set au 阅读全文
posted @ 2016-11-29 15:13
cnblogist
阅读(136)
评论(0)
推荐(0)