Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/walkersumida/vscoderc

keybindings of VS Code
https://github.com/walkersumida/vscoderc

editor neovim vim vimrc vscode vscode-extension

Last synced: 7 days ago
JSON representation

keybindings of VS Code

Awesome Lists containing this project

README

        

# VSCode vimrc
## Install on macOS

```
sh ./install_vscode_settings_for_macos.sh
```
## Install on Linux

```
sh ./install_vscode_settings_for_linux.sh
```

* Please make a backup of your current configuration files before installing.

## Key Mappings

The leader is ``, so whenever you see `` it means ``.

### File mappings on Explorer

- (a)dd a file: `m a`
- add a (f)older: `m f`
- (r)ename: `m r`
- (d)elete: `m d`
- (c)opy: `m c`
- (p)aste: `m p`

### Editor mappings

- split a editor (h)orizontally: `s h`
- split a editor (v)ertically: `s v`
- Move the cursor to the editor above: `ctrl+k`
- Move the cursor to the right editor: `ctrl+l`
- Move the cursor to the editor below: `ctrl+j`
- Move the cursor to the left editor: `ctrl+h`
- close (o)ther editors: `ctrl+w o`
- close the (c)urrent editor: `ctrl+w c`

### Search Editor mappings

- Search in all files: `g`
- Open Results in Editor: `` (on Search Box)
- Go to the target file: `ctrl+]` (on Search Results)

### Terminal mappings

- Focus Next Terminal: `shift+cmd+[` (on Terminal)
- Focus Previous Terminal: `shift+cmd+]` (on Terminal)

![image](https://user-images.githubusercontent.com/12683375/130454994-1dfafb4a-6db1-4756-9753-dcf16e31eccf.png)

- Increase Terminal size: `ctrl+e k` (on Terminal)
- Decrease Terminal size: `ctrl+e j` (on Terminal)

### Normal mode mappings

- Fast saving of a file: `w`
- Toggle explorer: `nn`
- Open explorer and focus a current file: `nf`
- (f)ind a file by name: `ctrl+f`
- Search in a file: `/`
- Focus next a search result: `n`
- Focus previous a search result: `shift+n`
- Clear search highlights: ``
- Jump to definition: `ctrl+]`
- Open definition to the side: `ctrl+cmd+]`
- Paste: `p` or `shift+p`

### Visual mode mappings

- Copy: `y`

### Insert mode mappings

- Set to normal mode: `jj`

### Debug mode mappings

- Show Hover: `g h`

image

### Show autocomplete list before typing

`shift+space`

## Development
### Init

```
yarn install
```

### Run

```
yarn dev
```