# Vim

Vim est mon éditeur favori sur console. Voici une liste de commande utile

  • :da : Delete all between double quotes
  • :sp [file?] : Open a new file by splitting screen horizontally
  • :vsp [file?] : Open a new file by splitting screen vertically
  • :x : Save and exit
  • :E [dir?] : Open the vim explorer from the directory, if not specified, open the explorer in the current directory
  • :e [file] : Open and edit a file
  • :w !sudo tee % : Save a file as root when it is open by non root user
Last Updated: 10/18/2020, 10:19:55 AM