While CtrlX works fine in vim under windows, CtrlA selects all (duh).
Is there a way to increment a number with a keystro
You can make CtrlA to increment in windows by opening up the 'mswin.vim' file in your vim directory and finding the section that looks like:
" CTRL-A is Select all
noremap gggHG
inoremap gggHG
cnoremap gggHG
onoremap gggHG
snoremap gggHG
xnoremap ggVG
Comment out all of these lines as follows:
" CTRL-A is Select all
"noremap gggHG
"inoremap gggHG
"cnoremap gggHG
"onoremap gggHG
"snoremap gggHG
"xnoremap ggVG
and the CtrlA keystroke will increment.
This is a pretty nice option when your keyboard doesn't have a real number pad.