[gnome-builder] libide: fix vim <shift>o when used with custom auto indenter



commit 0ef3eec1a1b62e977bff9ad9f3c5a56f0d97cfd3
Author: Christian Hergert <christian hergert me>
Date:   Fri Mar 6 12:04:28 2015 -0800

    libide: fix vim <shift>o when used with custom auto indenter

 data/keybindings/vim.css |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 7931cdb..0d88fe9 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -106,8 +106,9 @@
 
   /* insert line before current */
   bind "<shift>o" { "movement" (first-char, 0, 0, 0)
-                    "insert-at-cursor-and-indent" ("\n")
+                    "insert-at-cursor" ("\n")
                     "move-cursor" (display-lines, -1, 0)
+                    "auto-indent" ()
                     "set-mode" ("vim-insert", permanent) };
 
   /* swallow the current character and go to insert */


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