aboutsummaryrefslogtreecommitdiff
path: root/inc/basics.vim
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2019-02-12 00:15:15 -0500
committerMitch Riedstra <mitch@riedstra.us>2019-02-12 00:15:15 -0500
commitc34056b3a766e5f0c7a0664d3e1215e9e8024445 (patch)
tree0f936f19c0d024db2f219cc080c90fcb4a53ab6b /inc/basics.vim
parent60dd105e610bab7cf0bc709114539436722a3add (diff)
downloadvim-cfg-c34056b3a766e5f0c7a0664d3e1215e9e8024445.tar.gz
vim-cfg-c34056b3a766e5f0c7a0664d3e1215e9e8024445.tar.xz
Enable a drop down menu for the integrated spell checker with \s
Diffstat (limited to 'inc/basics.vim')
-rw-r--r--inc/basics.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/inc/basics.vim b/inc/basics.vim
index 2110578..1ac112a 100644
--- a/inc/basics.vim
+++ b/inc/basics.vim
@@ -34,6 +34,14 @@ nmap <leader>n :set invnu<CR>
" Use \-l in normal mode to toggle listchars
nmap <leader>l :set list!<CR>
+" Use \-s to pop open a spelling menu. use ]s to search forwards and [s to go
+" backwards.
+" Apparently this also doesn't work if spell checking isn't enabled
+" at the time you enable it.
+set spell
+nnoremap \s ea<C-X><C-S>
+set nospell
+
" set hidden " This will allow you to change buffers w/o saving
" Omni completion, c-x c-o in insert/append mode