Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
JetBrains IDE IdeaVim .ideavimrc.
set gdefault
set hlsearch
set ignorecase
set iskeyword
set incsearch
set number
set clipboard+=unnamed
set relativenumber
set showmode
set smartcase
set timeout
set timeoutlen=6000
set wrapscan
set commentary
set multiple-cursors
set surround
let mapleader=" "
imap jj <esc>
nnoremap <leader><leader> :action ShowIntentionActions<cr>
nnoremap <leader>! :action Terminal.OpenInTerminal<cr>
nnoremap <leader>` :action ActivateTerminalToolWindow<cr>
nnoremap <leader>/t :nohlsearch<cr>
nnoremap <leader>/s :s/
nnoremap <leader>// :%s/
nnoremap <leader>a :action GotoAction<cr>
" Buffers - tabs, windows, files
nnoremap <leader>bb :action Switcher<cr>
nnoremap <leader>bd :action CloseEditor<cr>
nnoremap <leader>bf :action ShowFilePath<cr>
nnoremap <leader>bk :action PinActiveEditorTab<cr>
nnoremap <leader>bl :action RecentLocations<cr>
nnoremap <leader>bM :action CloseAllUnpinnedEditors<cr>
nnoremap <leader>bm :action CloseAllEditorsButActive<cr>
nnoremap <leader>bN :action NewElementSamePlace<cr>
nnoremap <leader>bn :action NextTab<cr>
nnoremap <leader>bp :action PreviousTab<cr>
nnoremap <leader>bs :action NewScratchFile<cr>
nnoremap <leader>bY :%y<cr>
nnoremap <leader>cc :action CommentByLineComment<cr>
nnoremap <leader>ch :action CollapseDocComments<cr>
nnoremap <leader>cl :action CommentByLineComment<cr>
nnoremap <leader>cp :action CommentByBlockComment<cr>
nnoremap <leader>cs :action ExpandDocComments<cr>
nnoremap <leader>db :action ToggleLineBreakpoint<cr>
nnoremap <leader>dD :action Debug.DeleteAllBreakpoints<cr>
nnoremap <leader>dd :action Debug.DisableAllBreakpoints<cr>
nnoremap <leader>dE :action Debug.EnableAllBreakpoints<cr>
nnoremap <leader>de :action Debug.EnableBreakpoint<cr>
nnoremap <leader>dl :action ReSharper.ReSharper_BreakpointsStackWindow<cr>
nnoremap <leader>dS :action Debug.StopDebugging<cr>
nnoremap <leader>ds :action Debug.Start<cr>
nnoremap <leader>ed :action ShowErrorDescription<cr>
nnoremap <leader>ee :action ActivateErrorsInSolutionToolWindow<cr>
nnoremap <leader>ef :action ReSharperReanalyzeFilesWithErrors<cr>
nnoremap <leader>en :action ReSharperGotoNextErrorInSolution<cr>
nnoremap <leader>ep :action ReSharperGotoPrevErrorInSolution<cr>
nnoremap <leader>fc :action CopyPaths<cr>
nnoremap <leader>fe :action RecentChangedFiles<cr>
nnoremap <leader>ff :action GotoFile<cr>
nnoremap <leader>fl :action RecentLocations<cr>
nnoremap <leader>fm :action FileStructurePopup<cr>
nnoremap <leader>fr :action RecentFiles<cr>
nnoremap <leader>ft :action SelectIn<cr>
nnoremap <leader>fv :action ActivateStructureToolWindow<cr>
nnoremap <leader>gd :action GotoDeclaration<cr>
nnoremap <leader>gh :action QuickJavaDoc<cr>
nnoremap <leader>gg :action ReSharperNavigateTo<cr>
nnoremap <leader>gi :action GotoImplementation<cr>
nnoremap <leader>gm :action GoToMenu<cr>
nnoremap <leader>gp :action QuickImplementations<cr>
nnoremap <leader>gU :action FindUsages<cr>
nnoremap <leader>gu :action ShowUsages<cr>
nnoremap <leader>h :action ParameterInfo<cr>
nnoremap <leader>ig :action Generate<cr>
nnoremap <leader>jd :action MethodDown<cr>
nnoremap <leader>je :action EditorCodeBlockEnd<cr>
nnoremap <leader>js :action EditorCodeBlockStart<cr>
nnoremap <leader>ju :action MethodUp<cr>
nnoremap <leader>l :action LocateInSolutionView<cr>
nnoremap <leader>mc :action CleanSolutionAction<cr>
nnoremap <leader>mm :action BuildSolutionAction<cr>
nnoremap <leader>mr :action RebuildSolutionAction<cr>
nnoremap <leader>pp :action ManageRecentProjects<cr>
nnoremap <leader>rc :action ChangeSignature<cr>
nnoremap <leader>ri :action IntroduceParameter<cr>
nnoremap <leader>rm :action CodeMenu<cr>
nnoremap <leader>rn :action RenameElement<cr>
nnoremap <leader>rr :action Refactorings.QuickListPopupAction<cr>
nnoremap <leader>sc :action GotoClass<cr>
nnoremap <leader>sf :action GotoFile<cr>
nnoremap <leader>ss :action SearchEverywhere<cr>
nnoremap <leader>sy :action GotoSymbol<cr>
nnoremap <leader>th :action HideAllWindows<cr>
nnoremap <leader>V :action EditorUnSelectWord<cr>
nnoremap <leader>v :action EditorSelectWord<cr>
nnoremap <leader>wc :action ChangeSplitOrientation<cr>
nnoremap <leader>wd :action UnsplitAll<cr>
nnoremap <leader>wn :action NextSplitter<cr>
nnoremap <leader>wp :action PreviousSplitter<cr>
nnoremap <leader>ws :action SplitHorizontally<cr>
nnoremap <leader>wt :action JumpToLastWindow<cr>
nnoremap <leader>wv :action SplitVertically<cr>
nnoremap <leader>ww :action WindowMenu<cr>
nnoremap <leader>xi :action AutoIndentLines<cr>
nnoremap <leader>xo :action EditorSplitLine<cr>
nnoremap <leader>xx :action EditorActions<cr>
nnoremap <leader>xs :source ~/.ideavimrc<cr>
nnoremap <leader>xa :action
nnoremap <leader>xl :actionlist
nnoremap <leader>a :action GotoAction<cr>
vnoremap <leader>cc :action CommentByLineComment<cr>
vnoremap <leader>cl :action CommentByLineComment<cr>
vnoremap <leader>cp :action CommentByBlockComment<cr>
vnoremap <leader>rr :action Refactorings.QuickListPopupAction<cr>
vnoremap <leader>rm :action CodeMenu<cr>
vnoremap <leader>V :action EditorUnSelectWord<cr>
vnoremap <leader>v :action EditorSelectWord<cr>
vnoremap <leader>xi :action AutoIndentLines<cr>
vnoremap <leader>xo :action EditorSplitLine<cr>
vnoremap <leader>xx :action EditorActions<cr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment