til/vim/executing-vim-commands-from-terminal.md

13 lines
229 B
Markdown

You can execute vim commands in terminal by prefixing your commands with `+` symbol:
```
vim filename +/searchterm
vim +PlugInstall
vim filename +g/foo/d
vim filename "+g/foo/norm dap"
vim filename "+g/test/norm dap" +wq
```