Last active
March 10, 2022 09:17
-
-
Save saiashirwad/11852ad19b62f583a09242448b7d728c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Plug 'kana/vim-textobj-entire' | |
set surround | |
set clipboard+=unnamed | |
set ideajoin | |
set multiple-cursors | |
set visualbell | |
let mapleader = " " | |
set noh | |
set highlightedyank | |
set commentary | |
set idearefactormode=keep | |
" set number relativenumber | |
set ignorecase | |
nnoremap <leader>vs :source ~/.ideavimrc<CR> | |
set NERDTree | |
map Y y$ | |
" don't overwrite register when pasting over selection | |
vnoremap p pgvy | |
" don't lose selection when indenting | |
vnoremap < <gv | |
vnoremap > >gv | |
vnoremap = =gv | |
set textobj-entire | |
nmap <c-.> :action GotoAction<CR> | |
nmap <leader>ff :action GotoFile<CR> | |
nmap <leader>a :action FindInPath<CR> | |
nmap <c-g><c-r> :action ShowUsages<CR> | |
nmap <leader>pi :action ParameterInfo<CR> | |
nmap <leader>df :action ToggleDistractionFreeMode<CR> | |
nnoremap <c-space> :action ActivateTerminalToolWindow<CR> | |
nnoremap <c-\> :action SplitVertically<CR> | |
nnoremap <c--> :action SplitHorizontally<CR> | |
nnoremap <c-=> :action Unsplit<CR> | |
nnoremap <c-m> :action MoveEditorToOppositeTabGroup<CR> | |
sethandler <c-j> a:vim | |
sethandler <c-k> a:vim | |
nnoremap <c-h> <c-w>h | |
nnoremap <c-l> <c-w>l | |
nnoremap <c-j> <c-w>j | |
nnoremap <c-k> <c-w>k | |
nnoremap <TAB> :action NextTab<CR> | |
nnoremap <s-TAB> :action PreviousTab<CR> | |
nnoremap zc :action CollapseRegion<CR> | |
nnoremap zo :action ExpandRegion<CR> | |
nnoremap <leader>zc :action CollapseAllRegions<CR> | |
nnoremap <leader>zo :action ExpandAllRegions<CR> | |
nnoremap <leader>o :action OptimizeImports<CR> | |
nnoremap <leader>= :action ReformatCode<CR> | |
nnoremap <leader>r :action Refactorings.QuickListPopupAction<CR> | |
nnoremap <leader>c :action CommentByLineComment<CR> | |
nnoremap <c-r> :action RecentFiles<CR> | |
nnoremap <leader>bb :action RecentFiles<CR> | |
nnoremap <leader>hh :action LocalHistory.ShowHistory<CR> | |
nnoremap <leader>l :action RecentLocations<CR> | |
nnoremap ge :action GotoNextError<CR> | |
nnoremap gE :action GotoPreviousError<CR> | |
nnoremap <c-/> :action FindInPath<CR> | |
nnoremap <c-s-p> :action GotoAction<CR> | |
nnoremap <c-p> :action GotoFile<CR> | |
nnoremap <leader>s :action GotoRelated<CR> | |
nnoremap <leader>hr :action CallHierarchy<CR> | |
" nnoremap <leader>t :action ActivateTerminalToolWindow<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment