如何修改/更改 VsCode 中的 vimrc 文件? [英] How to modify/change the vimrc file in VsCode?

查看:73
本文介绍了如何修改/更改 VsCode 中的 vimrc 文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Vim 的新手,我已经在 Vscode 中安装了 Vim 扩展.我知道我们可以通过修改vimrc文件来自定义默认的Vim Editor.

I am new to Vim and I have installed the Vim Extension in Vscode. I know that we can customize the default Vim Editor by modifying the vimrc file.

我想更改 VsCode Vim 扩展中的一些键绑定.怎么做/哪里可以找到Vscode Vim的vimrc?

I want to change some keybindings in the VsCode Vim extension. How to do it/Where will I find the vimrc of Vscode Vim?

推荐答案

确保您在 $HOME<中有一个 /.vimrc/_vimrc 文件/code> 目录并按照以下步骤操作:

Make sure you have a /.vimrc or /_vimrc file in $HOME directory and follow the follow the following steps :

  1. 打开 VScode 并转到设置.
  2. 输入vimrc
  3. 启用 使用 .vimrc 文件中的按键映射

  1. 根据需要修改 vimrc 文件.

这篇关于如何修改/更改 VsCode 中的 vimrc 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆