Vscode-r: remove or warn about cmd + 1 shortcut defaults

Created on 23 Jun 2020  路  8Comments  路  Source: Ikuyadeu/vscode-R

These shortcuts (defaulting to CMD on macOS, but same problem otherwise)

Run nrow, length, head, thead, names functions (Ctrl + 1, 2, 3, 4, 5)

overwrite the vscode defaults used to navigate between different editor groups:

Focus into 1st, 2nd or 3rd editor group

(from here).

This can fixed by the user by removing these shortcuts, but it takes a while to figure out.

I also think the group navigation is a fairly basic shortcut in vscode that may not be worth touching.

Thanks for the amazing work!

feature-request

Most helpful comment

@andycraig I agree. In fact, I revert all these in my key bindings from the beginning.

All 8 comments

Hi @maxheld83, thank you for this suggestion.

@Ikuyadeu @renkun-ken I agree that it would be better not to override these default VS Code shortcuts. I think we should remove the shortcuts for these commands.

@andycraig I agree. In fact, I revert all these in my key bindings from the beginning.

@andycraig The wiki page is not fixed yet, FYI.

Hi @keita-makino, here's the section of the Wiki that was updated: https://github.com/Ikuyadeu/vscode-R/wiki/Keyboard-shortcuts#removed-keyboard-shortcuts

If there's anything specific that seems to be missing/needs fixing, let me know.

@andycraig I see, but I meant the one on the top page. This description seemed to tell that the binding is by default.
image
(I sent the comment from my personal account one once by mistake so you'd get two notifications... sorry for that)

@keita-makino Oh, the README! You are right, I missed that. Thank you! I'll fix it this weekend. A PR would of course be welcome too.

@andycraig No it's the top page of the wiki, so I cannot make a PR... Thank you for your cooperation though.

@keita-makino Thanks for persisting, I understand now. It's the bit of the Wiki that has a copy of the README. I will fix.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JimmyZJX picture JimmyZJX  路  3Comments

tdeenes picture tdeenes  路  5Comments

LePeti picture LePeti  路  4Comments

Dee-L picture Dee-L  路  5Comments

bdeshon picture bdeshon  路  3Comments