Update
This commit is contained in:
parent
61bb2ebca8
commit
1cc86672ff
34 changed files with 2195 additions and 1979 deletions
2
vim.md
2
vim.md
|
@ -33,7 +33,7 @@ Some important commands in command mode are:
|
|||
- **`q`**: Quit, or close the current extra window/tab. Use **`qa`** for closing all windows/tabs and quit. **`q!`** (or **`qa!`**) quits without saving changes, **`wq`** quits with saving changes, **`wqa`** quits all saving all changes etc.
|
||||
- **`w`**: Save changes (can be followed by filename).
|
||||
- **`noh`**: Cancel highlighted text (e.g. after search).
|
||||
- **`!`**: Run command in terminal, you can e.g. compile your program this way. For running Vim commands before the terminal commands use **`vimcommands |! terminalcommands`**, e.g. `:wa |! make && ./program`.
|
||||
- **`!`**: Run command in terminal, you can e.g. compile your program this way and so **use vim as an [IDE](ide.md)**. For running Vim commands before the terminal commands use **`vimcommands |! terminalcommands`**, e.g. `:wa |! make && ./program`.
|
||||
- **`tabedit filename`**: Opens given file in a new tab (tabs are closed with `:q`).
|
||||
- **`tabmove number`**: Move current tab to given position (`+` and `-` can be used for relative movement of tabs).
|
||||
- **`vsplit`**: Creates a new window by splitting the current one vertically.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue