From 0b0c26c25fe05f75f20de8713017e3383d261707 Mon Sep 17 00:00:00 2001 From: Pavel Pertsev Date: Wed, 19 Mar 2014 09:57:54 +0300 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e8a7e3f4..d75a2014 100644 --- a/README.md +++ b/README.md @@ -63,9 +63,9 @@ Just setting background to an appropriate value would work as well: Since gruvbox inverts cursor color, it could be awkward to determine current position, when the search is highlighted. To get single cursor color while searching, map these gruvbox functions same way: - map :call gruvbox#hls_toggle() - imap :call gruvbox#hls_toggle()a - vmap :call gruvbox#hls_toggle()gv + nnoremap :call gruvbox#hls_toggle() + inoremap :call gruvbox#hls_toggle()a + vnoremap :call gruvbox#hls_toggle()gv nnoremap :call gruvbox#hls_hide() @@ -73,7 +73,7 @@ Since gruvbox inverts cursor color, it could be awkward to determine current pos nnoremap / :let @/ = "":call gruvbox#hls_show()/ nnoremap ? :let @/ = "":call gruvbox#hls_show()? -So you'll get `g:gruvbox_hls_cursor` (orange by default) cursor color when highlight search is on and inverted one otherwise. With such mappings you could also toggle search highlight on and off with F4 and hide it with Enter. +So you'll get `g:gruvbox_hls_cursor` (orange by default) cursor color when highlight search is on and inverted one otherwise. With such mappings you could also toggle search highlight on and off with and hide it with Enter. Terminal-specific -----------------