Last active
February 5, 2023 08:52
-
-
Save mmqmzk/12e37620433dccd091515c6e4945ca81 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
set number "relativenumber | |
set scrolloff=4 | |
set ignorecase smartcase | |
set incsearch | |
set hlsearch | |
set autoindent | |
set smartindent | |
set timeoutlen=750 | |
set showmode | |
set showcmd | |
set matchit | |
set exchange | |
set surround | |
set NERDTree | |
set easymotion | |
set commentary | |
set textobj-entire | |
set textobj-indent | |
set highlightedyank | |
set multiple-cursors | |
set ReplaceWithRegister | |
set vim-paragraph-motion | |
set ideajoin | |
set ideamarks | |
set ideastatusicon=gray | |
set idearefactormode=keep | |
set keep-english-in-normal | |
set nokeep-english-in-normal-and-restore-in-insert | |
vnoremap x "_x | |
vnoremap s "_s | |
noremap <leader>y "*y | |
noremap <leader>p "*p | |
noremap <leader>P "*P | |
noremap zy "*y | |
noremap Y "*y | |
noremap zp "*p | |
noremap zP "*P | |
noremap K viw:action FindInPath<cr> | |
vnoremap K :action FindInPath<cr> | |
nnoremap <leader><cr> :nohlsearch<cr> | |
nnoremap <space><cr> :nohlsearch<cr> | |
nnoremap gz `[v`] | |
vnoremap < <gv | |
vnoremap > >gv | |
vnoremap p pgvy | |
vnoremap v ^$h | |
vnoremap * y/\V<c-r>0<cr> | |
vnoremap # y?\V<c-r>0<cr> | |
noremap <a-y> 3<c-y> | |
noremap <a-e> 3<c-e> | |
inoremap <a-y> <c-o><c-y> | |
inoremap <a-e> <c-o><c-e> | |
inoremap <c-[> <esc> | |
inoremap <c-]> <esc> | |
inoremap <c-a> <c-o>^ | |
inoremap <c-f> <c-o>^ | |
inoremap <c-e> <c-o>$<right> | |
inoremap <c-k> <c-o>C | |
nnoremap <c-u> :action GotoSuperMethod<cr> | |
nnoremap <c-k> :action CheckinProject<cr> | |
nnoremap <leader>r :action RecentFiles<cr> | |
nnoremap <space>r :action RecentFiles<cr> | |
nnoremap <leader>sw "_yiw:s/\(\%#\w\+\)\(\W\+\)\(\w\+\)/\3\2\1/<cr><c-o> | |
nnoremap <c-o> :action Back<cr> | |
nnoremap <c-i> :action Forward<cr> | |
let g:EasyMotion_startofline = 0 | |
let g:EasyMotion_override_acejump = 0 | |
let g:EasyMotion_re_line_anywhere = '\v(<.|.>)|(\l)\zs(\u)|([-_=\+\*#\(\[]+\zs.)|([\.\{\}\)\]\^\$\|!/;:,"'."'".']+)' | |
let g:EasyMotion_re_anywhere = '\v(<.|^)|(<.|.$)|(_\zs.)|(#\zs.)' | |
map <space> <Plug>(easymotion-prefix) | |
" map F <Plug>(easymotion-lineanywhere) | |
" map T <Plug>(easymotion-jumptoanywhere) | |
" map <space>l <Plug>(easymotion-lineforward) | |
" map <space>h <Plug>(easymotion-linebackward) | |
map <space>l <Plug>(easymotion-jumptoanywhere) | |
map <space>h <Plug>(easymotion-jumptoanywhere) | |
nnoremap <space>q :action CloseContent<cr> | |
nnoremap <space>Q :action ReopenClosedTab<cr> | |
nnoremap <space>o :action FileStructurePopup<cr> | |
noremap [[ :action CodeBlockStart<cr> | |
noremap ]] :action EditorCodeBlockEnd<cr> | |
vnoremap [[ <esc>mv:action EditorCodeBlockStart<cr>V'vo | |
vnoremap ]] <esc>mv:action EditorCodeBlockEnd<cr>V'vo | |
noremap [e ]b | |
noremap ]e ]w | |
noremap [w [b | |
noremap ]w [w | |
" noremap ]c :action NextOccurrence<cr> | |
" noremap [c :action PreviousOccurrence<cr> | |
nnoremap <s-left> [b | |
nnoremap <s-right> [w | |
vnoremap <s-left> [b | |
vnoremap <s-right> ]w]w[bh | |
inoremap <s-left> <c-o>[b | |
inoremap <s-right> <c-o>[w | |
inoremap <c-d> <c-o>d]w | |
inoremap <c-b> <c-o>d[b | |
nnoremap / :action Find<cr> | |
noremap ? / | |
noremap g? ? | |
nnoremap gs :action Replace<cr> | |
nmap <tab> <c-w>w | |
nmap <s-tab> <c-w>W | |
nnoremap <c-t> :action Vcs.UpdateProject<cr> | |
inoremap <c-s-t> <c-d> | |
sethandler <tab> n:vim i:ide x:vim v:vim | |
sethandler <s-tab> n:vim i:ide x:vim v:vim | |
sethandler <c-n> n:vim i:ide x:vim v:vim | |
sethandler <c-s-n> n:vim i:ide x:vim v:vim | |
sethandler <c-e> n:ide i:vim x:ide v:ide | |
sethandler <c-t> n:ide i:vim x:ide v:ide | |
sethandler <c-d> n:ide i:vim x:ide v:ide | |
set quickscope | |
let g:qs_highlight_on_keys = ['f', 'F', 't', 'T'] | |
" NERDTree | |
map <a-1> :NERDTreeToggle<cr> | |
map <space>1 :NERDTreeToggle<cr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment