On 30/12/08 13:41, momodi wrote: > When I add "mswin.vim" at vimrc, there will be "ctrl+s" to save a > file. > > But When I using vim not gvim, it doesn't work.(using vim in gnome- > terminal) > > My OS is ubuntu 8.10. > > Could you help me? thanks.
Some terminals use Ctrl-Q and Ctrl-S for flow control. These keys are not available to programs running in the terminal then. Anyway, mswin.vim runs against the grain of Vim commands in general, obscuring several useful ones behind mappings which duplicate already existing capabilities. Many old Vim hands believe you would be better off not using it. To save the current file, use ":w"; to save it under a new name and edit the new file, use ":saveas filename.ext"; to save it under a new name and go on editing under the _old_ name, use ":w filename.ext". Best regards, Tony. -- You can create your own opportunities this week. Blackmail a senior executive. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
