key-bindings Questions

2

VS Code has a "Settings Sync" feature to synchronize settings between different installations. However, it does not sync Keyboard Shortcuts across platforms. I want the same Keyboard Shor...

4

Solved

I am getting a "Wrong type argument: commandp, (lambda nil (forward-line 5))" here. (global-set-key [?\M-n] (lambda () (forward-line 5))) What is the error? I'm fairly sure it's simple & I'm...
Hosbein asked 9/8, 2009 at 6:59

5

Problem When I type alt+j, I always get the character ∆, even if I've assigned alt+j to a keyboard shortcut within VSCode. The same is true for any other alphanumeric keys, but non-character-gene...
Recognize asked 26/3, 2020 at 14:58

8

Solved

In a terminal, one cannot distinguish Ctrl+A and Ctrl+Shift+A as they both emit the same key code, so I can see why Vim can't do it. But gVim, being an X application, can differentiate Ctrl+A and C...
Creaturely asked 1/10, 2009 at 22:3

6

Solved

I'm used to write a ~ character by pressing Alt+N on Mac OS X. This does not work in Emacs. Alt+N key seems to be bind to the command history. So my question is how to write a ~ character in Emacs ...
Jacklin asked 20/6, 2012 at 19:58

9

I want insert newlines in normal mode in vim using Shift-Enter and Ctrl-Enter. I try some solutions and mixing solutions from Vim Wikia - Insert newline without entering insert mode but Shift-Enter...
Grasshopper asked 21/4, 2013 at 18:4

5

Solved

Another datagrid keybindings question I have a datagrid. It has selection mode set to FullRow and KeyboardNavigation.TabNavigation="Once" which I was hoping would get my desired result but it does...
Migraine asked 13/4, 2011 at 20:17

7

Solved

I'd like to know if there is a way to figure out if a key does something in vim. I know that I can use :map to see user-defined mappings, but is there something for the built-in stuff? For example...
Conto asked 20/3, 2010 at 16:44

14

Solved

After experimenting with my VSCode key bindings, I would like to reset them to the original settings. How do I do that? I am on Linux Mint 18. I tried removing all the records from the keybindings....
Hence asked 16/3, 2018 at 4:58

5

Solved

Suppose that (gdb) print *this resulted in 20 lines of output. Yes, there would be Type <return> to continue, or q <return> to quit, but I'd like to scroll back to the top after I go...
Bloater asked 13/2, 2012 at 7:48

4

I want to know if it's possible to remove the key bind on Ctrl-Click for the goToDefinition (F12) editor action. This is so annoying, every time i try to Ctrl+C/V it trigger and go to the definitio...
Grimmett asked 7/6, 2016 at 15:37

3

Solved

This is probably really simple, but it's frustrating me so much. I'm using Sublime Text 3. Sometimes my plugins output code to a little window at the bottom like this: And I can't hide it no mat...
Alkahest asked 8/4, 2015 at 23:43

5

Solved

I've been using Sublime Text for a little while now (on MacBook Pro), and want to make it keystroke compatible with the shell. In the shell, to jump to the beginning/end of line I press fn+Left/fn...
Lucubration asked 6/11, 2014 at 9:1

2

Solved

I seem to have enabled an awkward mode in my VS Code editor that i cant seem to backtrack. I initially set my Ctrl + Alt + L keybinding to format the code in my editor. Which it initially did. Aft...

3

Solved

I'm trying to make the key Ctrl+UpArrow execute both commands cursorUp and scrollLineUp. I was hoping that this would work, but it doesn't: { "key": "ctrl+up", "command": ["cursorUp", "scroll...
Myrlemyrlene asked 8/3, 2018 at 15:41

22

Solved

There is a Duplicate command in the Edit Menu (with a default shortcut of ⌘D), but it is (as Halley pointed out) meant for duplication in the Interface Builder part of Xcode. So, how do you (easil...
Montreal asked 22/4, 2012 at 7:49

2

When programming a vscode extension... Is there a programmatic way to find the keybinding for a provided command? I would like to be able to see if a user has updated the key mapping from default ...
Wilbur asked 18/11, 2016 at 16:41

7

Solved

I'm looking for a way to bind a function to my whole page (when a user presses a key, I want it to trigger a function in my component.ts) It was easy in AngularJS with a ng-keypress but it does no...
Federate asked 21/5, 2016 at 11:45

4

Solved

I am a Python beginning self-learner, running on MacOS. I'm making a program with a text parser GUI in tkinter, where you type a command in a Entry widget, and hit a Button widget, which triggers m...
Dipnoan asked 8/6, 2013 at 5:30

2

In Visual Studio, F5 is used for both of StartDebugging and Continue, which is rather annoying. Because many other IDEs/Debuggers don't act in the same way, e.g. cgdb, IntelliJ IDEA. For simplicit...
Paperweight asked 5/1, 2015 at 1:55

9

Solved

I understand that Mac has some Emacs keybindings enabled by default (e.g. Ctrl+A move to beginning of line etc.). If I open TextEdit for example I can navigate like in Emacs. But when I try Alt+F ...
Buffington asked 22/11, 2013 at 14:14

3

Solved

I'm trying to bind the SHIFT+TAB keys, but I can't seem to get it to work. The widget I'm binding to is an Entry widget. I've tried binding the keys with widget.bind('<Shift_Tab>', func), bu...
Chicane asked 11/6, 2020 at 23:57

5

Solved

I want to make a new key binding to change syntax to, let's say, HTML or CSS. I searched the official and unofficial documentation to see if there are any answers to my problem.
Bandmaster asked 1/9, 2012 at 12:38

3

When I comment HTML files, VSCode wraps my selection and puts a single <!-- --> tag around the whole selection. How can I change it so that instead it comments every single line individually?...

3

Solved

I have the following keybinding in VS Code which toggles the position of the cursor between the active document and built-in terminal: // Toggle between terminal and editor focus { "key&quot...
Terzetto asked 2/4, 2018 at 12:36

© 2022 - 2024 — McMap. All rights reserved.