added vim-anzu plugin

This commit is contained in:
Bryan Ramos 2024-07-10 11:55:39 -04:00
parent 380167c65b
commit 1a6799aa9a

View file

@ -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 = "\<Space>"
@ -59,6 +60,15 @@ set tabstop=2
set shiftwidth=2
set expandtab
set statusline=%{anzu#search_status()}
nmap n <Plug>(anzu-n-with-echo)
nmap N <Plug>(anzu-N-with-echo)
nmap * <Plug>(anzu-star-with-echo)
nmap # <Plug>(anzu-sharp-with-echo)
nmap <Esc><Esc> <Plug>(anzu-clear-search-status)
vnoremap < <gv
vnoremap > >gv
nnoremap <C-U> <C-U>zz