Update personal help file
Also added keybind (`<leader>h`) to open it automatically
This commit is contained in:
@@ -4,8 +4,16 @@ A cheat sheet for my vim customizations
|
||||
|
||||
---
|
||||
|
||||
## Macros
|
||||
|
||||
`q`<register><commands>`q` - record macro
|
||||
`@`<register> - replay macro
|
||||
|
||||
## Spelling
|
||||
|
||||
* `]s` - move to next misspelled word
|
||||
* `[s` - move to previous misspelled word
|
||||
* `z=` - suggest correction
|
||||
* `<ctrl>-p` - auto-complete spelling suggestions
|
||||
* `<F10>` - toggle spellcheck
|
||||
|
||||
|
||||
4
.vimrc
4
.vimrc
@@ -34,6 +34,10 @@ filetype plugin on
|
||||
" Native Markdown syntax highlighting for specified languages
|
||||
let g:markdown_fenced_languages = ['html', 'python', 'sh', 'vim']
|
||||
|
||||
|
||||
" Open my personal helpfile
|
||||
nmap <leader>h :e $HOME/.vim/vim-keys-help.md<CR>
|
||||
|
||||
" ---------------------------------------------------------------------------------------------------------------------
|
||||
" ==> From Vim Zero: https://www.oliversherouse.com/2017/08/21/vim_zero.html
|
||||
|
||||
|
||||
Reference in New Issue
Block a user