/* 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 "b" { "move-cursor" (words, -1, 0) }; bind "b" { "move-cursor" (words, -1, 1) }; bind "f" { "move-cursor" (words, 1, 0) }; bind "f" { "move-cursor" (words, 1, 1) }; bind "a" { "move-cursor" (paragraph-ends, -1, 0) }; bind "a" { "move-cursor" (paragraph-ends, -1, 1) }; bind "e" { "move-cursor" (paragraph-ends, 1, 0) }; bind "e" { "move-cursor" (paragraph-ends, 1, 1) }; bind "y" { "paste-clipboard" () }; bind "k" { "delete-from-cursor" (paragraph-ends, 1) }; bind "u" { "move-cursor" (paragraph-ends, -1, 0) "delete-from-cursor" (paragraph-ends, 1) }; bind "backslash" { "delete-from-cursor" (whitespace, 1) }; bind "BackSpace" { "delete-from-cursor" (word-ends, -1) }; } entry, textview { -gtk-key-bindings: custom-text-entry; } tooltip, menu, popover > contents { border-radius: 0; }