diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 635d22b..3a3475f 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -100,6 +100,7 @@ Plug 'liuchengxu/vim-which-key' Plug 'farmergreg/vim-lastplace' Plug 'ronakg/quickr-preview.vim' Plug 'voldikss/vim-floaterm' +Plug 'pechorin/any-jump.nvim' " Initialize plugin system call plug#end() @@ -362,6 +363,11 @@ vnoremap # :Tabularize /#-} vnoremap : :Tabularize /:: vnoremap [ :Tabularize /[ +" Any jump +nnoremap aj :AnyJump +nnoremap ab :AnyJumpBack +nnoremap al :AnyJumpLastResults + command! -bang -nargs=* GGrep \ call fzf#vim#grep( \ 'git grep --line-number '.shellescape(), 0, @@ -706,6 +712,8 @@ let g:floaterm_height = 0.8 let g:floaterm_winblend = 0 let g:floaterm_borderchars = ['─', '│', '─', '│', '╭', '╮', '╯', '╰'] +let g:any_jump_disable_default_keybindings = v:true + " ----------------------------- Functions ------------------------------------ function! NvimGdbNoTKeymaps() tnoremap