Procházet zdrojové kódy

Add a better way to edit files with sudo

Command sudoedit
DricomDragon před 5 roky
rodič
revize
c58ad5898f
1 změnil soubory, kde provedl 8 přidání a 0 odebrání
  1. 8 0
      Guides/vim.md

+ 8 - 0
Guides/vim.md

@@ -18,10 +18,18 @@ to go to _x_
 
 ### Write with SUDO
 
+#### On the fly fix
+
 when you forgot to sudo with Vim ...
 
 `:w !sudo tee %`
 
+Beware, that is not recommanded to run a editor as Vim.
+
+#### The right way
+
+Use `sudoedit`
+
 ## Regex
 
 ### End of line