Skip to content

tom-power/right-shift-vi-like-autokey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vi like key bindings for Linux and X11

Inspired by vi like editor keybindings, these autokey scripts have more or less saved my life, YMMV!

demo

Mappings

With right shift/hyper as modifier, can be combined with other modifiers:

Movement

From To
h/j/k/l arrow keys
w/b word forward/back
a/e home/end
p/; page up/down

Editing

From To
s/c/v/x/z/t/i send with ctrl
m return
f/d delete/backspace
space tab

Other

From To
ctrl+space escape
y ctrl+w (close tab)
u/o ctrl+shift+[/] (switch tab)
g ctrl+l (focus address bar)

Extras

From To
"+left_shift double quote wrap selection
q+left_shift single quote
q single quote wrap selection
i ./
i+left_shift ../
` ~/

Installation

keyboard

The scripts use hyper as modifier, do something like this to add the mapping:

xmodmap -e "remove shift = Shift_R" &&
xmodmap -e "keysym Shift_R = Hyper_R"
autokey

Install autokey, then:

clone https://github.com/tom-power/right-shift-vi-like-autokey &&
cd ./right-shift-vi-like-autokey &&
./install.sh

review in autokey -> Show main window

Notes

run setxkbmap -option ctrl:nocaps before xmodmap to map capslock to control

About

Vi like keybindings for autokey

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published