Created
September 14, 2023 20:51
-
-
Save saiashirwad/d7291a1b85f615e3c204a87cef520094 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
Plug 'kana/vim-textobj-entire' | |
set easymotion | |
set surround | |
set clipboard+=unnamed | |
set ideajoin | |
set multiple-cursors | |
set visualbell | |
let mapleader = " " | |
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 <leader>ee :action EditorSelectWord<CR> | |
nmap <leader>ff :action GotoFile<CR> | |
nmap <c-f> :action Find<CR> | |
nmap <leader>a :action FindInPath<CR> | |
nmap <c-g><c-r> :action ShowUsages<CR> | |
nmap <leader>bp :bp<CR> | |
nmap <leader>bn :bn<CR> | |
nmap <leader>pi :action ParameterInfo<CR> | |
nmap <leader>df :action ToggleDistractionFreeMode<CR> | |
nnoremap <c-t> :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 <C-.> :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 <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