keys.css: Remove semicolons at end of rules
This is not CSS conform (it will break resync code after errors for generic CSS parsers), so I deprecated the support for that semicolon.
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
|
||||
bind "<ctrl>h" { "delete-from-cursor" (chars, -1) };
|
||||
bind "<ctrl>w" { "delete-from-cursor" (word-ends, -1) };
|
||||
};
|
||||
}
|
||||
|
||||
/*
|
||||
* Bindings for GtkTextView
|
||||
@@ -83,7 +83,7 @@
|
||||
|
||||
bind "<ctrl>space" { "set-anchor" () };
|
||||
bind "<ctrl>KP_Space" { "set-anchor" () };
|
||||
};
|
||||
}
|
||||
|
||||
/*
|
||||
* Bindings for GtkTreeView
|
||||
@@ -93,7 +93,7 @@
|
||||
bind "<ctrl>s" { "start-interactive-search" () };
|
||||
bind "<ctrl>f" { "move-cursor" (logical-positions, 1) };
|
||||
bind "<ctrl>b" { "move-cursor" (logical-positions, -1) };
|
||||
};
|
||||
}
|
||||
|
||||
/*
|
||||
* Bindings for menus
|
||||
@@ -104,7 +104,7 @@
|
||||
bind "<ctrl>p" { "move-current" (prev) };
|
||||
bind "<ctrl>f" { "move-current" (child) };
|
||||
bind "<ctrl>b" { "move-current" (parent) };
|
||||
};
|
||||
}
|
||||
|
||||
GtkEntry {
|
||||
gtk-key-bindings: gtk-emacs-text-entry;
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
bind "<shift><alt>KP_Right" { "move-cursor" (words, 1, 1) };
|
||||
bind "<shift><alt>Left" { "move-cursor" (words, -1, 1) };
|
||||
bind "<shift><alt>KP_Left" { "move-cursor" (words, -1, 1) };
|
||||
};
|
||||
}
|
||||
|
||||
@binding-set gtk-mac-alt-delete
|
||||
{
|
||||
bind "<alt>Delete" { "delete-from-cursor" (word-ends, 1) };
|
||||
bind "<alt>KP_Delete" { "delete-from-cursor" (word-ends, 1) };
|
||||
bind "<alt>BackSpace" { "delete-from-cursor" (word-ends, -1) };
|
||||
};
|
||||
}
|
||||
|
||||
@binding-set gtk-mac-cmd-c
|
||||
{
|
||||
@@ -25,7 +25,7 @@
|
||||
unbind "<ctrl>x";
|
||||
unbind "<ctrl>c";
|
||||
unbind "<ctrl>v";
|
||||
};
|
||||
}
|
||||
|
||||
@binding-set gtk-mac-text-view
|
||||
{
|
||||
@@ -33,7 +33,7 @@
|
||||
bind "<meta>a" { "select-all" (1) };
|
||||
unbind "<shift><ctrl>a";
|
||||
unbind "<ctrl>a";
|
||||
};
|
||||
}
|
||||
|
||||
@binding-set gtk-mac-label
|
||||
{
|
||||
@@ -46,7 +46,7 @@
|
||||
unbind "<ctrl>a";
|
||||
unbind "<shift><ctrl>a";
|
||||
unbind "<ctrl>c";
|
||||
};
|
||||
}
|
||||
|
||||
@binding-set gtk-mac-entry
|
||||
{
|
||||
@@ -57,7 +57,7 @@
|
||||
bind "<shift><meta>a" { "move-cursor" (visual-positions, 0, 0) };
|
||||
unbind "<ctrl>a";
|
||||
unbind "<shift><ctrl>a";
|
||||
};
|
||||
}
|
||||
|
||||
@binding-set gtk-mac-file-chooser
|
||||
{
|
||||
@@ -67,7 +67,7 @@
|
||||
bind "<meta><shift>G" { "location-popup" () };
|
||||
bind "<meta><shift>H" { "home-folder" () };
|
||||
bind "<meta>Up" { "up-folder" () };
|
||||
};
|
||||
}
|
||||
|
||||
@binding-set gtk-mac-tree-view
|
||||
{
|
||||
@@ -79,7 +79,7 @@
|
||||
unbind "<shift><ctrl>a";
|
||||
unbind "<ctrl>f";
|
||||
unbind "<ctrl>F";
|
||||
};
|
||||
}
|
||||
|
||||
@binding-set gtk-mac-icon-view
|
||||
{
|
||||
@@ -87,7 +87,7 @@
|
||||
bind "<shift><meta>a" { "unselect-all" () };
|
||||
unbind "<ctrl>a";
|
||||
unbind "<shift><ctrl>a";
|
||||
};
|
||||
}
|
||||
|
||||
@binding-set gtk-mac-alt-arrows
|
||||
{
|
||||
@@ -99,14 +99,14 @@
|
||||
bind "<shift><alt>KP_Right" { "move-cursor" (words, 1, 1) };
|
||||
bind "<shift><alt>Left" { "move-cursor" (words, -1, 1) };
|
||||
bind "<shift><alt>KP_Left" { "move-cursor" (words, -1, 1) };
|
||||
};
|
||||
}
|
||||
|
||||
@binding-set gtk-mac-alt-delete
|
||||
{
|
||||
bind "<alt>Delete" { "delete-from-cursor" (word-ends, 1) };
|
||||
bind "<alt>KP_Delete" { "delete-from-cursor" (word-ends, 1) };
|
||||
bind "<alt>BackSpace" { "delete-from-cursor" (word-ends, -1) };
|
||||
};
|
||||
}
|
||||
|
||||
@binding-set gtk-mac-cmd-c
|
||||
{
|
||||
@@ -116,7 +116,7 @@
|
||||
unbind "<ctrl>x";
|
||||
unbind "<ctrl>c";
|
||||
unbind "<ctrl>v";
|
||||
};
|
||||
}
|
||||
|
||||
@binding-set gtk-mac-text-view
|
||||
{
|
||||
@@ -124,7 +124,7 @@
|
||||
bind "<meta>a" { "select-all" (1) };
|
||||
unbind "<shift><ctrl>a";
|
||||
unbind "<ctrl>a";
|
||||
};
|
||||
}
|
||||
|
||||
@binding-set gtk-mac-label
|
||||
{
|
||||
@@ -137,7 +137,7 @@
|
||||
unbind "<ctrl>a";
|
||||
unbind "<shift><ctrl>a";
|
||||
unbind "<ctrl>c";
|
||||
};
|
||||
}
|
||||
|
||||
@binding-set gtk-mac-entry
|
||||
{
|
||||
@@ -148,7 +148,7 @@
|
||||
bind "<shift><meta>a" { "move-cursor" (visual-positions, 0, 0) };
|
||||
unbind "<ctrl>a";
|
||||
unbind "<shift><ctrl>a";
|
||||
};
|
||||
}
|
||||
|
||||
@binding-set gtk-mac-file-chooser
|
||||
{
|
||||
@@ -158,7 +158,7 @@
|
||||
bind "<meta><shift>G" { "location-popup" () };
|
||||
bind "<meta><shift>H" { "home-folder" () };
|
||||
bind "<meta>Up" { "up-folder" () };
|
||||
};
|
||||
}
|
||||
|
||||
@binding-set gtk-mac-tree-view
|
||||
{
|
||||
@@ -170,7 +170,7 @@
|
||||
unbind "<shift><ctrl>a";
|
||||
unbind "<ctrl>f";
|
||||
unbind "<ctrl>F";
|
||||
};
|
||||
}
|
||||
|
||||
@binding-set gtk-mac-icon-view
|
||||
{
|
||||
@@ -178,7 +178,7 @@
|
||||
bind "<shift><meta>a" { "unselect-all" () };
|
||||
unbind "<ctrl>a";
|
||||
unbind "<shift><ctrl>a";
|
||||
};
|
||||
}
|
||||
|
||||
GtkIconView {
|
||||
gtk-key-bindings: gtk-mac-icon-view;
|
||||
|
||||
Reference in New Issue
Block a user