gtk2: replace ctrl-w by alt-backspace to delete last word

This commit is contained in:
Vincent Bernat 2013-09-12 09:53:16 +02:00
parent 5372c1fbaf
commit 82b605783c

View file

@ -28,6 +28,7 @@ gtk2:write([[
gtk-key-theme-name="Emacs" gtk-key-theme-name="Emacs"
binding "does-not-intercept-ctrl-w" { binding "does-not-intercept-ctrl-w" {
unbind "<ctrl>w" unbind "<ctrl>w"
bind "<alt>BackSpace" { "delete-from-cursor" (word-ends, -1) }
} }
class "GtkEntry" binding "does-not-intercept-ctrl-w" class "GtkEntry" binding "does-not-intercept-ctrl-w"
class "GtkTextView" binding "does-not-intercept-ctrl-w" class "GtkTextView" binding "does-not-intercept-ctrl-w"