Contents
How to remap arrow keys to JKLI keyboard?
Remmaping “modifier key” to “unreal key”, key that does not physically exists on current keyboard, makes it work like “Fn key” (1). Pressing this key will not modify, nor interrupt any other keys (like Win, Alt, Ctrl, Shift, etc) and you will be able to use any combination of keys.
How to change caps lock to hyper key?
At first caps lock has to be changed to function as the hyper key. This can be done with Gnome Tweak Tool. Move the scripts to the directory ~/.config/autokey/data/. Terminator is used as a terminal and scripts can be found here.
Can you use IJKL as an arrow key?
With this script, ijkl will work as the arrow keys as long as right alt is pressed. It seems to work well in combination with shift and control. However, the downside is that right alt loses its original function. It is not a problem for me because I only use left alt.
Where can I find Caps Lock and IJKL aliases?
In karabiner.json locate the profile ‘CAPSLOCK + IJKL’ and copy all the desired modifications from the ‘rules’ section (lines 153 to 844). gitalias.txt contain git aliases to be added to your git config.
How to put arrow keys on the keyboard?
It is conviniet to put arrow keys similar to vim “hjkl”, but with shift to right – “jkl;” so fingers are always on typing position, plus additional keys. With autostartup (4) – it work like a charm and reduce overhead of configuring different text editors, browsers, terminals, etc.
How to switch between window splits in Vim?
(1) In order to move to the file in the split above my current window, I was typing Ctrl-W, Up (move up a window) Ctrl-W, _ (maximize the window). That’s four keystrokes (more if you count Ctrl and Shift), and they are all over the keyboard. To help avoid this problem, I created this mapping in my .vimrc:
What’s the best way to move between files?
Just use: My problems were that (1) it took too long to move between files, and (2) the files were taking up too much room on the screen. (1) In order to move to the file in the split above my current window, I was typing Ctrl-W, Up (move up a window) Ctrl-W, _ (maximize the window).
How to move cursor between windows in Vim?
In this case it helps to set the winheight less than the screen height and then set winminheight before setting winheight=999 again. So to have the settings in .vimrc: I created the SwitchWindow function which uses the ALT left/right/up/down cursor keys to easily move between windows.