diff --git a/content/docs/General/Vim Commands/_index.md b/content/docs/General/Vim Commands/_index.md index c94f2903b..9eee57da3 100644 --- a/content/docs/General/Vim Commands/_index.md +++ b/content/docs/General/Vim Commands/_index.md @@ -136,21 +136,21 @@ vnoremap :m-2gv=gv In this section we present a list of all custom vim commands that are supported to perform different operation in CP Editor. -| Command | Shorthand | Description | Usage | -| :----------: | :-------: | :-----------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------: | -| `new` | `new` | Opens a new tab, if no langauge is specified, a tab in default editor langauge will open | `new cpp` or `new` | -| `next` | `nxt` | Switch to next tab in the editor. Returns to first tab if there is no next tab. | `next` or `nxt` | -| `previous` | `prv` | Switch to last tab in the editor. Returns to last tab if there is no previous tab. | `previous` or `prv` | -| `open` | `opn` | Opens a new file, Only C++/Java/Python files will be opened. Without arguments it is same as open in Action menu. | `open` or `opn ~/cf/a.cpp` | -| `compile` | `cmp` | Compiles the code, It is like clicking "Compile" button in a tab. | `compile` or `cmp` | -| `crun` | `crn` | Compiles and run, It is like clicking "Compile and Run" button in a tab. | `crun` or `crn` | -| `run` | `run` | Run, if no argument is provided all testcases are ran, otherwise nth testcase is ran. Counting includes hidden testcases. | `run` or `run 2` | -| `drun` | `drn` | Detached run, It is same as clicking "Detached Run" in menu. | `drun` or `drn` | -| `killall` | `kap` | Kill all process, It is same as clicking "Kill Process" in menu | `killall` or `kap` | -| `format` | `fmt` | Format Code, It is same as clicking "Format Code" in menu | `format` or `fmt` | -| `snippet` | `snp` | Open snippet dialog, It is same as clicking "Use Snippets" in menu | `snippet` or `snp` | -| `vmode` | `vmd` | View mode, Changes the view mode. It can only toggle to "edit" and "split" mode | `vmode edit` or `vmd split` | -| `preference` | `prf` | Preferences, It is same as clicking "Preference" in menu | `preference` or `prf` | -| `chlang` | `chl` | Language, It can be used to change the language of a tab. | `chlang cpp` or `chl java` | -| `clear` | `clr` | Clear Message logger text | `clear` or `clr` | -| `exit` | `ext` | Exit, It is same as pressing "Quit" in menu. | `exit` or `ext` | +| Command | Shorthand | Description | Usage | +| :----------: | :-------: | :-----------------------------------------------------------------------------------------------------------------------: | :-------------------------: | +| `new` | `new` | Opens a new tab, if no langauge is specified, a tab in default editor langauge will open | `new cpp` or `new` | +| `next` | `nxt` | Switch to next tab in the editor. Returns to first tab if there is no next tab. | `next` or `nxt` | +| `previous` | `prv` | Switch to last tab in the editor. Returns to last tab if there is no previous tab. | `previous` or `prv` | +| `open` | `opn` | Opens a new file, Only C++/Java/Python files will be opened. Without arguments it is same as open in Action menu. | `open` or `opn ~/cf/a.cpp` | +| `compile` | `cmp` | Compiles the code, It is like clicking "Compile" button in a tab. | `compile` or `cmp` | +| `crun` | `crn` | Compiles and run, It is like clicking "Compile and Run" button in a tab. | `crun` or `crn` | +| `run` | `run` | Run, if no argument is provided all testcases are ran, otherwise nth testcase is ran. Counting includes hidden testcases. | `run` or `run 2` | +| `drun` | `drn` | Detached run, It is same as clicking "Detached Run" in menu. | `drun` or `drn` | +| `killall` | `kap` | Kill all process, It is same as clicking "Kill Process" in menu | `killall` or `kap` | +| `format` | `fmt` | Format Code, It is same as clicking "Format Code" in menu | `format` or `fmt` | +| `snippet` | `snp` | Open snippet dialog, It is same as clicking "Use Snippets" in menu | `snippet` or `snp` | +| `vmode` | `vmd` | View mode, Changes the view mode. It can only toggle to "edit" and "split" mode | `vmode edit` or `vmd split` | +| `preference` | `prf` | Preferences, It is same as clicking "Preference" in menu | `preference` or `prf` | +| `chlang` | `chl` | Language, It can be used to change the language of a tab. | `chlang cpp` or `chl java` | +| `clear` | `clr` | Clear Message logger text | `clear` or `clr` | +| `exit` | `ext` | Exit, It is same as pressing "Quit" in menu. | `exit` or `ext` |