[gnome-builder] spellchecker: fix the activation bindings
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] spellchecker: fix the activation bindings
- Date: Wed, 26 Jul 2017 14:37:57 +0000 (UTC)
commit f4cf918dbcad358ebe35e8c13adb601a52329ae2
Author: Sebastien Lafargue <slafargue gnome org>
Date: Wed Jul 26 16:35:55 2017 +0200
spellchecker: fix the activation bindings
In addition to the editor popup menu,
the spellchercker is activated by:
<shift>F7 in Builder and Vim mode
Alt $ in Emacs mode
data/keybindings/default.css | 1 +
data/keybindings/emacs.css | 2 +-
data/keybindings/vim.css | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/data/keybindings/default.css b/data/keybindings/default.css
index c6f9cbc..1cf15da 100644
--- a/data/keybindings/default.css
+++ b/data/keybindings/default.css
@@ -42,6 +42,7 @@
bind "F4" { "action" ("win", "find-other-file", "") };
bind "<ctrl><alt>i" { "reindent" () };
+ bind "<shift>F7" { "action" ("spellcheck", "spellcheck", "") };
}
idesourceviewmode.default {
diff --git a/data/keybindings/emacs.css b/data/keybindings/emacs.css
index 6020b9e..3d443d2 100644
--- a/data/keybindings/emacs.css
+++ b/data/keybindings/emacs.css
@@ -63,7 +63,7 @@
bind "<alt>x" { "action" ("win", "show-command-bar", "") };
bind "<ctrl>r" { "action" ("editor-view", "find", "") };
bind "<ctrl>s" { "action" ("editor-view", "find", "") };
- bind "<alt>dollar" { "action" ("frame", "spellcheck", "1") };
+ bind "<alt>dollar" { "action" ("spellcheck", "spellcheck", "") };
bind "<alt>period" { "goto-definition" () };
bind "<alt>n" { "move-error" (down) };
bind "<alt>p" { "move-error" (up) };
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index f898798..5052d52 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -112,7 +112,7 @@
bind "F4" { "action" ("win", "find-other-file", "") };
/* start spell checking */
- bind "<shift>F7" { "action" ("frame", "show-spellcheck", "1") };
+ bind "<shift>F7" { "action" ("spellcheck", "spellcheck", "") };
}
@binding-set builder-vim-source-view-normal-with-count
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]