diff --git a/.ideavimrc b/.ideavimrc index d7dc47e..2ed3109 100644 --- a/.ideavimrc +++ b/.ideavimrc @@ -15,12 +15,12 @@ Plug 'tpope/vim-commentary' Plug 'tpope/vim-surround' Plug 'preservim/nerdtree' -nmap :NERDTreeFocus +nmap tr :NERDTreeFocus Plug 'easymotion/vim-easymotion' let g:EasyMotion_do_mapping = 0 set easymotion -nmap s (easymotion-s2) +nmap gw (easymotion-w) " Keymaps nmap bd :bd @@ -29,6 +29,10 @@ nmap } :bn nmap w nmap fs :w +" Move lines in visual mode +vmap J :m '>+1gv=gv +vmap K :m '>-2gv=gv + " -- Map IDE actions to IdeaVim -- https://jb.gg/abva4t nmap if :(ReformatCode) nmap id :(Debug) @@ -36,4 +40,14 @@ nmap ir :(Run) nmap ib :(ToggleLineBreakpoint) nmap iR :(IdeaVim.ReloadVimRc.reload) nmap :(SearchEverywhere) -nmap it :(ActivateTerminalToolWindow) \ No newline at end of file +nmap it :(ActivateTerminalToolWindow) +nmap / :(FindInPath) + +" Harpoon Binds +nmap (ShowHarpoon) +nmap a :(AddToHarpoon) +nmap :(GotoHarpoon1) +nmap :(GotoHarpoon2) +nmap :(GotoHarpoon3) +nmap :(GotoHarpoon4) +nmap :(GotoHarpoon5)