[gnome-builder] vim: don't force word boundries for "n" searches
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: don't force word boundries for "n" searches
- Date: Sun, 11 Oct 2015 21:59:12 +0000 (UTC)
commit e77e239f72774bbc49364f966da73394121ee864
Author: Ray Strode <rstrode redhat com>
Date: Sun Oct 11 17:57:31 2015 -0400
vim: don't force word boundries for "n" searches
vim only needs that for # and *. Spotted by afranke.
data/keybindings/vim.css | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index b8b7339..f902feb 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -269,8 +269,8 @@
"movement" (previous-match-modifier, 0, 0, 1)
"clear-modifier" () };
- bind "n" { "move-search" (down, 0, 0, 1, 1, 1) };
- bind "<shift>n" { "move-search" (up, 0, 0, 0, 1, 1) };
+ bind "n" { "move-search" (down, 0, 0, 1, 1, 0) };
+ bind "<shift>n" { "move-search" (up, 0, 0, 0, 1, 0) };
bind "numbersign" { "movement" (previous-word-end, 0, 1, 1)
"movement" (next-word-start, 0, 1, 0)
@@ -1147,8 +1147,8 @@
bind "b" { "movement" (previous-word-start, 1, 1, 1) };
bind "<shift>b" { "movement" (previous-full-word-start, 1, 1, 1) };
- bind "n" { "move-search" (down, 1, 0, 1, 1, 1) };
- bind "<shift>n" { "move-search" (up, 1, 0, 0, 1, 1) };
+ bind "n" { "move-search" (down, 1, 0, 1, 1, 0) };
+ bind "<shift>n" { "move-search" (up, 1, 0, 0, 1, 0) };
bind "numbersign" { "save-insert-mark" ()
"movement" (previous-word-end, 0, 1, 1)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]