You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature-requestRequest for new features or functionalitymacosIssues with VS Code on MAC/OS XterminalGeneral terminal issues that don't fall under another labelupstreamIssue identified as 'upstream' component related (exists outside of VS Code)verification-neededVerification of issue is requestedverifiedVerification succeeded
Deleting a whole word while holding option "meta" key does not work. One character is deleted. In the regular terminal for os x in preferences there is a checkbox that lets you enable the option key to be used as a meta key which allows holding the option key and hitting delete to delete an entire word at a time.
Reacted by Martin Blom, Evan Dana, Adam Luzsi, Ruslan Arkhipau, Eric Zhang, darlal, Justin Morris, Simon Woodside, Vivek Kumar Bansal, Jon Gjengset and 30 more
Actually maybe you can't do that now as the same escape sequence is sent regardless of whether alt/option was pressed. I filed this upstream xtermjs/xterm.js#486
Daniel Imms (@Tyriar) All I use it for personally is moving one word at a time as opposed to one letter. Moving includes deleting and using arrow keys.
Thanks, we're looking into how to solve this problem in the general case so we can remove some of the non-standard keybindings we hard coded into the terminal code xtermjs/xterm.js#487
btw I think this is an even better option: Mac OSX: altIsMeta support! If Daniel Imms (@Tyriar) is okay with the PR, then you'll probably need to make a corresponding change in VScode to enable altIsMeta.
Noticed a problem though, on vscode after applying your fix to .inputrc I
was no longer able to press the regular b key! I can type f normally, but
the terminal ignores the b key :/
- Diego E. Salazar
Diego E. Salazar (@DiegoSalazar) oh really! That's actually a lot worse than not being able to jump between words. btw the altIsMeta fix will probably be merged soon. In the interim you can also use 'ESC'+b, 'ESC'+f, etc. to jump between words.
changed the title [-]Support or allow customizing of common custom terminal keybindings[/-][+]Support use option as meta in terminal[/+]on Jan 20, 2018
feature-requestRequest for new features or functionalitymacosIssues with VS Code on MAC/OS XterminalGeneral terminal issues that don't fall under another labelupstreamIssue identified as 'upstream' component related (exists outside of VS Code)verification-neededVerification of issue is requestedverifiedVerification succeeded
Activity
adamluzsi commentedon Jan 17, 2017
+1 for this :)
👍
Tyriar commentedon Jan 17, 2017
ctrl+wdoes this now, you should be able to do this by remapping keys to send the escape sequence you want (^W).Tyriar commentedon Jan 17, 2017
Actually maybe you can't do that now as the same escape sequence is sent regardless of whether alt/option was pressed. I filed this upstream xtermjs/xterm.js#486
adamluzsi commentedon Jan 19, 2017
Option key is more than just for deleting. There is a couple of great thing you can do with option key, delete is only one thing from that. :)
Tyriar commentedon Jan 20, 2017
Adam Luzsi (@adamluzsi) any others in particular that you can do with other terminals but not vscode?
mikekhaas commentedon Jan 21, 2017
Daniel Imms (@Tyriar) All I use it for personally is moving one word at a time as opposed to one letter. Moving includes deleting and using arrow keys.
Tyriar commentedon Jan 21, 2017
Thanks, we're looking into how to solve this problem in the general case so we can remove some of the non-standard keybindings we hard coded into the terminal code xtermjs/xterm.js#487
LeviticusMB commentedon Jan 21, 2017
Essentials: Arrow keys, backspace, d (delete current word), c (capitalize), l (lowercase), u (uppercase) but see https://en.wikipedia.org/wiki/GNU_Readline and http://www.aboutlinux.info/2005/08/bash-shell-shortcuts.html.
[-]support option meta key with terminal[/-][+]Support or allow customizing of common custom terminal keybindings[/+]15 remaining items
DiegoSalazar commentedon Jan 19, 2018
saamalik commentedon Jan 19, 2018
Diego E. Salazar (@DiegoSalazar) cool!
btw I think this is an even better option: Mac OSX: altIsMeta support! If Daniel Imms (@Tyriar) is okay with the PR, then you'll probably need to make a corresponding change in VScode to enable
altIsMeta.DiegoSalazar commentedon Jan 19, 2018
saamalik commentedon Jan 20, 2018
Diego E. Salazar (@DiegoSalazar) oh really! That's actually a lot worse than not being able to jump between words. btw the altIsMeta fix will probably be merged soon. In the interim you can also use 'ESC'+b, 'ESC'+f, etc. to jump between words.
[-]Support or allow customizing of common custom terminal keybindings[/-][+]Support use option as meta in terminal[/+][email protected]
Tyriar commentedon Apr 24, 2018
Here's the setting:
Support macOptionIsMeta