IdeaVimrc

Kyeongrok Kim·2024년 4월 3일
0
"-----------------------------------------------------------------------"
" Move Screen
"-----------------------------------------------------------------------"
nnoremap <C-h> <C-w>h
nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
nnoremap <C-l> <C-w>l

map <leader>gm <action>(Git.Menu)
map <leader>gp <action>(Git.Pull)
" git branch
map <leader>gb <action>(Git.Branches)
" git branch list
map <leader>gl <action>(Git.Log)

" open ideavimrc file
map <leader>vi :e ~/.ideavimrc<CR>
" source ideavimrc file
map <leader>vs :source ~/.ideavimrc<CR>

" run
map <leader>rr <action>(ChooseRunConfiguration)
map <leader><leader>r <action>(Run)
map <leader>rd <action>(ChooseDebugConfiguration)
map <leader>rc <action>(RunConfigurationRedesignedRunConfigurationSelector)

"stop
map <leader>ss <action>(Stop)
map <leader>sa <action>(StopAll)

"hide
map <leader>wh <action>(HideActiveWindow)

"show
map <leader>ws <action>(ShowActiveWindow)

"-------------
" EasyMotion
"-------------
nmap <Leader>l <Plug>(easymotion-lineforward)
nmap <Leader>j <Plug>(easymotion-j)
nmap <Leader>k <Plug>(easymotion-k)
nmap <Leader>h <Plug>(easymotion-linebackward)
nmap <Leader>a <Plug>(easymotion-jumptoanywhere)

nmap <Leader>b <action>(Back)
nmap <Leader>gd <action>(GoToDeclaration)
profile
개발자

0개의 댓글