Skip to content

derjanb/vscode-emacs-tab

 
 

Repository files navigation

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"
}

Installation

npm install -g vsce

git clone https://github.com/derjanb/vscode-emacs-tab.git
cd vscode-emacs-tab
npm install
vsce package
code --install-extension vscode-emacs-tab-0.0.9.vsix

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 89.5%
  • JavaScript 6.4%
  • Python 4.1%