summaryrefslogtreecommitdiffstats
path: root/runtime/mswin.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-07-21 05:56:22 +0200
committerBram Moolenaar <Bram@vim.org>2018-07-21 05:56:22 +0200
commita9604e61451707b38fdcb088fbfaeea2b922fef6 (patch)
tree0d7a758f4225fb7c02ba22c75b920894e890bdd5 /runtime/mswin.vim
parent872e451e8c326d5dd3062ef621fcbf0a4c5bef78 (diff)
Update runtime files.
Diffstat (limited to 'runtime/mswin.vim')
-rw-r--r--runtime/mswin.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/mswin.vim b/runtime/mswin.vim
index da869a9fc7..5ec21491fe 100644
--- a/runtime/mswin.vim
+++ b/runtime/mswin.vim
@@ -57,10 +57,11 @@ vmap <S-Insert> <C-V>
" Use CTRL-Q to do what CTRL-V used to do
noremap <C-Q> <C-V>
-" Use CTRL-S for saving, also in Insert mode
+" Use CTRL-S for saving, also in Insert mode (<C-O> doesn't work well when
+" using completions).
noremap <C-S> :update<CR>
vnoremap <C-S> <C-C>:update<CR>
-inoremap <C-S> <C-O>:update<CR>
+inoremap <C-S> <Esc>:update<CR>gi
" For CTRL-V to work autoselect must be off.
" On Unix we have two selections, autoselect can be used.