https://github.com/tecfu/x11-config
Configuration for x11 window system.
https://github.com/tecfu/x11-config
Last synced: over 1 year ago
JSON representation
Configuration for x11 window system.
- Host: GitHub
- URL: https://github.com/tecfu/x11-config
- Owner: tecfu
- Created: 2018-09-04T01:39:54.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-07-29T03:37:11.000Z (almost 2 years ago)
- Last Synced: 2025-02-06T14:32:05.703Z (over 1 year ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# x-windows-system-config
## Sets up configuration for [X11 based](https://en.wikipedia.org/wiki/X_Window_System) desktops.
- Maps Caps Lock to Esc
- Sets sxhkd (Simple X Hotkey Daemon) to remap C-j, C-j to the file:
```
$ ~/dotfiles/x/remap_keypresses.sh
```
These files in turn run some xdotool commands. Those commands:
- Check if the focused window is Google Chrome.
- If TRUE, send C-j or C-k to C-b or C-m, both of which are mappable
in Chrome.
Then, in your Chrome vim plugin you can bind what you want C-j and C-k to
do to C-b / C-m instead.
This effectively allows us to override Chrome's C-j,C-k behavior, which
browser plugins can't do.
### Installation
- Dependencies:
- xdotool
- [sxhkd](https://github.com/baskerville/sxhkd)
### See Also
https://vi.stackexchange.com/a/39913/5223