(使用YCM自带的即可) "Plugin 'w0rp/ale' " let g:ale_lint_on_text_changed = 'normal' " 代码更改后启动检查 " let g:ale_lint_on_insert_leave = 1 " 退出插入模式即检查 " let g:ale_sign_column_always = 1 " 总是显示动态检查结果 " "let g:ale_st
gcc colorscheme torte hi StatusLine gui=reverse " guifg=darkgrey guibg=cyan hi cursorline guibg=grey30 hi cursorcolumn guibg=grey20 hi Search guifg=cyan nmap ,d :bd<cr> nmap ,4 :set ts=4<cr> nmap tt "Ayy nmap <space>f :find nmap <space>g :tag nmap <space>i [I """ " ...
5Gsort-> 从光标下开始执行sort,一共执行5行,就是说我只要sort5行而已 (this will sort the text from cursor line down to 5 lines) !Gsort -k3-> 可以直接代sort的参数,我要sort文字中的第三段 (sort to the end of file by column 3) !!-> 值过滤当前的这行 (filter the current line) 如果...
set foldmethod=syntax"语法高亮项目指定折叠 set foldcolumn=0"设置折叠区域的宽度,显示折叠列 set cursorline"突出显示当前行 "set cursorcolumn"突出显示当前列 set ruler"显示状态栏标尺 set rulerformat =%33(%2*%<%=\修改:\%{strftime(\"%H:%M\",getftime(expand(\"%\")))}\ 光标:\%l\行\ %c%...
"set cursorcolumn "突出显示当前列 set autochdir "自动切换当前目录为当前文件所在的目录 set helplang=cn "设置帮助语言 set iskeyword+=_,$,@,%,#,- "带有这些字符的单词不要被换行分割 set backspace=2 "使用回格键 set backspace=indent,eol,start "影响<BS>、<Del>、CTRL-W和CTRL-U在插入模式下...
-1:1} call sort(s:list,s:func) call setqflist(s:list,'r') copen endfunc nnoremap <...
eg: { '|', '|' } --separator_style = "slant" | "thick" | "thin" | {"any", "any"}, separator_style = "thin", --enforce_regular_tabs = false | true, enforce_regular_tabs = false, --always_show_bufferline = true | false, always_show_bufferline = true --[[sort_by = ...
正式指令开始,这里用sort来做例子: !5Gsort -> 从光标下开始执行sort,一共执行5行,就是说我只要sort5行而已 (this will sort the text from cursor line down to 5 lines) !Gsort -k3 -> 可以直接代sort的参数,我要sort文字中的第三段 (sort to the end of file by column 3) ...
let Tlist_Sort_Type="name" " Order by name let Tlist_WinWidth=30 " Set the window 40 cols wide. let Tlist_Close_On_Select=1 " Close the list when a item is selected let Tlist_Use_SingleClick=1 "Go To Target By SingleClick ...
sortByLength Boolean Sort completion items by length. Default: false. triggerWordLen Number Minimum number of characters needed to trigger completion menu. Not applicable to completion triggered by LSP trigger characters (this exemption applies only to Vim version 9.1.650 or higher). Default: 1. ...