[gnome-builder] libide: add <shift>j to join lines in visual mode



commit f54cdff107136f26a1089294fa489fe6d1c0a00f
Author: Christian Hergert <christian hergert me>
Date:   Thu Mar 5 13:12:04 2015 -0800

    libide: add <shift>j to join lines in visual mode

 data/keybindings/vim.css |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 37eb3ef..7468c5c 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -325,6 +325,12 @@
   bind "<ctrl>e" { "movement" (screen-up, 1) };
   bind "<ctrl>y" { "movement" (screen-down, 1) };
 
+  bind "<shift>j" { "join-lines" ()
+                    "selection-theatric" (expand)
+                    "clear-selection" ()
+                    "movement" (last-char, 0)
+                    "set-mode" ("vim-normal", permanent) };
+
   bind "g" { "set-mode" ("vim-visual-g", transient) };
   bind "z" { "set-mode" ("vim-visual-z", transient) };
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]