Revert "deprecate hls cursor functions"

This reverts commit 6de3dc3793.
This commit is contained in:
Pavel Pertsev
2015-09-04 19:38:14 +03:00
parent 13f52ab26f
commit 6f10f00d60
2 changed files with 30 additions and 2 deletions

View File

@@ -16,4 +16,26 @@ function! gruvbox#invert_signs_toggle()
colorscheme gruvbox
endfunction
" Search Highlighting {{{
function! gruvbox#hls_show()
set hlsearch
call GruvboxHlsShowCursor()
endfunction
function! gruvbox#hls_hide()
set nohlsearch
call GruvboxHlsHideCursor()
endfunction
function! gruvbox#hls_toggle()
if &hlsearch
call gruvbox#hls_hide()
else
call gruvbox#hls_show()
endif
endfunction
" }}}
" vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker: