key-bindings Questions
2
Solved
Some example settings for Vim (for example janus) have the command-key bound to certain commands.
For example:
" Command-Shift-F for Ack
map <D-F> :Ack<space>
I don't know how t...
Czarist asked 26/12, 2011 at 21:44
0
I just downloaded the latest release of IntelliJ and recognized that I can't scroll in the code while using the touchpad of my notebook. I tried to add a mouse binding to the scroll actions but it ...
Epigraph asked 10/6, 2017 at 15:38
2
Solved
I want to bind GUI dialog File -> Open File to Ctrl + o
I can (global-set-key (kbd "C-o") 'find-file) but I want it exactly with gui.
How can I do it?
Prudenceprudent asked 21/10, 2014 at 9:59
1
Solved
I know I can change the line-numbering in Visual Studio Code to relative by adding the line "editor.lineNumbers": "relative", to the settings.json file, but I am looking for a way to bind it to a k...
Selda asked 24/4, 2017 at 20:39
5
Depending on the font I use, I might see a quarter of a cursor (lower right rectangle not flashing) in the wrong place, or no cursor at all. Still, the line I'm on highlights and the column number ...
Tribune asked 17/8, 2012 at 20:0
4
Solved
I have a JFrame (well, a class which extends JFrame) and I want to do an action when I press the F5 key. So, I made the class implement KeyListener. And with that, came three methods, keyPressed, k...
Messroom asked 15/8, 2011 at 22:57
2
Solved
I would like to map:
CAPS-LOCK to Fn
Fn to Left-MOUSE
LSHIFT+3 to #
RSHIFT+3 to something else
etc.
I have searched exhaustively for any tool that offers complete freedom for remapping keyboard...
Rosmunda asked 18/5, 2015 at 16:16
1
Solved
I want to do nnoremap Q :q!<cr> and nnnoremap Q :bd<CR>, how can i mix these two bindings?
What i ideally want is to make the Q binding smart enough to know when we are in a buffer, and...
Ftlb asked 3/2, 2017 at 12:19
2
Solved
I'm working on a game using Swing and I'm using KeyBindings for input from the keyboard.
I'm having issues where the KeyBindings stop responding. It happens every time I run the application, but a...
Vestment asked 30/12, 2016 at 9:10
6
Solved
I'm trying to set a key-binding to Ctrl+TAB in Emacs. I used the following call:
(global-set-key (read-kbd-macro "C-TAB") 'my-func)
However, whenever I use it, I get a
<C-tab> is undefine...
Hauge asked 27/5, 2009 at 16:43
4
Solved
Though I know how to set a global key-binding in Emacs, I find it hard to even Google out the code for a local (minor-mode specific) key-binding. For instance, I have this code in my .emacs:
;; PD...
Jalousie asked 31/3, 2011 at 12:45
5
What would be some sample code that will trap the Ctrl+Tab and Ctrl+Shift+Tab for a WPF application?
We have created KeyDown events and also tried adding command bindings with input gestures, but ...
Ludlow asked 1/5, 2009 at 21:28
1
Solved
I'm giving a second try to the fish shell. One thing that really annoys me is the "new" behaviour of Ctrl+w shortcut.
Consider following situation:
$ vim ~/.config/fish/config.fish
...having th...
Kenyettakenyon asked 6/10, 2016 at 7:26
2
RStudio constantly requires taking fingers away from "asdf-jkl;" to the arrow keys. Not very comfortable after working with IPython's Emacs keybindings.
RStudio has vim navigation for file editing...
Undertrump asked 1/2, 2014 at 16:39
2
Solved
I'm having a WPF Application, programatically I'm setting the focus to the ListBox Item, after that using UP / Down arrow I'm navigating from one Item to another Item. I need to Implement ENTER Key...
Waterloo asked 16/9, 2016 at 16:37
1
Solved
Is it possible to make CMD+T keybinding run a bash script? Like for example i want to run my tests on my Heroku project, the command python manage.py test would be run if did CMD+T.
Epencephalon asked 25/8, 2016 at 13:21
2
Solved
I would like to cancel input and clear the field in my app when the user types the escape key. We tried testing for e.which === 27 in the keyBindingFn, but that function is never even invoked when ...
Citrate asked 15/7, 2016 at 17:29
3
Solved
I'm using Jupyter Notebook with the Sublime Text keymap, by adding the following to my Jupyter custom.js:
require(["codemirror/keymap/sublime", "notebook/js/cell"],
function(sublime_keymap, cell)...
Faunus asked 3/4, 2016 at 11:36
5
Solved
I added:
set number
nnoremap <F2> :set nonumber!
to my vimrc file. Basically what it's supposed to do is let me press F2 to toggle line numbering but it's not working. What have I done wro...
Aussie asked 17/4, 2009 at 23:4
2
I am trying to override Meta + left / right arrow keys in my emacs config and cannot figure out how to refer to the key sequence.
If I interact with Emacs directly I can type
"M-x, global-set-key...
Trinitytrinket asked 18/7, 2016 at 17:42
2
I'm trying to bind any keyboard key pressed to a command in the ViewModel.
I know that I can bind a specific key, using:
<Window.InputBindings>
<KeyBinding Command="{Binding ChangeIdCom...
Deplane asked 18/7, 2016 at 9:33
4
I want to detect when the XF86Launch1 key is pressed on my keyboard, using Python.
I have a headless server with a Bluetooth connected keyboard. I'd like to launch a command-line program whenever ...
Skyrocket asked 20/2, 2016 at 16:54
7
Solved
I would prefer to have Emacs keybindings in MSVS. In MSVS 2008, this was natively supported, and in MSVS2010 there was an extension to achieve this
http://blogs.msdn.com/b/visualstudio/archive/201...
Aldas asked 14/12, 2012 at 19:18
13
Solved
I'm a Mac user and I've decided to learn Emacs. I've read that to reduce hand strain and improve accuracy the CTRL and CAPS LOCK keys should be swapped. How do I do this in Leopard?
Also, in Termi...
Sanctum asked 2/10, 2008 at 15:12
2
Solved
I'm trying to map Vim commands to the ctrl+pgup and ctrl+pgdn key combinations. The vim syntax for these keys does not work (i.e., <PageUp> and <PageDown>, or <C-PageUp> and <C...
Lamellibranch asked 11/3, 2016 at 1:16
© 2022 - 2024 — McMap. All rights reserved.