elia / vscode-textmate

TextMate features and keybindings for Visual Studio Code
MIT License
6 stars 0 forks source link

TextMate for Visual Studio Code

This extension aims at recreating the TextMate experience in Visual Studio Code. It is a work in progress and is not yet ready for use.

Features

Keybindings

A good amount of keybindings have been ported from TextMate.

windowTitle

You can now use scmBranchName in the windowTitle setting.

closeOtherEditors, closeEditorInAllGroups

Fix the default VSCode behavior of asking to save unsaved files when closing editors. These commands will close specified editors except any "dirty" or "pinned" editor.

openProject

Open a project in a new window, selecting from subfolders of the folders listed in the projectFolders setting.

Navigation

You can now navigate between brackets and blocks using ctrl with up and down, adding shift to also update the selection.

Name Command Keybinding
Jump to Selection jumpToSelection ⌘J
Move to beginning of Block moveToBeginningOfBlock ⌃⭡
Move to end of Block moveToEndOfBlock ⌃⭣
Select to beginning of Block moveToBeginningOfBlockAndModifySelection ⌃⇧⭡
Select to end of Block moveToEndOfBlockAndModifySelection ⌃⇧⭣
Move to beginning of Column moveToBeginningOfColumn ⌥⭡
Move to end of Column moveToEndOfColumn ⌥⭣
Select to beginning of Column moveToBeginningOfColumnAndModifySelection ⌥⇧⭡
Select to end of Column moveToEndOfColumnAndModifySelection ⌥⇧⭣
Jump to Selection jumpToSelection ⌘J

Editing

Name Command Keybinding
Join Lines joinLines ⌃⇧J
Toggle Case toggleCase ⌃_
Transpose transpose ⌃T

All commands are under the vscode-textmate namespace, e.g. vscode-textmate.moveToEndOfColumn.

Troubleshooting

VS Code plays a sound with some keybindings: https://superuser.com/a/1530872

License

MIT

Icon by Marc Oliver Orth