i3

xdotool commands bound to key shortcuts doesnot work

▼魔方 西西 提交于 2020-01-12 03:59:22
问题 I like VIM a lot and I wanted to use it's keybindings everywhere. There are many IDE plugins that can emulate this but I wanted more, maybe VIM keybindings in Minecraft? :D or VIM keybindings everywhere without the need to download any plugin. I noticed that every single editor implements this keys: Home , End , Ctrl + End , Ctrl + Left , Ctrl + Backspace and so on... I used these keys as a building blocks and I came up with this config for i3wm: mode "VIM MODE NORMAL" { bindsym --release h

xdotool commands bound to key shortcuts doesnot work

不想你离开。 提交于 2019-12-03 03:40:14
I like VIM a lot and I wanted to use it's keybindings everywhere. There are many IDE plugins that can emulate this but I wanted more, maybe VIM keybindings in Minecraft? :D or VIM keybindings everywhere without the need to download any plugin. I noticed that every single editor implements this keys: Home , End , Ctrl + End , Ctrl + Left , Ctrl + Backspace and so on... I used these keys as a building blocks and I came up with this config for i3wm: mode "VIM MODE NORMAL" { bindsym --release h exec "xdotool key --clearmodifiers Left" bindsym --release j exec "xdotool key --clearmodifiers Down"