aboutsummaryrefslogtreecommitdiffstats
path: root/users/sils/nixvim/maps/default.nix
blob: 6f4aac3072edfab9253f8f7c914430c2c505ffbe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  terminal = {
    # Move into different windows
    "<A-h>" = ''<C-\><C-N><C-w>h'';
    "<A-j>" = ''<C-\><C-N><C-w>j'';
    "<A-k>" = ''<C-\><C-N><C-w>k'';
    "<A-l>" = ''<C-\><C-N><C-w>l'';
  };
  normal = {
    # Move into different windows
    "<A-h>" = ''<C-\><C-N><C-w>h'';
    "<A-j>" = ''<C-\><C-N><C-w>j'';
    "<A-k>" = ''<C-\><C-N><C-w>k'';
    "<A-l>" = ''<C-\><C-N><C-w>l'';

    #Neotree
    "<A-t>" = ":Neotree float reveal_force_cwd<cr>";
    "<A-b>" = ":Neotree current show buffers<cr>";
    "<A-s>" = ":Neotree float git_status<cr>";
  };
  insert = {
    # Move into different windows
    "<A-h>" = ''<Esc><C-w>h'';
    "<A-j>" = ''<Esc><C-w>j'';
    "<A-k>" = ''<Esc><C-w>k'';
    "<A-l>" = ''<Esc><C-w>l'';
  };
}