[gnome-builder/wip/libide] libide: make vim `o` and `O` trigger an indent request



commit c15d546305a1abf0f7759063782137fead729cb3
Author: Christian Hergert <christian hergert me>
Date:   Wed Mar 4 13:12:41 2015 -0800

    libide: make vim `o` and `O` trigger an indent request

 data/keybindings/vim.css |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index c0565f8..553009d 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -24,12 +24,12 @@
   /* insert line after current, insert mode */
   bind "o" { "set-mode" ("vim-insert", permanent)
              "movement" (last-char, 0)
-             "insert-at-cursor" ("\n") };
+             "insert-at-cursor-and-indent" ("\n") };
 
   /* insert line before current */
   bind "<shift>o" { "set-mode" ("vim-insert", permanent)
                     "movement" (first-char, 0)
-                    "insert-at-cursor" ("\n")
+                    "insert-at-cursor-and-indent" ("\n")
                     "move-cursor" (display-lines, -1, 0) };
 
   /* swallow the current character and go to insert */


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