[vim] add lir instead of defx (no python dep yay)

This commit is contained in:
Barak Michener 2024-03-27 11:06:03 -07:00
parent 80f3c7ec18
commit 0cab81e17c
3 changed files with 101 additions and 13 deletions

6
.vimrc
View file

@ -239,8 +239,7 @@ Plug 'creativenull/efmls-configs-nvim', { 'tag': 'v1.*' }
"Plug 'Shougo/vimproc.vim'
"Plug 'Shougo/vimfiler.vim'
Plug 'Shougo/defx.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'kristijanhusak/defx-icons'
Plug 'tamago324/lir.nvim'
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'nvim-treesitter/playground'
@ -922,7 +921,8 @@ endfunction
"nmap gt :NERDTreeToggle<CR>
"nmap <silent> gt :VimFilerExplorer -winwidth=40 -toggle -direction=rightbelow -parent -status -force-hide<CR>
"nmap <silent> gt :VimFiler -status -auto-cd -parent -force-quit<CR>
nmap <silent> gt :Defx `escape(expand('%:p:h'), ' :')` -search=`expand('%:p')` -columns=icons:indent:filename:type<CR>
"nmap <silent> gt :Defx `escape(expand('%:p:h'), ' :')` -search=`expand('%:p')` -columns=icons:indent:filename:type<CR>
nmap <silent> gt :edit .<CR>
""nnoremap <silent> gt :NvimTreeToggle<CR>
" The same for the TagList, useful for large C files.
"nmap gb :TlistToggle<CR>