Update personal help file

Also added keybind (`<leader>h`) to open it automatically
This commit is contained in:
2024-02-14 10:01:50 -05:00
parent 25a08e9aa5
commit b6028f8adb
2 changed files with 36 additions and 24 deletions

View File

@@ -4,8 +4,16 @@ A cheat sheet for my vim customizations
--- ---
## Macros
`q`<register><commands>`q` - record macro
`@`<register> - replay macro
## Spelling ## Spelling
* `]s` - move to next misspelled word
* `[s` - move to previous misspelled word
* `z=` - suggest correction
* `<ctrl>-p` - auto-complete spelling suggestions * `<ctrl>-p` - auto-complete spelling suggestions
* `<F10>` - toggle spellcheck * `<F10>` - toggle spellcheck

4
.vimrc
View File

@@ -34,6 +34,10 @@ filetype plugin on
" Native Markdown syntax highlighting for specified languages " Native Markdown syntax highlighting for specified languages
let g:markdown_fenced_languages = ['html', 'python', 'sh', 'vim'] 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 " ==> From Vim Zero: https://www.oliversherouse.com/2017/08/21/vim_zero.html