diff --git a/programs/nvim.nix b/programs/nvim.nix index ef38223..cac73db 100644 --- a/programs/nvim.nix +++ b/programs/nvim.nix @@ -8,9 +8,6 @@ EDITOR = "nvim"; }; - # TODO: keybinds - # TODO: looks - # TODO: options # TODO: completion programs.neovim = let leader = ","; @@ -49,7 +46,10 @@ { plugin = lspsaga-nvim; - config = "lua require 'lspsaga'.init_lsp_saga()"; + # TODO: lspsaga keybinds + config = '' + lua require 'lspsaga'.init_lsp_saga() + ''; } { @@ -128,6 +128,18 @@ extraConfig = '' let mapleader = "${leader}" let g:mapleader = "${leader}" + + inoremap kj + + vnoremap < >gv + + nnoremap h + nnoremap j + nnoremap k + nnoremap l + + nnoremap s :w ''; }; };