[gnome-builder] vim: add '?' keybinding



commit bb3d2dc0bb8b7428288b5b668f33b3337e7b2e77
Author: Ray Strode <rstrode redhat com>
Date:   Sat Oct 10 21:40:24 2015 -0400

    vim: add '?' keybinding
    
    The question mark is just like / but searches in reverse instead
    of forward.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756405

 data/keybindings/vim.css |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 9eaa435..66c3ce6 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -149,6 +149,9 @@
   /* replay the last recording */
   bind "period" { "replay-macro" (1) };
 
+  /* start search backward */
+  bind "question" { "action" ("frame", "find", "2") };
+
   /* start search */
   bind "slash" { "action" ("frame", "find", "3") };
 


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