[gnome-builder] vim: use IdeSourceView::reformat-selection to implement gq
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: use IdeSourceView::reformat-selection to implement gq
- Date: Fri, 31 Mar 2017 00:56:52 +0000 (UTC)
commit 263212e4c96f648d52bd3461913b45ecdf3bb331
Author: Christian Hergert <chergert redhat com>
Date: Thu Mar 30 18:53:06 2017 -0600
vim: use IdeSourceView::reformat-selection to implement gq
data/keybindings/vim.css | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 8d4eee8..008e2df 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -1892,6 +1892,8 @@
"set-mode" ("vim-visual-line", permanent) };
bind "k" { "movement" (next-line, 1, 1, 0)
"set-mode" ("vim-visual-line", permanent) };
+
+ bind "q" { "format-selection" () };
}
@binding-set builder-vim-source-view-insert
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]