I want to remap Ctrl - Left to ESC but it does not work. I only can use my right hand and it would be more convenient for me.
Thanks.
I use Arco/linux and kitty terminal.
vim.keymap.set("i", "", "") I thought it should work but it doesn't
I want to remap Ctrl - Left to ESC but it does not work. I only can use my right hand and it would be more convenient for me.
Thanks.
I use Arco/linux and kitty terminal.
vim.keymap.set("i", "", "") I thought it should work but it doesn't
Copyright © 2021 Jogjafile Inc.
I don't know how to remap it only in Neovim off the top of my head, but I can help you remap it system-wide in Linux on an udev level. You can use interception-tools and make a C program to do this. I don't use arco, I use arch linux, but I think it's based on arch, so you can probably just do
sudo pacman -S interception-toolsand then write this C program or copy and paste if you like, and probably name it better from what I do belowYou can name this whatever you want but for example I named it
right.c.compile it with
gcc -o right right.candsudo mv right /usr/local/bin, then next make a file with sudo called/etc/udevmon.yamlwith these contentsthen you would just
sudo systemctl enable --now udevmon.serviceand it should work. Not sure if you need to reboot or not. If there are any issues please comment and I would love to help further. I'm sorry that you can only use your right arm. :(