Quantcast
Channel: Active questions tagged keymapping - Stack Overflow
Browsing all 41 articles
Browse latest View live

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

Mapping Media Keys to Seek Forward and Back in Spotify

I'm running Ubuntu, and I like to use the media keys on my keyboard to control Spotify. For basic functions such as Play, Pause, Skip to Next, and Skip to Previous, this is easy, since I can use dbus...

View Article

neovim :imap but stay printing before to replace

I'm writing a mapping in neovim. Here is::imap abcd efghWhen I type 'abcd', it replaces by 'efgh'. This is the expected behavior.But as typing 'abcd', it prints a, then replaces a by b, then replaces b...

View Article


Intellij to use Emacs keymap

Don't close it as a dup of Emacs shortcuts for IDEA IDE?just yet without reading the whole question!I've done a lot of reading before opening this question --The selected answer from 2010 to Emacs...

View Article

How set the keymap of Ctrl+Backtick in vim? [duplicate]

I want to set a keymap for Ctrl+` in vim. I tried all of the following:<C-`><C>`^`I want it to open the terminal similar to the functionality in VSCode. I expected this to work:nnoremap...

View Article

Unusual behoiur in tmux, Tab clears the pane when it's not set to

For some unknown reason in Tmux the 'Tab' key clears the pane I'm in, which is annoying when I use 'Tab' to indent in Neovim and 'Shift Tab' to unindent.Is there a way to fix this (stop 'Tab' clearing...

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


Create a shortcut to toggle the Outline view in VSCode

I've successfully created a key shortcut for outline.focus which displays the Outline panel. I'm looking for toggle behaviour.Existing:{"key": "ctrl+alt+o","command": "outline.focus","when":...

View Article

How to preserve yanked text in buffer after pasting over selection in Visual...

I am using the Vim extension in Visual Studio Code and I'm facing an issue with thebuffer behavior. When I yank some text and then paste it over a selection in visualmode, the yanked text gets replaced...

View Article

How can I remap to in the fish shell?

I've just installed fish shell in my archlinux. Because I use vi-mode in fish, I want to remap my <CapsLock> to <Escape>. How can I archieve it by adding something into my...

View Article

Change Android Studio keybind for Code > Split > Design

I am using Android Studio 4.1.1 on Windows, and I would like to use the key combinations "Alt+Shift+Left" and "Alt+Shift+Right", but those are bound by default to switching the editor's view mode...

View Article


How can I find particular file in IntelliJ IDEA?

I need to find test.xml in IntelliJ IDEA. How can I do that? Keyboard shortcut if any?

View Article

how to set up sublime text keymap to xcode

I'm used to sublime text keymap and now I'm trying to write code in xcode, but I can't get used to hotkeys in xcode. Google bard advised to download .xml file with sublime text hotkeys but I couldn't...

View Article


How to use vim.keymap.set with vim.v.count in Neovim

I'm trying to add a count to one of my key-map bindings. However, the following does not work as expected:vim.keymap.set("n", "<leader>o", vim.v.count .. 'o<Esc>')If I use the key...

View Article

Remapping keys for single user in Registry

Overview:I just have a quick question about the ability to remap keys for a single user in in the registry:Resources used:ASCII table used:...

View Article


Neovim + Lua: 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

Is it possible to map the Bluetooth keyboard to the Android custom keyboard?

I have implemented a custom keyboard using Android Studio (Input Method Service) with Kotlin. If I install this app on an Android device and connect a Bluetooth keyboard, is it possible to map the...

View Article

Compiling my custom keymap using QMK MSYS returns a multiple target patterns...

I am following the steps outlined here to customize my Planck OLKB rev6 keyboard. I'm using QMK MSYS to perform all the command line level stuff.I followed all the steps and everything works fine up...

View Article
Browsing all 41 articles
Browse latest View live




Latest Images