Auto close and disable conceal
Added keybinding to approximate auto close of brackets and parentheses. Disabled `conceal` so I can see full inks and code fences
This commit is contained in:
11
.vimrc
11
.vimrc
@@ -281,12 +281,16 @@ inoremap {;<CR> {<CR>};<ESC>O
|
||||
" ---------------------------------------------------------------------------------------------------------------------
|
||||
" ==> Spellcheck
|
||||
|
||||
" Toggle spell check highlights with <F10>
|
||||
nnoremap <F10> :setlocal spell! spelllang=en_us<CR>
|
||||
|
||||
" auto-complete spelling suggestions with <ctrl-p>
|
||||
set complete+=kspell
|
||||
|
||||
autocmd FileType markdown setlocal complete+=kspell
|
||||
autocmd FileType text setlocal complete+=kspell
|
||||
autocmd FileType gitcommit setlocal complete+=kspell
|
||||
|
||||
" Toggle spell check highlights with <F10>
|
||||
nnoremap <F10> :setlocal spell! spelllang=en_us<CR>
|
||||
|
||||
" ==> Spellcheck: only certain file types
|
||||
" https://robots.thoughtbot.com/vim-spell-checking
|
||||
|
||||
@@ -303,6 +307,7 @@ autocmd BufRead,BufNewFile *.md setlocal spell
|
||||
autocmd BufRead,BufNewFile *.txt setlocal spell
|
||||
|
||||
" ==> Spellcheck Colors
|
||||
"
|
||||
" I hate spellcheck's default colors
|
||||
" (http://stackoverflow.com/questions/6008921/how-do-i-change-the-highlight-style-in-vim-spellcheck)
|
||||
" Vim Colors: (http://alvinalexander.com/linux/vi-vim-editor-color-scheme-syntax)
|
||||
|
||||
Reference in New Issue
Block a user