aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-10-16 22:40:02 +0800
committerjdhao <jdhao@hotmail.com>2021-10-16 22:40:02 +0800
commit34111c669a3079545181817c322f529f37a526f0 (patch)
tree9d32493db303043837e6aa3672c0fe29fe8c71c4 /core
parent481a4e5c0e8e77a4685bcd8dbf677fc66da5f115 (diff)
fix error caused by removal of vim-auto-save
Diffstat (limited to 'core')
-rw-r--r--core/mappings.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/mappings.vim b/core/mappings.vim
index 7482544..55b8e57 100644
--- a/core/mappings.vim
+++ b/core/mappings.vim
@@ -125,8 +125,8 @@ tnoremap <ESC> <C-\><C-n>
" Toggle spell checking (autosave does not play well with z=, so we disable it
" when we are doing spell checking)
-nnoremap <silent> <F11> :<C-U>set spell! <bar> :AutoSaveToggle<cr>
-inoremap <silent> <F11> <C-O>:<C-U>set spell! <bar> :AutoSaveToggle<cr>
+nnoremap <silent> <F11> :<C-U>set spell!<cr>
+inoremap <silent> <F11> <C-O>:<C-U>set spell!<cr>
" Decrease indent level in insert mode with shift+tab
inoremap <S-Tab> <ESC><<i