Questions tagged [keymaps]

59 questions
0
votes
0 answers

extjs keyMap addBinding method bug?

Hi I have 2 variants of code both do not work. My problem is I want to pass an argument into handler of addBinding method. console.log(x) returns as it should be but when it is passed into handler problem is that that the argument for that function…
vejce4
  • 11
  • 2
0
votes
2 answers

How to select all things inside brackets in Intellij idea?

I'd like to know how to select text between curly brackets, with just two or three shortcut keys. E.g.: If I have code like this: System.out.println("Hello World"); only the text "Hello World" should be selected.
0
votes
1 answer

What are the "a1", "c1" bindings in mc.keymap (Midnight Commander)?

There are such bindings in mc.keymap, which don't describe a meaningful shift-like key combination, but something that looks like a raw character sequence that starts with a letter, and ends with a digit, e.g.: Top = home; alt-g; a1 # ← the sequence…
psprint
  • 349
  • 1
  • 10
0
votes
1 answer

How can I add a keymap to the emulation-mode-map-alists? Emacs

I have made a keymap and added it to a minor mode: (defvar my-keymap (make-sparse-keymap)) (progn (define-key my-keymap (kbd "C-c s") '(lambda() (interactive) (message "Hello World"))) ) (define-minor-mode my-keybindings-mode nil …
Ali Awan
  • 180
  • 10
0
votes
1 answer

VSCode shorcut to tab between files on secondary editor group

I'm currently using VSCode to edit latex documents. The setup I have is the latex document in one editor group to the left, and then the preview of the document (pdf) in another group to the right. Additionally, I keep some other files open in the…
0
votes
1 answer

What are keyboard shortcuts to find next and previous error in Netbeans 8.2 editor?

EDITED (see bottom) Is there really, after so many years of unanswered questions such as mine, no keyboard shortcut to jump to the next or the previous error in Netbears 8.2? This page says that the shortcuts are Ctrl+./, Next/previous…
DSlomer64
  • 4,234
  • 4
  • 53
  • 88
0
votes
0 answers

How are files overwritten in Android?

I have an app that works with big lists of keymap values. Those lists change dynamically as new values are added and old values could be deleted, changed or just remain unchanged. To preserve the changes, I need to save the lists in files. If for…
Carlos Botero
  • 319
  • 3
  • 11
0
votes
1 answer

Invalid Keymap error when byte compiling minor-mode key bindings

The code below from my .emacs works fine normally but gives me an "Invalid keymap my-keys-mode-map" error when I try to byte compile it. (eval-and-compile (defvar my-keys-mode-map (make-sparse-keymap) "my-keys-mode keymap.") (define-minor-mode…
RNP
  • 27
  • 6
0
votes
1 answer

What is the keybind in help-mode to go into link?

There are always links in help-mode which suppose to be entered by the button. Since I remapped the button to indent-and-new-line, I can no longer enter the link. I would like to find the correct key map for the enter button. Help…
tom
  • 1,302
  • 1
  • 16
  • 30
0
votes
1 answer

Single keymap to Preview in browser in PhpStorm

Is possible configure a single hit key to Preview in browser in PhpStorm? The key map to preview in browser works fine, but don't select the default browser and show the choose browser dialog.
PaulRM
  • 389
  • 4
  • 13
0
votes
3 answers

I want tab to insert a tab in Sublime Text but it activates the autocomplete

I am using Sublime CodeIntel which I like for the autocomplete, however it pops up and inserts words while I am trying to insert tabs. I want tab to always insert a tab unless the character before my cursor is a letter. I reckon this could be done…
0
votes
1 answer

Console : How to run a specific command when pressing a key

I try to have the volume keys working on my laptop in pure console mode (Debian installed without X). I can manage sound volume with alsa commands, but I'd like to assign them to those keys. I know keycode thanks to the showkey command, but now I…
gbetous
  • 115
  • 1
  • 9
0
votes
1 answer

Keymapping in emacs using semantic with interactive functions and default parameters invocation

In semantic; to move around function declarations it is possible to use C-c , J to open declaration, and just C-u C-SPC to return where the function was called. However to map those functions to some other short keybindings like that M-right…
-2
votes
1 answer

Solution with map gave AC and Solution with unordered_map gave WA. why?

I am looking for any difference between map and unordere_map which is now known by most of people. The problem : Problem Link the solution with map: Accepted Solution #include using namespace std; int main() { int N; cin >>…
Ramesh Chandra
  • 32
  • 2
  • 10
1 2 3
4