-
https://www.youtube.com/watch?v=niuOc02Rvrc&list=PLsz00TDipIfdrJDjpULKY7mQlIFi4HjdR
-
Tmux
-
Catppuchin theme
-
Tmuxifier
Last active
November 9, 2024 13:13
-
-
Save sphingu/9c70d1be91632243e5552168b3113e6c to your computer and use it in GitHub Desktop.
Vim Cheet Sheet
v- visual mode (V- visual line mode,C-V- visual block mode)i- insert mode before cursor (Ifor beggining of the line)a- insert mode after cursor (Afor end of the line)o- insert mode into new line bellow (Ofor new line above)Esc- edit insert mode (orC-{)30i- Esc- insert 30 times dash(-)
h- leftj- bottomk- topl- rightH- TopM- MiddleL- BottomC-d- half page downC-u- half page upC-f- forward pageC-b- backward page(- move down statement ()for up){- move down paragraph (}for up)
w- word (3w)b- word backward (2b)e- word end (5e)
3fq- find & move to 3rd occurrence ofq3Fq- find & move to previous 3rd occurrence ofq
%- match brackets$- end of line0- start of linegg- start of line ([[also does same)G- end of line (]]also does same)
/text- searchtextwordn- next search occurrenceN- previous search occurance*- current word forward#- current word backward
x- delete character under cursorX- delete characters to the left of cursord- delete command (e.g.:d2w,d2e, etc) (diw,dis,dip- delete word, sentence or paragraph respectively)dd- delete linedtu- delete the text until characteru
ma- bookmark position with keya(`a- to go to that bookmark)``- toggle between last two positions`.- move to where last editing happened
.- repeast previous commandu- undoC-r- redoc- change wordciw- change in words- replace character and enter into insert moder- replace character under cursor (without entering insert mode)y- copy (yi{- copy content between given braces (braces can be any)) (ya{- will include braces as well in copy)p- paste
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment