[FAQ] vscode 装了 vim 之后,ctrl+p 不起作用?

 

# 进入设置(左下角setting) --> vim.handleKeys --> 在 settings.json中编辑,
把需要禁用Vim的热键以json格式写入vim.handleKeys中即可,如:

    "vim.handleKeys": {
        "<C-a>": false,
        "<C-b>": false,
        "<C-c>": false,
        "<C-x>": false,
        "<C-f>": false,
        "<C-h>": false,
        "<C-k>": false,
        "<C-n>": false,
        "<C-p>": false,
        "<C-s>": false,
        "<C-t>": false,
        "<C-v>": false,
        "<C-y>": false,
        "<C-z>": false
    }

 

ref: https://www.cnblogs.com/librarookie/p/15151863.html

Link: https://www.cnblogs.com/farwish/p/18242876

posted on 2024-06-11 22:14  ercom  阅读(35)  评论(0编辑  收藏  举报