/* 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 "d" { "delete-from-cursor" (chars, 1) }; bind "d" { "delete-from-cursor" (word-ends, 1) }; bind "k" { "delete-from-cursor" (paragraph-ends, 1) }; bind "backslash" { "delete-from-cursor" (whitespace, 1) }; bind "BackSpace" { "delete-from-cursor" (word-ends, -1) }; bind "space" { "delete-from-cursor" (whitespace, 1) "insert-at-cursor" (" ") }; bind "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; }