Permalink
Browse files

added cmd-s saving in insert mode for macvim

  • Loading branch information...
1 parent a1e5474 commit 4cb5e5da7974651592c8ba8a6f2c4684da428b13 @kevindente committed Jan 27, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 _vimrc
View
@@ -70,3 +70,7 @@ else
set backupdir=/tmp
set directory=/tmp
end
+
+if has("gui_macvim")
+ inoremap <D-s> <ESC>:w<CR>i "support cmd-s save in insertmode
+endif

0 comments on commit 4cb5e5d

Please sign in to comment.