小编fir*_*age的帖子

当我编辑中到大型(例如 1000+ 行)文件时,我的 vim 副本运行非常缓慢。我怎样才能加快速度?

我使用了很多插件——也许其中一个是罪魁祸首。这是我的 .vimrc,如果有人感兴趣:

" Character encoding (if this is not set, all manner of hell breaks loose when
" LC_CYTPE is set to anything unexpected.)
set encoding=utf-8

" Pre-plugin stuff
let g:Powerline_symbols = 'fancy' " Awesome forward-facing arrows for powerline

" let g:ctrlp_cmd = 'CtrlPMixed'
let g:ctrlp_switch_buffer = 2
let g:ctrlp_reuse_window = 'netrw\|help\|quickfix'
let g:ctrlp_clear_cache_on_exit = 1 " retain cache on exit (might mean I have to manually refresh every now and again)
let g:ctrlp_open_new_file = 't' " <c-y> opens file …
Run Code Online (Sandbox Code Playgroud)

vim

5
推荐指数
1
解决办法
3721
查看次数

标签 统计

vim ×1