aioutecism/amVim-for-VSCode
소개
기대한 대로 작동하는 Visual Studio Code(vscode)용 Vim 모드입니다.
개발 도구What you can do
- Vim style keybindings & looks
- Normal, Visual and Visual Line modes support
- Multi-cursor support
- Works with VS Code's default behaviors
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalamVim for VS Code
![]()
The Vim mode for Visual Studio Code that works as expected.
Key features
- Vim style keybindings & looks
- Normal, Visual and Visual Line modes support
- Multi-cursor support
- Works with VS Code's default behaviors
Not supported
:started commands: Only a few are supported now.- Visual Block mode: Please use multi-cursor instead for now.
- Custom keybindings: On the roadmap.
Commands
Check the list here.
Configuration
You can override default configurations in User and Workspace Settings.
amVim.bindCtrlCommands
Boolean, Default: true
Set to false to disable Ctrl+<key> keybindings.
amVim.mimicVimSearchBehavior
Boolean, Default: true
Set to false to keep VSCode's keybinding when searching.
amVim.startInInsertMode
Boolean, Default: false
Set to true to start in Insert mode when opening files.
amVim.smartRelativeLineNumbers
Boolean, Default: false
Set to true to will make line numbers relative when not in Insert mode.
amVim.useSystemClipboard
Boolean, Default: false
Set to true to copy to and paste from the system clipboard.
amVim.vimStyleNavigationInListView
Boolean, Default: true
Set to false to disable Vim style navigation in sidebar.
Contexts
You can make use of when clause contexts to construct keybindings that only apply in specific scenarios.
amVim.mode
String, Possible values: NORMAL, INSERT, VISUAL, VISUAL LINE
Tracks the current editing mode. For backward compatibility, REPLACE mode will appear as INSERT.
amVim.waitingForInput
Boolean
Set to true when amVim is waiting for further input to match a command, otherwise false.
This can be used to set up keybindings that perform a custom function when keys are pressed
independently, without overriding the default Vim style behavior for those keys when
prefixed.
For example, the following configuration will redefine Vim style navigation keys j and k
to move the native cursor, stepping over folded code and stepping into wrapped lines, while
still allowing longer Vim commands like 3j to work as expected:
[
{
"key": "j",
"command": "cursorDown",
"when": "editorTextFocus && amVim.mode == 'NORMAL' && !amVim.waitingForInput"
},
{
"key": "k",
"command": "cursorUp",
"when": "editorTextFocus && amVim.mode == 'NORMAL' && !amVim.waitingForInput"
}
]
Contributing
Feel free to open issues to report bugs or require features.
Pull requests are welcomed too! See VS Code's official instructions about:
- Extension API
- Testing Extensions
- Protip: change
suite(tosuite.only(in a test file to run only a single test suite at a time. This saves quite a lot of time. Remember to remove the.onlypart before making a Git commit.
- Protip: change
관련 프로젝트 살펴보기
불러오는 중…