aboutsummaryrefslogtreecommitdiffstats
path: root/users/sils/nixvim/config.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/sils/nixvim/config.nix')
-rw-r--r--users/sils/nixvim/config.nix35
1 files changed, 34 insertions, 1 deletions
diff --git a/users/sils/nixvim/config.nix b/users/sils/nixvim/config.nix
index c6f6061..56e841d 100644
--- a/users/sils/nixvim/config.nix
+++ b/users/sils/nixvim/config.nix
@@ -12,7 +12,40 @@ in {
linebreak = true;
};
colorschemes.gruvbox.enable = true;
- inherit maps;
+ keymaps = [
+ {
+ mode = ["n" "i" "t"];
+ key = "<A-h>";
+ action = ''<C-\><C-N><C-w>h'';
+ }
+ {
+ mode = ["n" "i" "t"];
+ key = "<A-j>";
+ action = ''<C-\><C-N><C-w>j'';
+ }
+ {
+ mode = ["n" "i" "t"];
+ key = "<A-k>";
+ action = ''<C-\><C-N><C-w>k'';
+ }
+ {
+ mode = ["n" "i" "t"];
+ key = "<A-l>";
+ action = ''<C-\><C-N><C-w>l'';
+ }
+ {
+ key = "<A-t>";
+ action = ":Neotree float reveal_force_cwd<cr>";
+ }
+ {
+ key = "<A-b>";
+ action = ":Neotree current show buffers<cr>";
+ }
+ {
+ key = "<A-s>";
+ action = ":Neotree float git_status<cr>";
+ }
+ ];
plugins = {
airline = {
enable = true;