Revert Vista shortcut, add preview to Vista finder

This commit is contained in:
Edward Litherland-Smith 2022-08-08 17:31:37 +01:00
parent 5107b6069a
commit 52c475b380

View file

@ -80,13 +80,14 @@ set smartindent
filetype plugin indent on filetype plugin indent on
let g:vista_default_executive = 'nvim_lsp' let g:vista_default_executive = 'nvim_lsp'
let g:vista_fzf_preview = ['right:50%']
imap jk <Esc> imap jk <Esc>
command Bd b# | bd # command Bd b# | bd #
command! BufOnly silent! execute "%bd|e#|bd#" command! BufOnly silent! execute "%bd|e#|bd#"
nnoremap <Leader>b :buffers<CR>:buffer<Space> nnoremap <Leader>b :buffers<CR>:buffer<Space>
nnoremap <leader>n :NERDTreeFocus<CR> nnoremap <leader>n :NERDTreeFocus<CR>
nnoremap <leader>k :Vista!!<CR> nnoremap <leader>k :Vista<CR>
nnoremap <leader>; :Vista finder<CR> nnoremap <leader>; :Vista finder<CR>
nnoremap <C-n> :NERDTree<CR> nnoremap <C-n> :NERDTree<CR>
nnoremap <C-t> :NERDTreeToggle<CR> nnoremap <C-t> :NERDTreeToggle<CR>