···119119set timeoutlen=500 " By default timeoutlen is 1000 ms
120120121121122122+"set foldmethod=line
123123+124124+122125"general
123126let mapleader = "\<Space>"
124127inoremap jk <ESC>
···267270268271" Alternate way to save
269272nnoremap <C-s> :w<CR>
273273+" Select all
274274+nmap <C-a> gg<S-v>G
270275" Alternate way to quit
271276" nnoremap <C-Q> :wq!<CR>
272277" Use control-c instead of escape
···332337noremap Zz <c-w>_ \| <c-w>\|
333338noremap Zo <c-w>=
334339335335-"nmap sv :vsplit<Return><C-w>w" Move window
336336-nmap st :tabnew<Return>
340340+"Move window
337341map sh <C-w>h
338342map sk <C-w>k
339343map sj <C-w>j
340344map sl <C-w>l" Switch tab
341341-nmap <S-Tab> :tabprev<Return>
342342-" if you map <Tab> also ctrl+l will change!
345345+" Resize window
346346+nmap <C-w><left> <C-w>5<
347347+nmap <C-w><right> <C-w>5>
348348+nmap <C-w><up> <C-w>5+
349349+nmap <C-w><down> <C-w>5-
350350+351351+" Open current directory
352352+nmap te :tabedit
353353+" Attention, sometimes when you map <Tab> also ctrl+l will change!
354354+nmap st :tabnew<Return>
355355+nmap <S-Tab> :tabprev<Return>
356356+nmap <Tab> :tabnext<Return>
357357+343358"nnoremap <Tab> :tabnext<Return>
344359345360" Find files using Telescope command-line sugar. --> replaced by fzf as faster and more options such as search :Lines :Buffer and .gitignore integration
+12-1
tmux/tmux.conf
···4141bind -r h select-pane -L
4242bind -r l select-pane -R
43434444+# Resizing pane
4545+bind -r C-k resize-pane -U 5
4646+bind -r C-j resize-pane -D 5
4747+bind -r C-h resize-pane -L 5
4848+bind -r C-l resize-pane -R 5
4949+4450# Resize the current pane using Alt + direction
4551#bind -r M-k resize-pane -U 5
4652#bind -r M-j resize-pane -D 5
···5157set -g mouse on
52585359# Maps <Ctrl>-h to select pane on the left. Vim-like navigation - conflicts a lot with other cmd
5454-#bind -n C-k select-pane -U
6060+#bind aj send-keys -r j
6161+#bind ak send-keys -r k
6262+#bind ah send-keys -r h
6363+#bind al send-keys -r l
6464+5565#bind -n C-j select-pane -D
6666+#bind -n C-k select-pane -U
5667#bind -n C-h select-pane -L
5768#bind -n C-l select-pane -R
5869