Skip to main content
  1. Posts/

Vim Cheatsheet

·88 words·1 min

This page is frequently updated :).

  • Didn’t know Vim offered spellcheck, handy when editing your md files on the ssh console; enter the following in Vim command mode:
  :set spell spelllang=en_ca
  • Paste from clipboard:
SHIFT + Right Click
  • Edit all files iside the directory
vim \* (open all files inside the directory)  
  :ls (shows all opens files in vim)  
  :w (write the file that is open)  
  :ls (show all files. The files that is open is marked)  
  :b filename (open the second file)  
  repeat until you're done.

🌲

Sanjay Regmi
Author
Sanjay Regmi