-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_ideavimrc
41 lines (33 loc) · 929 Bytes
/
dot_ideavimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
set ignorecase
set smartcase
set hlsearch
set incsearch
set surround
set NERDTree
" Temporarily disable search highlights with <C-l>
nnoremap <silent> <C-l> :<C-u>nohlsearch<CR><C-l>
" Don't make annoying sounds
set visualbell
set noerrorbells
" Use smart join
set ideajoin
" Don't switch to select mode when refactoring
set idearefactormode=keep
" Sync marks with idea bookmarks
set ideamarks
let mapleader = " "
" Idea Action mappings
nmap <C-i> <Action>(ShowHoverInfo)
map <A-r> <Action>(Run)
map <A-d> <Action>(Debug)
map <S-A-r> <Action>(RunClass)
map <S-A-d> <Action>(DebugClass)
map <A-[> <Action>(PreviousTab)
map <A-]> <Action>(NextTab)
map <A-w> <Action>(CloseEditor)
nmap <Leader>q <Action>(QuickImplementations)
nmap <Leader>e <Action>(ShowErrorDescription)
nmap <Leader>g <Action>(Generate)
nmap <Leader>b <Action>(ToggleLineBreakpoint)
map <Leader>em <Action>(ExtractMethod)
nmap <Leader>i <Action>(Inline)