Re: Ctrl-A suddenly doesn't mean select all (gVim Win)
> Happily editing along in gVim 6.4 today and.... suddenly I discoverCtrl-A selects all if you have sourced mswin.vim to have the usual
> that the key sequence ctrl-a, which I've long used for select-all, no
> longer seems to in fact select-all.
Windows short cuts like Ctrl-X, Ctrl-C, Ctrl-V, Ctrl-A ... available.
> In fact, if the cursor is located on a number when I press ctrl-a, itThis is the 'normal' behavior of Vim if you don't source mswin.vim.
> now seems to increment that number.
to see, what this script does and what is changed.
> Any idea what I might have accidentally changed to invoke this shiftMaybe you don't have the line
> in behavior, and/or what I can do to get the original behavior back?
in your vimrc anymore. Have you edited vimrc recently?
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
> Maybe you don't have the lineSortof. By which I mean, yes, drastically. :) I didn't actually edit the existing vimrc, I just changed $HOME, which meant it was using entirely different rc files...
> source $VIMRUNTIME/mswin.vim
> in your vimrc anymore. Have you edited vimrc recently?
And sure enough, you were exactly right. Adding a line to source mswin.vim fixes the trouble. Thank you very much!