diff --git a/src/user/modules/utils/modules/vim/config/vimrc b/src/user/modules/utils/modules/vim/config/vimrc index 704e120..f93131d 100644 --- a/src/user/modules/utils/modules/vim/config/vimrc +++ b/src/user/modules/utils/modules/vim/config/vimrc @@ -23,6 +23,7 @@ call plug#begin('~/.vim/plugged') Plug 'itchyny/lightline.vim' Plug 'tpope/vim-fugitive' Plug 'mhinz/vim-signify' + Plug 'osyo-manga/vim-anzu' call plug#end() let mapleader = "\" @@ -59,6 +60,15 @@ set tabstop=2 set shiftwidth=2 set expandtab +set statusline=%{anzu#search_status()} + +nmap n (anzu-n-with-echo) +nmap N (anzu-N-with-echo) +nmap * (anzu-star-with-echo) +nmap # (anzu-sharp-with-echo) + +nmap (anzu-clear-search-status) + vnoremap < >gv nnoremap zz