vim အကြောင်း

Cing Sian Dal
1 min readApr 5, 2020

--

Movement

  • j = down arrow
  • k = up arrow
  • l = right arrow
  • h = left arrow
  • G = go to end of file
  • gg = go to start of file
  • { = go up in code block
  • } = go down in code block
  • number + cmd = အကြိမ်မြောက် + command
  • w = go to next word
  • W = go to next space
  • b = go to previous word
  • :3 = go to line 3
  • ^ = beginning of line word
  • $ = end of line word
  • 0 = starting point of a line
  • * = find the next same word
  • f[word] = find and go the [word]
  • t; = go to next word

Editing

  • d d = delete a line
  • u = undo
  • ^R = redo
  • i = insert mode
  • esc = escape from insert mode
  • V = visual mode to select text
  • o = add new line below and enter insert mode
  • O = add new line above and enter insert mode
  • dw = delete a word
  • % = go to { }
  • D = delete the rest line
  • c = insert mode and change the line
  • ct [ word] = isnert mode and change the line up to [word]
  • C = delete the rest and enter insert mode
  • dt [word]= delete to [word]
  • x = delete
  • A = go to end of line and insert mode
  • ~ = uppercase lowercase

--

--

Cing Sian Dal
Cing Sian Dal

Written by Cing Sian Dal

Don’t follow me. I wrote junks here. Follow me on Twitter instead.

No responses yet