]> git.quilime.com - cfg.git/commitdiff
Update Vim-Cheatsheet.md
authorquilime <gdunne@quilime.com>
Sat, 2 Jan 2021 20:50:22 +0000 (12:50 -0800)
committerGitHub <noreply@github.com>
Sat, 2 Jan 2021 20:50:22 +0000 (12:50 -0800)
Vim-Cheatsheet.md

index 1a4e4472f843ce90a08d1c6e7c557d178301050b..8160870ebcd37e0f570736d8c20189b24eb60de6 100644 (file)
@@ -11,64 +11,64 @@ own. If you create your own cheatsheat, use Vim to create it.
 
 ## Config
 
-    - For Vim: `~/.vimrc.`
+  - For Vim: `~/.vimrc.`
 
 Disable cursor keys. (They will still work in Insert mode)
 
 ```
-    " remove cursor keys
-    noremap <Up> <Nop>
-    noremap <Down> <Nop>
-    noremap <Left> <Nop>
-    noremap <Right> <Nop>
+" remove cursor keys
+noremap <Up> <Nop>
+noremap <Down> <Nop>
+noremap <Left> <Nop>
+noremap <Right> <Nop>
 ```
 
 
 ## Insert Mode
 
-    - `i` - `i`nsert content before selected char
-    - `a` - Insert content `a`fter select char
-    - `A` - Insert content `A`fter last char on line
-    - `o` - `o`pen new line below current
-    - `O` - `O`pen new line above current
-    - `esc`, `ctrl-c` - Exit Insert mode
+  - `i` - `i`nsert content before selected char
+  - `a` - Insert content `a`fter select char
+  - `A` - Insert content `A`fter last char on line
+  - `o` - `o`pen new line below current
+  - `O` - `O`pen new line above current
+  - `esc`, `ctrl-c` - Exit Insert mode
 
 
 ## Visual Mode
 
-    - `v` - Enter `v`isual mode
-    - `d` - `d`elete. Like "ctrl-x - cut", puts text in clipboard
-    - `y` - `y`ank. Like "ctrl-c - copy", puts text in clipbaord
-    - `c` - `c`hange. Deletes (cuts) and enter Insert mode immediately
+  - `v` - Enter `v`isual mode
+  - `d` - `d`elete. Like "ctrl-x - cut", puts text in clipboard
+  - `y` - `y`ank. Like "ctrl-c - copy", puts text in clipbaord
+  - `c` - `c`hange. Deletes (cuts) and enter Insert mode immediately
 
 ## Normal Mode Commands
 
-    - `dd` - `dd`elete line (places line in clipboard)
+  - `dd` - `dd`elete line (places line in clipboard)
 
 ### Files
 
-    - `:e` or `:edit` - Edit (open) new file in current buffer
-    - `:Vex` - Open `V`ertical file `ex`plorer
-    - `:Hex` - Open `H`orizontal file `ex`plorer
+  - `:e` or `:edit` - Edit (open) new file in current buffer
+  - `:Vex` - Open `V`ertical file `ex`plorer
+  - `:Hex` - Open `H`orizontal file `ex`plorer
 
 ### Tabs
 
-    - `:tabnew` or `:tabe` - Open a new tab.
-    - `:tabclose` or `:tabc` - Close the current tab.
-    - `:tabonly` or `:tabo` - Close every other tab except the current one.
-    - `gt` - `g`o `t`o next tab
-    - `gT` - `g`o `T`o previous tab
+  - `:tabnew` or `:tabe` - Open a new tab.
+  - `:tabclose` or `:tabc` - Close the current tab.
+  - `:tabonly` or `:tabo` - Close every other tab except the current one.
+  - `gt` - `g`o `t`o next tab
+  - `gT` - `g`o `T`o previous tab
 
 
 ## References
 
 Vim cheatsheet references
 
-    - [Vim for Beginners](https://thevaluable.dev/vim-for-beginners/)
-    - [Vim for Intermediate Users](https://thevaluable.dev/vim-intermediate/)
+  - [Vim for Beginners](https://thevaluable.dev/vim-for-beginners/)
+  - [Vim for Intermediate Users](https://thevaluable.dev/vim-intermediate/)
 
 ## Vim & Neovim
 
-    - [Neovim](https://neovim.io/)
-    - For Neovim: ~/.config/nvim/init.vim or ~/nvim/init.vim (depending on
+  - [Neovim](https://neovim.io/)
+  - Neovim Config: ~/.config/nvim/init.vim or ~/nvim/init.vim (depending on
 the value of the environment variable $XDG_CONFIG_HOME).