Skip to content

Visual studio code VIM emulation settings that allows for moving lines with alt-j, alt-k and easy multi edit (vs code style).

Notifications You must be signed in to change notification settings

danba340/vscode-vim-settings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 

Repository files navigation

vscode-vim-settings

Apart from below settings i also change in VS Code keyboard mappings:

From To
Alt + UP Alt + k
Alt + Down Alt + j
{    
    "vim.useCtrlKeys": true,
    "vim.useSystemClipboard": true,
    // Insert mode
    "vim.insertModeKeyBindings": [
      // In insert mode jj to escape
      {
        "before": ["j", "j"],
        "after": ["<Esc>"]
      }
    ],
    // Visual mode
    "vim.visualModeKeyBindings": [
      // In visual mode i goes to insert mode
      {
        "before": ["i"],
        "after": ["<Esc>", "i"]
      }
    ],
    // Escaping from vim for below commands
    "vim.handleKeys": {
      // Select all
      "<C-a>": false,
      // VS Code search in file
      "<C-f>": false,
      // VS Code new marker @ next occurence
      "<C-d>": false,
      // Copy
      "<C-c>": false,
      // Cut
      "<C-x>": false,
      // Paste
      "<C-v>": false,
    },
}

About

Visual studio code VIM emulation settings that allows for moving lines with alt-j, alt-k and easy multi edit (vs code style).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published