Helix for VS Code![]() ![]() This is a Visual Studio Code implementation of Helix Keybindings and Commands. I created this because I wanted to use Helix in VS Code and was frustrated with the built-in commands not being ergonomic. I didn't want to move fully unto helix and lose the benefits of VS Code, so I decided to create this extension. It is a work in progress, feel free to raise issues or contribute on the issue tracker. InstallationYou can install the extension from the Visual Studio Marketplace or Open VSX. CommandsThe main commands should work but selections currently do not. Right now commands are hardcoded to the default keymap, hopefully this can be adjusted to the user's keymap in the future. If something doesn't work, please open an issue. PerformanceFor added performance, you can try adding the following setting, and reload/restart VSCode:
DifferencesThere will be some differences between this extension and native Helix, these will be due:
Window ModeDue to VS Code having tabs I've needed to add some new windows modes on top of the current Helix ones, these commands are based around movements, (i.e moving the editor from one window to another).
Most of the differences will be related to the fact VSCode doesn't have TreeSitter or have access to an AST. So we often need to find other ways of achieving the same action.
Movements
Line Number ToggleThe extension includes a line number toggle feature that automatically switches between relative and absolute line numbers based on the current editor mode:
To enable this feature, add the following setting to your VS Code configuration:
This behaviour matches Helix's approach to line numbers, helping you take advantage of relative line numbers for efficient movement commands while providing absolute numbers when editing text. OutstandingFeel free to pick up any of these if you wanted to contribute.
Insert Mode
|