clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

resize windows in tmux/vim

sspaeti 8e632491 9373c431

+31 -5
+19 -4
nvim/init.vim
··· 119 119 set timeoutlen=500 " By default timeoutlen is 1000 ms 120 120 121 121 122 + "set foldmethod=line 123 + 124 + 122 125 "general 123 126 let mapleader = "\<Space>" 124 127 inoremap jk <ESC> ··· 267 270 268 271 " Alternate way to save 269 272 nnoremap <C-s> :w<CR> 273 + " Select all 274 + nmap <C-a> gg<S-v>G 270 275 " Alternate way to quit 271 276 " nnoremap <C-Q> :wq!<CR> 272 277 " Use control-c instead of escape ··· 332 337 noremap Zz <c-w>_ \| <c-w>\| 333 338 noremap Zo <c-w>= 334 339 335 - "nmap sv :vsplit<Return><C-w>w" Move window 336 - nmap st :tabnew<Return> 340 + "Move window 337 341 map sh <C-w>h 338 342 map sk <C-w>k 339 343 map sj <C-w>j 340 344 map sl <C-w>l" Switch tab 341 - nmap <S-Tab> :tabprev<Return> 342 - " if you map <Tab> also ctrl+l will change! 345 + " Resize window 346 + nmap <C-w><left> <C-w>5< 347 + nmap <C-w><right> <C-w>5> 348 + nmap <C-w><up> <C-w>5+ 349 + nmap <C-w><down> <C-w>5- 350 + 351 + " Open current directory 352 + nmap te :tabedit 353 + " Attention, sometimes when you map <Tab> also ctrl+l will change! 354 + nmap st :tabnew<Return> 355 + nmap <S-Tab> :tabprev<Return> 356 + nmap <Tab> :tabnext<Return> 357 + 343 358 "nnoremap <Tab> :tabnext<Return> 344 359 345 360 " 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
··· 41 41 bind -r h select-pane -L 42 42 bind -r l select-pane -R 43 43 44 + # Resizing pane 45 + bind -r C-k resize-pane -U 5 46 + bind -r C-j resize-pane -D 5 47 + bind -r C-h resize-pane -L 5 48 + bind -r C-l resize-pane -R 5 49 + 44 50 # Resize the current pane using Alt + direction 45 51 #bind -r M-k resize-pane -U 5 46 52 #bind -r M-j resize-pane -D 5 ··· 51 57 set -g mouse on 52 58 53 59 # Maps <Ctrl>-h to select pane on the left. Vim-like navigation - conflicts a lot with other cmd 54 - #bind -n C-k select-pane -U 60 + #bind aj send-keys -r j 61 + #bind ak send-keys -r k 62 + #bind ah send-keys -r h 63 + #bind al send-keys -r l 64 + 55 65 #bind -n C-j select-pane -D 66 + #bind -n C-k select-pane -U 56 67 #bind -n C-h select-pane -L 57 68 #bind -n C-l select-pane -R 58 69