forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.ideavimrc
31 lines (25 loc) · 810 Bytes
/
.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
set ignorecase
set smartcase
set infercase
set scrolloff=3
let mapleader=","
imap jk <C-[>
vmap jk <C-[>
nmap <leader>g :action GotoDeclaration<cr>
nmap <leader>i :action GotoImplementation<cr>
nmap <leader>b :action Back<cr>
nmap <leader>f :action Forward<cr>
nmap <leader>t :action GotoFile<cr>
nmap <leader>c :action GotoClass<cr>
nmap <leader>ns :action GotoSymbol<cr>
nmap <leader>nm :action FileStructurePopup<cr>
nmap <leader>d :action ShowErrorDescription<cr>
nmap <leader>r :action ReformatCode<cr>
vmap <leader>r :action ReformatCode<cr>
imap <leader>m :action CodeCompletion<cr>
nmap <leader>m :action CodeCompletion<cr>
imap <leader>mm :action SmartTypeCompletion<cr>
nmap <leader>mm :action SmartTypeCompletion<cr>
nmap gcc :action CommentByLineComment<cr>
set surround
set multiple-cursors