Quantcast
Channel: Active questions tagged keymapping - Stack Overflow
Browsing latest articles
Browse All 74 View Live

How to Execute Vim Command to Delete All Empty Lines in VSCode and VSCodeVim?

I'm using VSCode and the VSCodeVim plugin. I'm attempting to create a key mapping to delete all empty lines in a file, but I'm encountering issues.Here's the code snippet that I've added to my VSCode...

View Article


How to configure IntelliJ (also Android Studio) redo shortcut to CTRL+Y...

The default IntelliJ / Android Studio "Redo" action shortcut is CTRL+Shift+Z and this is a common problem for Windows users.A bigger problem is CTRL+Y is mapped to the "Delete line" action - and this...

View Article


VSCode: "Markdown Preview" SHIFT-COMMAND-V not working

Setup:VSCode 1.50.1MacOS High Sierra (10.13.6) - but I think this applies to any OSSteps to Reproduce:this is a quick simple one...click on/hghlight/open a markdown file (.MD extension) in VSCode /...

View Article

Intellij's keymap keeps resetting

My intellij keymap resets everytime I restart my system or sometimes when I install a new plugin. IF it matters, I'm working on win XP with very limited capacity - only 1 drive with 25 GB capacity....

View Article

How to make key vim keybinding in vscode be mode dependent

For example I've added{ // Debug -> Step Over"before": ["o"],"when": "inDebugMode","commands": [ {"command": "workbench.action.debug.stepOver", } ] }So that I can press o when debugging and step...

View Article


How to set keymaps to ctrl+w in LunarVim

Why ?I come from windows (specifically pycharm) and am really used toctrl+backspaceto delete whole words, Now i am switching to mac and neovim and am finding it really hard not having that.The...

View Article

Does IntelliJ have a `Ctrl` + `K`,`Ctrl` + `D` Sublime equivalent? How do I...

I want to have the 'Ctrl'+'K','Ctrl'+'D' functionality of Sublime in Android Studio, how do I do it?Perfectly similar to this question, but with respect to Android Studio.How do I skip a match when...

View Article

mapping key in vim [duplicate]

shift Shift_L (0x32), Shift_R (0x3e)lock control Control_L (0x25), Control_R (0x69)mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)mod2 Num_Lock (0x4d)mod3 Hyper_L (0x42), Hyper_L (0xcf)mod4 Super_L...

View Article


Pycharm Enter Key is not working

I am facing a very weird problem...My enter key is not causing a line break in pycharm. When I press enter at the end of a line, the cursor jumps to the front of the next line, without causing a line...

View Article


Is it possible to insert an exact live template using keymap shortcut in...

I am currently using WebStorm for dev, so I want to know is it possible to insert an exact live template using keymap shortcut in WebStorm ?For example:Select a variable;Then press Ctrl + L, it will...

View Article

How to create clickable links in comments for navigating to other files,...

I see there is already support for .md files to have clickable links to internal filesFor example:let say you have a example.env file at project/repository root (awsome-project/example.env)then I can...

View Article

Can we add custom keybinding on VSCODE's VIm Extension?

I was using Vim in visual studio code, i want to use 'jj' to exit from insert mode. How can add this custom keybinding in visual studio code.I tried to add it in VS CODE shortcuts. but i can't see any...

View Article

Programatically configure a keyboard in Ubuntu 22.04

I'm working with Ubuntu 22.04 and I've created a custom keyboard. I'm using Ansible to provision the machine and I've placed the custom keyboard mapping file under /usr/share/X11/xkb/symbols/tss_kioskI...

View Article


How do I resolve this error when invoking custom telescope pickers?

I'm trying to set up a custom buffers picker so that I just open the picker with <leader>b and then click a number that opens the desired file in the current buffer.Code:local actions =...

View Article

Replace selected Text with String, via Keymap

I want to replace the selected Text (in Visual-Mode) with the current Date.Currently I am trying to call a cmd and then use the 'change' method.keymap.set("x", "<leader>nf", function()...

View Article


How can I FREE from Telescope?

I use the combination as the prefix to many of my key-mappings. Without that prefix many of my custom definitions go away. LazyVim has assigned already it to Telescope find_files and I can't undo it...

View Article

where the creation point of the savedStateHandle[key, value] map?

first, sorry for my bad eng.https://github.com/google-developer-training/basic-android-kotlin-compose-training-inventory-app/tree/mainusing this app...

View Article


How to use different mappings depending on file type?

I have the following lua function for mapping keys in neovimlocal M = {}function M.map(mode, lhs, rhs, opts) -- default options local options = { noremap = true } if opts then options =...

View Article

Auto Hot Key stopped working after modifying a script

I need to remap certain keys so that CapsLock +"ijkl" would result in arrow keys without actually toggling CapsLock on.Standard practice.ChatGPT gave me the following code which worked as...

View Article

How to define a custom keymap on Wayland with KDE?

Well, I think everything is said on the title : How does one define a new custom keymap (Either by redefining the whole keymap, or by calling programs like xmodmap in a .bashrc-like ? ) on Kde (Plasma)...

View Article

Proxmox/NoVNC prevent/remap the ESCAPE key

I am working on a proxmox VM using standalone NoVNC window in fullscreen.Here the ESCAPE key is mapped to leave the fullscreen mode.The problem: I am using a Vim editor, hence I hit the ESC key 1000...

View Article


Ctrl-Backslash to send an ASCII character

This works (Ctrl-Backslash key sends the text in question):^VKDC::Send("BlahBlah")This also works (Keys hit sequentially "/q" emits the ASCII char 168 namely upside down question mark ¿::/q::{Asc 168}I...

View Article


How to avoid constant switching to and from English keyboard layout to type...

I am giving Vim a serious try for coding my Python apps.However, Vim is proving to be so flexible, I was thinking to use it as my main editor at work for writing lawyer/legal documents. The problem is...

View Article

Multiple modifiers (2) in Keyboard Input Report for custom HID keyboard

I'm building a macro keyboard and one of the functions I'm trying to implement is Ctrl+Shift+R, but in the definitions, only one modifier exists in the fixed 8 byte string. How do I implement...

View Article

Intellij Default windows keymap on Mac OS X

Is it possible to have the default windows key map for Intellij IDEA on Mac OS X. It is not an option like the Eclipse Windows Key Map?

View Article


Remap right option key in mac

Macbook pro 13" does not have a right control key. As a programmer I really need this key and it is not convenient to hit left control with keys that are also on the left side of the keyboard. Is there...

View Article

Can VSCode start a selection that will automatically extend with cursor...

I'm evaluating VSCode as a replacement for Atom (which replaced SlickEdit), but I can't determine if it will support the selection behavior I was able to achieve with Atom and Slick. I have my cursor...

View Article

Substitue VSCode's ctrl+d for Vim extension

I want to have the same functionality as VSCode's ctrl+d when using the Vim extension.Due to an bug with multiple cursors where you cannot return to single cursor in Vim extension have I tried to find...

View Article

How can ı make space key work as it should for intellij on mac?

I am trying to use Intellij for java.I am on a mac.Space button doesn't work as it should.In order to leave a blank,ı must use shift + space.Tried keymap and various other things,nothing worked.What am...

View Article



Image may be NSFW.
Clik here to view.

Programmer's VIM setup for Finnish/Swedish or other non-US keyboard layout

I've been recently learning some VIM hackery and I have learned a lot of useful commands and gotten pretty efficient at editing text with VIM. I'm using the Finnish qwerty keyboard layout (see image...

View Article
Browsing latest articles
Browse All 74 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>