Last active
June 14, 2024 10:48
-
-
Save mrioqueiroz/ea3cf88ab9d00223ed1b60d4ac24bd34 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nnoremap <space> <nop> | |
vnoremap <space> <nop> | |
sunmap <space> | |
let mapleader=" " | |
set timeoutlen=800 | |
set number relativenumber | |
set scrolloff=15 | |
set ignorecase smartcase incsearch hlsearch | |
set showmode showcmd | |
set ideajoin " Perform a join via the IDE | |
set nooldundo | |
nnoremap <leader>/ :nohlsearch<cr> | |
inoremap jj <esc>l | |
vnoremap <C-c> "+y | |
inoremap <C-v> <esc>"+p | |
nnoremap <tab> w | |
nnoremap <leader>j :w<cr> | |
nnoremap <leader>J :action ReformatCode<cr>:w<cr> | |
nnoremap <leader>; :action SearchEverywhere<cr> | |
vnoremap <leader>; :action SearchEverywhere<cr> | |
nnoremap <leader>: :action GotoFile<cr> | |
nnoremap <leader>a :action $SelectAll<cr> | |
nnoremap <leader><space> :action RecentFiles<cr> | |
nnoremap <leader>q :action CloseEditor<cr> | |
nnoremap <leader>QA :action CloseAllEditors<cr> | |
nnoremap <leader>QB :action CloseAllEditorsButActive<cr> | |
nnoremap <leader>QQ :action Exit<cr> | |
nnoremap <leader>QP :action CloseProject<cr> | |
nnoremap <leader>r :action Replace<cr> | |
nnoremap <leader>R :action Replace<cr> | |
vnoremap <leader>r :action Replace<cr> | |
vnoremap <leader>R :action Replace<cr> | |
nnoremap <leader>s :source ~/.ideavimrc<cr> | |
nnoremap <leader>I :e ~/.ideavimrc<cr> | |
nnoremap <C-space>j :action ActivateTerminalToolWindow<cr> | |
inoremap <C-space> :action CodeCompletion<cr> | |
nnoremap <C-j> :action ActivateTerminalToolWindow<cr> | |
nnoremap gcil :action CommentByLineComment<cr><up> | |
nnoremap gcip vip :action CommentByLineComment<cr><esc> | |
nnoremap gcap vip :action CommentByBlockComment<cr><esc> | |
vnoremap gc :action CommentByLineComment<cr> | |
vnoremap <leader>c :action CommentByLineComment<cr> | |
nnoremap <leader>o :action ActivateProjectToolWindow<cr> | |
nnoremap <leader>O :action ActivateStructureToolWindow<cr> | |
nnoremap <leader>t :action ActivateTerminalToolWindow<cr> | |
nnoremap gsta :action ActivateCommitToolWindow<cr> | |
nnoremap gadd :action Git.Add<cr> | |
nnoremap glog :action ActivateVersionControlToolWindow<cr> | |
nnoremap gpus :action Vcs.Push<cr> | |
nnoremap vil ^v$h | |
nnoremap val 0v$ | |
nnoremap dil ^v$hd | |
nnoremap dal 0v$d | |
nnoremap cil ^v$hc | |
nnoremap cal 0v$c | |
nnoremap <leader>\ :action SplitVertically<cr> | |
nnoremap <leader>- :action SplitHorizontally<cr> | |
nnoremap <leader>0 :action Unsplit<cr> | |
nnoremap <leader>wu :action Unsplit<cr> | |
nnoremap <leader>wm :action MoveEditorToOppositeTabGroup<cr> | |
nnoremap <leader>z :action HideAllWindows<cr> | |
nnoremap <leader>Z :action ToggleDistractionFreeMode<cr> | |
nnoremap <leader>fg :action FindInPath<cr> | |
nnoremap <leader>ff :action GotoFile<cr> | |
nnoremap <leader>fa :action GotoAction<cr> | |
nnoremap <leader>gd :action GotoDeclaration<cr> | |
nnoremap <leader>gi :action GotoImplementation<cr> | |
nnoremap <leader>gy :action GotoTypeDeclaration<cr> | |
nnoremap <leader>gu :action ShowUsages<cr> | |
nnoremap <leader>gt :action GotoTest<cr> | |
nnoremap <leader>S :action ShowSettings<cr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment