Select and copy (works on vimium)
/
to find text
v
to enter visual mode
y
to yank/copy
v
to enter visual mode
y
to yank/copy
p
to paste in the next line
Repeat last change in NORMAL
mode
Ctrl+W +/-: increase/decrease height (ex. 20<C-w>+)
Ctrl+W >/<: increase/decrease width (ex. 30<C-w><)
Ctrl+W _: set height (ex. 50<C-w>_)
Ctrl+W |: set width (ex. 50<C-w>|)
Ctrl+W =: equalize width and height of all windows
Ctrl+b c
Create a new window (with shell)
Ctrl+b w
Choose window from a list
Ctrl+b 0
Switch to window 0 (by number )
Ctrl+b ,
Rename the current window
Ctrl+b %
Split current pane horizontally into two panes
Ctrl+b "
Split current pane vertically into two panes
Ctrl+b o
Go to the next pane
Ctrl+b ;
Toggle between current and previous pane
Ctrl+b x
Close the current pane
44 " Move across panes
45 nnoremap <C-h> <C-w>h
46 nnoremap <C-j> <C-w>j
47 nnoremap <C-k> <C-w>k
48 nnoremap <C-l> <C-w>l
49 " Move across buffers
50 nnoremap < :bp<CR>
51 nnoremap > :bn<CR>
52 " Undo/redo
53 nnoremap <C-Z> u
54 nnoremap <C-Y> <C-R>
55 " Toggle search highlight
56 nnoremap <F3> :set hlsearch!<CR>
57 " Move lines up/down
58 nnoremap <S-Up> :m-2<CR>
59 nnoremap <S-Down> :m+<CR>
60 inoremap <S-Up> <Esc>:m-2<CR>
61 inoremap <S-Down> <Esc>:m+<CR>
62 " Split panes
63 map <Leader>\| :vsp<CR>
64 map <Leader>- :sp<CR>
65 " Toggle Nerdtree
66 map <C-n> :NERDTreeToggle<CR>
67 " Ctrl-Backspace deletes word in INSERT mode
68 noremap! <C-BS> <C-w>
69 " hack?
70 noremap! <C-h> <C-w>