
vim
文章平均质量分 62
火玄子
这个作者很懒,什么都没留下…
展开
-
ycmd server SHUT DOWN
Vim YouCompleteMe异常异常信息如下:The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected error while loading the YCM core library. Use the ':YcmToggleLogs' command to check the logs.原创 2017-12-11 09:10:28 · 16513 阅读 · 0 评论 -
VIM字符匹配交换
Vim中可以通过模式匹配实现复杂的字符匹配和替换,《Learning the vi and Vim Editors》书中称之为Pattern-Matching。例如使用\(\)缓冲区模式可以实现不同缓冲区hold buffer之间交替,在vim中最多可支持9个hold buffer1。例1:将me and you字符串替换为you and me,可以使用如下命令:C1 :%s/\(原创 2017-12-11 14:19:54 · 2189 阅读 · 1 评论