Why does < C> (CTRL+A) not work under gvim on windows?

后端 未结 5 2119
情歌与酒
情歌与酒 2020-12-24 13:30

I\'m trying to use the < C-a> (CTRL+A) shorcut under vim to increment a variable under the cursor. This works fine under vim running on Linux. Howev

5条回答
  •  攒了一身酷
    2020-12-24 13:53

    in the current version of mswin.vim provided with gvim, the file checks for the value of a global named skip_loading_mswin; If set, the rest of the file is skipped; thus it is sufficient to add

    let skip_loading_mswin=1
    

    to $HOME/_vimrc and normal vim bindings will be restored the next time you start vim.

提交回复
热议问题