Vim in VS Code

No comments

I know that this is not a new add on or anything like that, but man did I misjudge the power of this Vim add on. For the longest time I thought that all this did was just allow you to was move around with h,j,k,l. Man, was I totally wrong and I apologize to the author of this add on.

When you typically use vim, you have your vimrc/init.vim to have your settings and plugins that you will use to help you in your day to day. In vim I loved being able to do ,, to save my file that I was working on.

{
  "vim.normalModeKeyBindings": [
    {
      "before": ["<leader>", "<leader>"],
      "commands": [ 
        ":w"
      ]
    }
  ]
}

So as you can see, we can add keymaps to when we are in normal mode. There is support for keymaps when in visual mode as well. I could go on about other mappings, but I will just embed my gist that I have of my settings file for VS Code.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.