Another Japan in the World

Jun Aruga's blog.

Vim tips


  • :h
  • :h command such :h gU
  • :h text_file_name.

Insert long line

  • 80 x "=" string : 80 i = Esc

Insert one indent for one range


Convert a word to upper case, lower case.

  • Convert the word to upper case: gUaw
  • Convert the word to lower case: guaw
  • Convert current line to upper case: gUgU
  • Convert current line to lower case: gugu


  • ^: to first non-blank character.
  • 0: to first character.
  • Input tab: Ctrl-v tab
  • *: Search the word on the cursor
  • Delete entire paragraph: dap