hiro-sun / vscode-emacs

91 stars 103 forks source link

Emacs style tabbing #39

Open hobbs opened 7 years ago

hobbs commented 7 years ago

Is there a way to have emac's styling tabbing? In emacs instead of inserting a tab, it sets the indentation on that line to the correct spot: screencast 2016-12-29 at 11 30 35 am

sammy44nts commented 7 years ago

It might be something like finding a keybinding for the following command:

{ "key": "ctrl+k ctrl+f",
  "command": "editor.action.formatSelection",
  "when": "editorHasDocumentFormattingProvider && editorHasSelection && editorTextFocus && !editorReadonly"
}