Grimoire-Command.es

GNU+Linux command memo

Vim startup commands

Passer des commandes dès le lancement de vim.

vim +356 +s/toto/titi +wq $file.txt (1)
1 vim starts, loads the file, go to the 356th line, change the 'toto' occurence into 'titi', saves and quits.