aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorThomas Buckley-Houston2022-05-11 14:01:29 +0000
committerThomas Buckley-Houston2022-05-11 14:01:29 +0000
commitd758c159ea6a7ab600bfed3a18413348674cc2f9 (patch)
tree3d5d3aa420135ad97cb83a7fa7f1a9877e8b0ad0 /autoload
parent498a7e77539e44d7bee60c5e5379dafbd98a19e8 (diff)
Make CTRL-Q leave from the Vim command line too
Diffstat (limited to 'autoload')
-rw-r--r--autoload/novim_mode.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/novim_mode.vim b/autoload/novim_mode.vim
index 3e003d2..3f271e8 100644
--- a/autoload/novim_mode.vim
+++ b/autoload/novim_mode.vim
@@ -84,6 +84,7 @@ function! g:SetNoVimModeShortcuts()
inoremap <silent> <C-Q> <C-O>:call novim_mode#ExitVim()<CR>
snoremap <silent> <C-Q> <C-O>:call novim_mode#ExitVim()<CR>
nnoremap <silent> <C-Q> :call novim_mode#ExitVim()<CR>
+ cnoremap <silent> <C-Q> <C-C><C-O>:call novim_mode#ExitVim()<CR>
" CTRL+n for new file
inoremap <C-N> <C-O>:edit<Space>