diff --git a/home/home.nix b/home/home.nix index d813ea6..ecf68c1 100644 --- a/home/home.nix +++ b/home/home.nix @@ -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; diff --git a/home/vimrc b/home/vimrc index b1cbc40..81d757b 100644 --- a/home/vimrc +++ b/home/vimrc @@ -61,10 +61,11 @@ inoremap jj " (q)uit, (w)ith path edit, (e)dit, (r)eload noremap ,q :wqa -noremap ,w :tabedit -noremap ,e :tabnew:Files +noremap ,w :edit +noremap ,e :Files noremap ,r :so ~/.vimrc " (h)elp +noremap ,f :CocCommand explorer --toggle noremap ,h :help noremap :bn