Quantcast
Channel: Active questions tagged keymapping - Stack Overflow
Browsing all 74 articles
Browse latest 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


Insert a newline without entering in insert mode, vim

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 and...

View Article


AutoHotKey: AltR + AltL + u does not work (but it works with a)

Does anyone have a guess why the following AutoHotKey-Script is not working? Everything but the last 2 lines work perfectly fine but when I press AltR + AltL + u nothing...

View Article

Image may be NSFW.
Clik here to view.

Is it possible to map a keyboard shortcut to open an Explorer window to the...

Is it possible to map a keyboard shortcut to open an Explorer window to the path of a file or folder selected in the Project view in IntelliJ? I'm hoping there is (or I can create) a shortcut to...

View Article

Mapping VsCode bindings to work with e.keyCode | Ubuntu

Recently I bought new Wireless Keyboard (Endorfy Thock) and where it works just fine while plugged by cable, the function keys (F1, F2, ..., F12) are working weirdly while keyboard is working in...

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

Execute key RHS expression in Vim imperatively

Given a string of inputs, it is possible to execute it using :normal!: :normal! ihello will go into insert mode and write the text 'hello'.When mapping keys to expressions we can use a similar, albeit...

View Article

Image may be NSFW.
Clik here to view.

Android Studio Hedgehog - Unable to switch between recent files using...

I had a problem with Android Studio after I updated to the latest version Hedgehog 2023.1.1, which I can't switch between recent files using the CTRL+TAB / SHIFT+TAB shortcutI checked the keymap in the...

View Article


How to transform command into keymap

In my .vimrc, I have the following command definition:command! -range Runit <line1>,<line2> python3 RunLine(<line1>, <line2>)and it works fine.I'd like to have it as keymap.I...

View Article


Keyboard not working correctly in VsCode on Linux

VSCode Key Mapping Issue on Linux ARM64Issue DescriptionAfter updating to VSCode version 1.85.0 on a Linux ARM64 system, certain keys exhibit unexpected behavior. For instance, inputting '5' acts as a...

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

xkb remap Ctrl+j to be Ctrl+Page_Down [closed]

I already have an .xkb layout file with some stuff going on, basically altgr-intl with HJKL as arrow keys:xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete"...

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 to write vim script to continuously move to the next window until window...

for example I have multiple windows in a vim instance:+---+---+---+| | | || A | | || | | |+---+---+---+Different window has different filetypes, some are plugins (NvimTree/undotree/vista), others are...

View Article

How to map multiple key combo to another multiple key combo in keyd on Linux?

Configuration file where I tried one line at a time.[main]leftmeta+tab = leftcontrol+leftmeta+right #leftcontrol+leftmeta+right = leftmeta+tab#leftcontrol+tab = macro(leftcontrol+leftmeta+right)None of...

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

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
Browsing all 74 articles
Browse latest View live


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