分类 vim 中的文章

Ctrl P to search files in fzf.vim

configure ctrl + p to search files if in git repo, then call :GFiles, otherwise call :Files function <SID>CtrlP() let l:j1 = system("git -C " . getcwd() . " rev-parse --is-inside-work-tree") let l:j2 = system("git -C " . getcwd() . " rev-parse --is-bare-repository") if l:j1 !~ "true" && l:j2 !~ "true" :Files else :GFiles endif endfunction nnoremap <silent> <C-p> :call <SID>CtrlP()<CR> nnoremap <silent> <leader>fb :Buffers<CR> nnoremap <silent> <leader>fh :History<CR> nnoremap <silent> <leader>fs :Rg<CR> nnoremap <silent> <leader>fS :Rg <c-r><c-w><CR> ……

阅读全文

Neovim Docker

推荐一下自己做的一个docker image, 基于ubuntu,包含 neovim python python 3 nodejs npm golang Plugin 包括 LeaderF coc.nvim other……

阅读全文

Vim Online Video

在网上发现了vim一个系列视频,是Practical Vim的作者录制的,内容很值得学习。 vim video……

阅读全文