mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 08:39:42 -04:00
added vim-anzu plugin
This commit is contained in:
parent
380167c65b
commit
1a6799aa9a
1 changed files with 10 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ call plug#begin('~/.vim/plugged')
|
||||||
Plug 'itchyny/lightline.vim'
|
Plug 'itchyny/lightline.vim'
|
||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
Plug 'mhinz/vim-signify'
|
Plug 'mhinz/vim-signify'
|
||||||
|
Plug 'osyo-manga/vim-anzu'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
let mapleader = "\<Space>"
|
let mapleader = "\<Space>"
|
||||||
|
|
@ -59,6 +60,15 @@ set tabstop=2
|
||||||
set shiftwidth=2
|
set shiftwidth=2
|
||||||
set expandtab
|
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
|
||||||
vnoremap > >gv
|
vnoremap > >gv
|
||||||
nnoremap <C-U> <C-U>zz
|
nnoremap <C-U> <C-U>zz
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue