garaemon / vscode-emacs-tab

BSD 3-Clause "New" or "Revised" License
14 stars 11 forks source link

vscode-emacs-tab

screencast

This plugin provides emacs-tab.reindentCurrentLine command, which indents like emacs behavior.

  1. Always indent a line to the same level
  2. Move the cursor to the first character if cursor is in the leading white spaces.

In order to change 'tab' key behavior, please write the following lines in your keybindings.json.

{
  "key": "tab",
  "command": "emacs-tab.reindentCurrentLine",
  "when": "editorTextFocus"
}