To: vim-dev@vim.org Subject: Patch 6.1a.037 Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1a.037 Problem: The MS-Windows key mapping doesn't include CTRL-S for saving. (Vlad Sandrini) Solution: Map CTRL-S to ":update". Files: runtime/mswin.vim *** ../vim61a.036/runtime/mswin.vim Tue Oct 30 14:41:41 2001 --- runtime/mswin.vim Tue Mar 5 21:40:30 2002 *************** *** 1,7 **** " Set options and add mapping such that Vim behaves a lot like MS-Windows " " Maintainer: Bram Moolenaar ! " Last change: 2001 Oct 30 " set the 'cpoptions' to its Vim default if 1 " only do this when compiled with expression evaluation --- 1,7 ---- " Set options and add mapping such that Vim behaves a lot like MS-Windows " " Maintainer: Bram Moolenaar ! " Last change: 2002 Mar 05 " set the 'cpoptions' to its Vim default if 1 " only do this when compiled with expression evaluation *************** *** 56,61 **** --- 56,66 ---- " Use CTRL-Q to do what CTRL-V used to do noremap + + " Use CTRL-S for saving, also in Insert mode + noremap :update + vnoremap :update + inoremap :update " For CTRL-V to work autoselect must be off. " On Unix we have two selections, autoselect can be used. *** ../vim61a.036/src/version.c Thu Mar 7 20:17:16 2002 --- src/version.c Fri Mar 8 20:52:46 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 37, /**/ -- panic("Foooooooood fight!"); -- In the kernel source aha1542.c, after detecting a bad segment list /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///