diff --git a/nixos/nixvim/keymaps.nix b/nixos/nixvim/keymaps.nix index 02917ae..48b9818 100644 --- a/nixos/nixvim/keymaps.nix +++ b/nixos/nixvim/keymaps.nix @@ -6,8 +6,16 @@ action = " lua vim.lsp.buf.format() "; } { - key = ""; - action = "ToggleTerm size=10 direction=horizontal"; + key = "j"; + action = " split "; + } + { + key = "l"; + action = " vsplit "; + } + { + key = "t"; + action = "terminal"; } { key = "tf"; @@ -38,6 +46,22 @@ key = ""; action = "h"; } + { + key = ""; + action = ">"; + } + { + key = ""; + action = "+"; + } + { + key = ""; + action = "-"; + } + { + key = ""; + action = "<"; + } ]; }; } diff --git a/nixos/nixvim/nixvim.nix b/nixos/nixvim/nixvim.nix index b3c38eb..29940e3 100644 --- a/nixos/nixvim/nixvim.nix +++ b/nixos/nixvim/nixvim.nix @@ -25,6 +25,8 @@ shiftwidth = 8; expandtab = true; swapfile = false; + splitright = true; + splitbelow = true; }; extraPackages = with pkgs; [ nixfmt diff --git a/nixos/nixvim/plugins/plugins.nix b/nixos/nixvim/plugins/plugins.nix index 392ef6f..23d0ee6 100644 --- a/nixos/nixvim/plugins/plugins.nix +++ b/nixos/nixvim/plugins/plugins.nix @@ -1,7 +1,6 @@ { imports = [ ./barbar.nix - ./toggleterm.nix ./cord.nix ./telescope.nix ./statusline.nix