-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimnotes.vim
More file actions
40 lines (30 loc) · 937 Bytes
/
Copy pathvimnotes.vim
File metadata and controls
40 lines (30 loc) · 937 Bytes
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
29
30
31
32
33
34
35
36
37
38
39
" Rejestry:
"
" "ayy yank to register [a]
" "ap paste from register [a]
" insert mode: Ctrl-r a paste from register [a]
" qa record macro to register [a]
" @a exec macro from register [a]
" "*yy copy to Windows clipboard (works on msys)
" :let @+=@% - copy current file path register ["%] to clipboard ["+]
" ": recent executed command - @: repeats last command f.e. :s/foo/bar/
" :let @W='i;' insert ; at the end
netrw tree
v - vertical split file
t - open file in new tab
<CR> - horizontal split
:difft - use current window in diff
:windo difft - do it for all windows
gu - make lowercase
gU - make uppercase
# Motions
#cursor in the window High Middle Low - DONT CHANGE THE SCREEN
H M L
#current line in window Top, Middle, Bottom - DONT CHANGE THE COURSOR POSITION
zt zz zb
ctrl-y ctrl-e - fine tune
ctrl-U H ctrl-B
ctrl-Y M ctrl-E
ctrl-D L ctrl-F
gf - to to file
ctrl-^ switch buffer - go to last