diff --git a/vim/.vimrc b/vim/.vimrc index d2fd96e..7f4f2fd 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -88,6 +88,10 @@ Plug 'tpope/vim-rhubarb' " ======== Experimental ================================= Plug 'christoomey/vim-tmux-navigator' +Plug 'nvim-lua/popup.nvim' +Plug 'nvim-lua/plenary.nvim' +Plug 'nvim-telescope/telescope.nvim' + call plug#end() @@ -226,7 +230,7 @@ command! -nargs=? -complete=dir AF \ }))) let g:fzf_preview_window = '' -let g:fzf_layout = { 'window': { 'width': 0.3, 'height': 0.6, 'border': 'sharp' } } +let g:fzf_layout = { 'window': { 'width': 0.6, 'height': 0.6, 'border': 'sharp' } } let g:fzf_colors = \ { 'fg': ['fg', 'Normal'], \ 'bg': ['bg', 'Normal'], @@ -504,7 +508,8 @@ nnoremap gb :Gblame nnoremap :tabnext nnoremap :tabprevious -nnoremap vv v +" nnoremap vv v +nnoremap vv :sp nnoremap :call StripTrailingWhitespace() nnoremap S :%s/\<\>//g @@ -539,3 +544,11 @@ vmap CtrlSFVwordPath vmap (EasyAlign) xmap ga (EasyAlign) nmap ga (EasyAlign) + + +nnoremap e (expand('%') =~ 'NERD_tree' ? "\\" : '').":Files ~/Tmp\" +nnoremap E :e ~/Tmp/ + + +" nnoremap f Telescope find_files +" nmap Telescope live_grep