[gnome-builder/wip/libide] libide: add some theatrics



commit 227c49b829a4ced6c5d89f13aa63c94d534a0ec7
Author: Christian Hergert <christian hergert me>
Date:   Thu Mar 5 12:28:52 2015 -0800

    libide: add some theatrics

 data/keybindings/vim.css |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 765e80b..9d5bb2e 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -202,7 +202,7 @@
              "movement" (last-char, 1)
              "move-cursor" (visual-positions, 1, 1)
              "copy-clipboard" ()
-             "selection-theatric" ()
+             "selection-theatric" (expand)
              "clear-selection" ()
              "restore-insert-mark" () };
 }
@@ -251,25 +251,32 @@
                     "set-mode" ("vim-normal", permanent) };
 
   bind "y"        { "copy-clipboard" ()
+                    "selection-theatric" (expand)
                     "clear-selection" ()
                     "set-mode" ("vim-normal", permanent) };
+
   bind "<shift>y" { "copy-clipboard" ()
+                    "selection-theatric" (expand)
                     "clear-selection" ()
                     "set-mode" ("vim-normal", permanent) };
 
   bind "<shift>j" { "join-lines" ()
+                    "selection-theatric" (expand)
                     "clear-selection" ()
                     "movement" (last-char, 0)
                     "set-mode" ("vim-normal", permanent) };
 
-  bind "asciitilde" { "change-case" (toggle)
+  bind "asciitilde" { "selection-theatric" (expand)
+                      "change-case" (toggle)
                       "clear-selection" ()
                       "set-mode" ("vim-normal", permanent) };
 
-  bind "<shift>u" { "change-case" (upper)
+  bind "<shift>u" { "selection-theatric" (expand)
+                    "change-case" (upper)
                     "clear-selection" ()
                     "set-mode" ("vim-normal", permanent) };
-  bind "u" { "change-case" (lower)
+  bind "u" { "selection-theatric" (expand)
+             "change-case" (lower)
              "clear-selection" ()
              "set-mode" ("vim-normal", permanent) };
 }


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