diff --git a/.ideavimrc b/.ideavimrc new file mode 100644 index 0000000..58d9091 --- /dev/null +++ b/.ideavimrc @@ -0,0 +1,55 @@ +" プラグインの有効化 +set surround +set commentary +set ideajoin + +" その他オプションの有効化 +set clipboard+=unnamedplus +set keep-english-in-normal + +" キーバインド +let mapleader=" " +nnoremap ew :w +nnoremap eq :wq +nnoremap Q :quit! +nnoremap :%s///cg +nnoremap k gk +nnoremap j gj +nnoremap gk +nnoremap gj +nnoremap O :call append(expand('.'), '')j +nnoremap p ]p +nnoremap P ]P +nnoremap ]p p +nnoremap ]P P +nnoremap [m :action MethodUp +nnoremap ]m :action MethodDown +nnoremap [e :action GotoPreviousError +nnoremap ]e :action GotoNextError +nnoremap K :action QuickJavaDoc +nnoremap d :action Debug +nnoremap a :action GotoAction +nnoremap G :action Generate +nnoremap gn :action NewClass +nnoremap go :action OverrideMethods +nnoremap gc :action GenerateConstructor +nnoremap gg :action GenerateGetter +nnoremap gs :action GenerateSetter +nnoremap ga :action GenerateGetterAndSetter +nnoremap ge :action GenerateEquals +nnoremap gt :action GenerateTestMethod +nnoremap p :action ReformatCode +nnoremap o :action FileStructurePopup +nnoremap q :action CloseContent +nnoremap Q :action ReopenClosedTab +nnoremap e :action SearchEverywhere +nnoremap f :action GotoFile +nnoremap F :action FindInPath +nnoremap s :action GotoClass +nnoremap S :action GotoSymbol +nnoremap t :action ActivateTerminalToolWindow +nnoremap . :action ActivateProjectToolWindow +nnoremap P :action ManageRecentProjects +nnoremap b :action ToggleLineBreakpoint +nnoremap j :action Run +nnoremap w :action HideAllWindows