diff --git a/.ideavimrc b/.ideavimrc index f3562c2..5be66ea 100644 --- a/.ideavimrc +++ b/.ideavimrc @@ -1,3 +1,6 @@ +" custom map-key for intellij +" author: stanhe + let mapleader="," " change tab,replace by C+M+h/l in my studio settings noremap l gt @@ -9,6 +12,8 @@ noremap af :action FileStructurePopup noremap sf :action ShowFilePath " actions gc and gf more convenient,ga replace by C+M+f +noremap :action GotoFile +noremap :action GotoClass noremap gc :action GotoClass noremap gf :action GotoFile noremap ga :action GotoAction @@ -17,8 +22,22 @@ noremap gi :action GotoImplementation noremap gs :action GotoSuperMethod noremap gt :action GotoTest +" windows +noremap xr :action Run +noremap sv :action VimWindowSplitVertical +noremap sh :action VimWindowSplitHorizontal +noremap x0 :action VimWindowClose +noremap xq :action VimWindowClose +noremap xl :action VimWindowRight +noremap xh :action VimWindowLeft +noremap xj :action VimWindowDown +noremap xk :action VimWindowUp +noremap xo :action VimWindowOnly + + " search set incsearch set ignorecase smartcase set hls -nnoremap sc :nohlsearch \ No newline at end of file +nnoremap sc :nohlsearch +set clipboard+=unnamed