- ctrl + o : go to the previous (older) location in the jump list.
- ctrl + i : go to the next (newer) location in the jump list.Z
- %(shift + 5) : start/end of current scope
- ^(shift + 6) : home
- $(shift + 4) : end
- number + k : move up number lines
- number + j : move down number lines
- number + G : go to line number
- W or B : jump word
- V : select line
- V + i + { : select inner block
- V + { or } : select block until next blank
- d + a + { or } or B : delete a curly brace block
- g + d : goto definition
- g + f : goto file path
- % : goto current brace, switch brace
- . : repeat last insert command
- shift + j : join lines together
- Ctrl + a : increment number selected
- Ctrl + x : decrement number selected
- s : switch current character and move to begin and modify continue
- S : switch current line and move to begin and modify continue
- V + C : switch selected line and move to begin and modify continue
- R : continuously replace
:%s/foo/bar/g: replace all- ~ : Change case of selection
- {action} => d or c or v or y
- {contain_braces} => a or i
- a : contain braces
- i : not contain braces
- {action} + {contain_braces} + {braces} : find first braces and action
- d or c or s : only braces
- D or C os S : contain name
- {action} + i + w : find current word and action
- {action} + {contain_braces} + b : find current scope and action
- {action} + {contain_braces} + i : find first phase and action
- y + i + ( : copy argument
fn get_md_files(dir: &str) -> Vec<String> {fn get_md_files(dir: &str* <-- at this position
- y + i + ) : copy argument
fn get_md_files(dir: &str) -> Vec<String> {at this point->*dir: &str) -> Vec<String> {
-
f + {char} : find first forward match character
- ex: f + '{' or '}' or '(' or ')'
-
F + {char} : find first backward match character
-
-
- n or N : find word forward/backward
-
- :hsplit or :sp : split the window horizontally.
- :vsplit or :vs : split the window vertically.
- Ctrl + w :starts Window mode that let's you move or create splits.
- h or j or k or l
- w : switch
- K : show man page about current word
- v + a + D
- :! {shell_command} : run shell command
- ex)
- :! date
- :! ls
- :! cargo build
- ex)
- :te : run terminal