From 20f20b4105a7b2c56d047910c3527e5cb926d4f8 Mon Sep 17 00:00:00 2001 From: Asheq Imran Date: Wed, 19 Sep 2018 15:48:00 -0700 Subject: [PATCH] Add mappings for saner behavior of and N Add visual and operator-pending modes mappings --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 9ab8f6f..074b0de 100644 --- a/README.md +++ b/README.md @@ -1997,7 +1997,12 @@ If you want `n` to always search forward and `N` backward, use this: ```vim nnoremap n 'Nn'[v:searchforward] +xnoremap n 'Nn'[v:searchforward] +onoremap n 'Nn'[v:searchforward] + nnoremap N 'nN'[v:searchforward] +xnoremap N 'nN'[v:searchforward] +onoremap N 'nN'[v:searchforward] ``` ## Saner command-line history