mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-20 02:44:44 +02:00
This is derived from my Awesome configuration. Still a lot to do from a WM perspective. The organization is a bit different and I am giving it up on the per-display systemd units as it does not really work due to the fact we only have one user DBus and one environment.
44 lines
1.4 KiB
Text
44 lines
1.4 KiB
Text
/* Useless: we cannot override properly by unbinding some keys */
|
|
/* @import url("/usr/share/themes/Emacs/gtk-3.0/gtk-keys.css"); */
|
|
|
|
@binding-set custom-text-entry
|
|
{
|
|
bind "<alt>b" { "move-cursor" (words, -1, 0) };
|
|
bind "<shift><alt>b" { "move-cursor" (words, -1, 1) };
|
|
bind "<alt>f" { "move-cursor" (words, 1, 0) };
|
|
bind "<shift><alt>f" { "move-cursor" (words, 1, 1) };
|
|
|
|
bind "<ctrl>a" { "move-cursor" (paragraph-ends, -1, 0) };
|
|
bind "<shift><ctrl>a" { "move-cursor" (paragraph-ends, -1, 1) };
|
|
bind "<ctrl>e" { "move-cursor" (paragraph-ends, 1, 0) };
|
|
bind "<shift><ctrl>e" { "move-cursor" (paragraph-ends, 1, 1) };
|
|
|
|
bind "<ctrl>y" { "paste-clipboard" () };
|
|
|
|
bind "<ctrl>d" { "delete-from-cursor" (chars, 1) };
|
|
bind "<alt>d" { "delete-from-cursor" (word-ends, 1) };
|
|
bind "<ctrl>k" { "delete-from-cursor" (paragraph-ends, 1) };
|
|
bind "<alt>backslash" { "delete-from-cursor" (whitespace, 1) };
|
|
bind "<alt>BackSpace" { "delete-from-cursor" (word-ends, -1) };
|
|
|
|
bind "<alt>space" { "delete-from-cursor" (whitespace, 1)
|
|
"insert-at-cursor" (" ") };
|
|
bind "<alt>KP_Space" { "delete-from-cursor" (whitespace, 1)
|
|
"insert-at-cursor" (" ") };
|
|
}
|
|
|
|
entry, textview
|
|
{
|
|
-gtk-key-bindings: custom-text-entry;
|
|
}
|
|
|
|
.window-frame, .window-frame:backdrop {
|
|
box-shadow: 0 0 0 black;
|
|
border-style: none;
|
|
margin: 0;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.titlebar {
|
|
border-radius: 0;
|
|
}
|