-
Notifications
You must be signed in to change notification settings - Fork 1
/
gtkrc-2.0
25 lines (20 loc) · 1018 Bytes
/
gtkrc-2.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
binding "vim-like"
{
bind "<ctrl>u" { "delete-from-cursor" (paragraph-ends, -1) }
bind "<ctrl>h" { "delete-from-cursor" (chars, -1) }
bind "<ctrl>w" { "delete-from-cursor" (word-ends, -1) }
bind "<alt>j" { "move-cursor" (display-lines, 1, 0) }
bind "<alt>k" { "move-cursor" (display-lines, -1, 0) }
bind "<alt>l" { "move-cursor" (logical-positions, 1, 0) }
bind "<alt>h" { "move-cursor" (logical-positions, -1, 0) }
bind "<shift><alt>j" { "move-cursor" (display-lines, 1, 1) }
bind "<shift><alt>k" { "move-cursor" (display-lines, -1, 1) }
bind "<shift><alt>l" { "move-cursor" (logical-positions, 1, 1) }
bind "<shift><alt>h" { "move-cursor" (logical-positions, -1, 1) }
bind "<alt>q" { "move-cursor" (paragraph-ends, -1, 0) }
bind "<shift><alt>q" { "move-cursor" (paragraph-ends, -1, 1) }
bind "<alt>w" { "move-cursor" (paragraph-ends, 1, 0) }
bind "<shift><alt>w" { "move-cursor" (paragraph-ends, 1, 1) }
}
class "GtkEntry" binding "vim-like"
class "GtkTextView" binding "vim-like"