vim: Add fzf, vim-go and coc-explorer

master
Chan Wen Xu 2021-12-21 21:06:08 +07:00
parent 74f22f00bf
commit 9486d5a52e
Signed by: chanbakjsd
GPG Key ID: 7E9A74B1B07A7558
2 changed files with 6 additions and 2 deletions

@ -40,11 +40,14 @@
vimAlias = true;
withNodeJs = true;
plugins = with pkgs.vimPlugins; [
coc-explorer
coc-nvim
coc-clangd
coc-go
coc-spell-checker # NOTE: Broken in nixpkgs. Overridden in config/common.nix and pkg/default.nix.
fzf-vim
vim-airline
vim-go
onedark-vim
];
extraConfig = builtins.readFile ./vimrc;

@ -61,10 +61,11 @@ inoremap jj <Esc>
" (q)uit, (w)ith path edit, (e)dit, (r)eload
noremap ,q :wqa<CR>
noremap ,w :tabedit<SPACE>
noremap ,e :tabnew<CR>:Files<CR>
noremap ,w :edit<SPACE>
noremap ,e :Files<CR>
noremap ,r :so ~/.vimrc<CR>
" (h)elp
noremap ,f :CocCommand explorer --toggle<CR>
noremap ,h :help<SPACE>
noremap <C-j> :bn<CR>