Using shortcuts inside browser
See original GitHub issueDescription
Some VSC shortcuts do not work because they are reserved for browser-specific actions.
For instance, Strg + N
usually opens a new file in VSC, but is reserved by various browsers for creating a new tab or window.
Do you have a plan for improving this? Of course every shortcut is accessible by the command palette, and commands which are unaccessible by the default shortcuts can be reconfigured to be accessible by other shortcuts, but this would require everyone who wants to give code-server
a try to configure his instance first before being able to use it productively, and having powerful editing capabilities without the need for extensive configuration is one of VS Code’s key features.
Related Issues
Issue Analytics
- State:
- Created 5 years ago
- Comments:21 (13 by maintainers)
Top Results From Across the Web
47 Keyboard Shortcuts That Work in All Web Browsers
Alt+Left Arrow or Backspace – Back. Alt+Right Arrow or Shift+Backspace – Forward. F5 – Reload. Ctrl+F5 – Reload and skip the cache, re- ......
Read more >50 Keyboard Shortcuts That Work Across All Web Browsers
Ctrl + O · Open a local file in the browser ; Ctrl + S · Download and save the current page ;...
Read more >Chrome keyboard shortcuts - Computer - Google Chrome Help
Action, Shortcut ; Open the Chrome menu, Alt + f or Alt + e ; Show or hide the Bookmarks bar, Ctrl +...
Read more >How to Create Desktop Shortcuts for Web Pages Using Chrome
1. Navigate to your favorite page and click the ••• icon in the upper-right corner of the screen.
Read more >The Five Browser Shortcuts Everyone Should Know
For Firefox, you could use Ctrl + L and Ctrl + K respectively instead of Alt + D and Ctrl + E. Also,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Not strictly true. There is a way to do it, but it’s kind of a local-app hybrid. If you’re on Chrome (sorry Firefox users!) you can go to Menu > More Tools > Create Shortcut… and just tick “Open As Window” when you make it. Then, just use that to work with Coder and all your <kbd>ctrl+?</kbd> shortcuts will work. It is a browser restriction, although there is a code-side workaround to that too. When you listen for each event, you can put
event.preventDefault();
. That’ll stop any default handling from occurring, including the browser trying to process the keybinds iirc.I think most users just aren’t aware of the PWA and how it works.
Opened https://github.com/cdr/code-server/issues/1726
And we should show a popup #1599