diff --git a/Session.vim b/Session.vim index 745c2bc..14734ed 100644 --- a/Session.vim +++ b/Session.vim @@ -16,9 +16,9 @@ badd +1 home/desktop/niri.nix argglobal %argdel $argadd home/programs/nvim.nix -edit home/programs/nvim.nix +edit home/programs/tmux.nix argglobal -balt home/programs/tmux.nix +balt home/programs/nvim.nix setlocal foldmethod=indent setlocal foldexpr=0 setlocal foldmarker={{{,}}} @@ -27,14 +27,6 @@ setlocal foldlevel=99 setlocal foldminlines=1 setlocal foldnestmax=20 setlocal foldenable -7 -sil! normal! zo -8 -sil! normal! zo -14 -sil! normal! zo -112 -sil! normal! zo let s:l = 1 - ((0 * winheight(0) + 18) / 37) if s:l < 1 | let s:l = 1 | endif keepjumps exe s:l diff --git a/home/programs/tmux.nix b/home/programs/tmux.nix index 553b568..015cfdb 100644 --- a/home/programs/tmux.nix +++ b/home/programs/tmux.nix @@ -12,6 +12,7 @@ unbind [ unbind s unbind c + unbind z unbind 0 unbind 1 @@ -45,6 +46,8 @@ bind -n M-K resize-pane -U 2 bind -n M-L resize-pane -R 2 + bind -n M-z resize-pane -Z + bind -n M-c new-window bind -n 'M-\' split-window -h -c "#{pane_current_path}"