From fb22b8ab2dbc88b20e42d02343204efc9cec8d5d Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 18 Apr 2023 17:07:50 -0400 Subject: [PATCH] init --- .ideavimrc | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .ideavimrc diff --git a/.ideavimrc b/.ideavimrc new file mode 100644 index 0000000..f22a595 --- /dev/null +++ b/.ideavimrc @@ -0,0 +1,38 @@ +" Find more examples here: https://jb.gg/share-ideavimrc +let mapleader = " " + +" Default Settings +set scrolloff=5 +set rnu +set number +set incsearch + +" Plugins +set ideajoin + +Plug 'tpope/vim-commentary' + +Plug 'tpope/vim-surround' + +Plug 'preservim/nerdtree' +nmap :NERDTreeFocus + +Plug 'easymotion/vim-easymotion' +let g:EasyMotion_do_mapping = 0 +set easymotion +nmap s (easymotion-s2) + +" Keymaps +nmap bd :bd +nmap { :bp +nmap } :bn +nmap w +nmap fs :w + +" -- Map IDE actions to IdeaVim -- https://jb.gg/abva4t +nmap if :(ReformatCode) +nmap id :(Debug) +nmap ir :(Run) +nmap ib :(ToggleLineBreakpoint) +nmap iR :(IdeaVim.ReloadVimRc.reload) +nmap :(SearchEverywhere) \ No newline at end of file