-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.ideavimrc
More file actions
63 lines (47 loc) · 1.65 KB
/
.ideavimrc
File metadata and controls
63 lines (47 loc) · 1.65 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
"actions listed here https://github.com/centic9/IntelliJ-Action-IDs/blob/master/docs/_data/actions.csv
let mapleader='\'
set ignorecase
set smartcase
set scrolloff=8
set surround
set clipboard=unnamedplus,unnamed
"nnoremap gi :action GotoImplementation<CR>
"nnoremap fu :action FindUsages<CR>
"nnoremap <Leader>fu :action FindUsages<CR>
nnoremap gu :action ShowUsages<CR>
" key bindings for quickly moving between windows
" h left, l right, k up, j down
nmap <left> <c-w>h
nmap <right> <c-w>l
" Redo
nnoremap U <C-r>
nnoremap ,d :action GotoDeclaration<CR>
nnoremap ,i :action GotoImplementation<CR>
"nnoremap ,t :action GotoTest<CR>
"nnoremap ,a :action GotoAction<CR>
"nnoremap ,c :action GotoClass<CR>
"nnoremap ,f :action GotoFile<CR>
"nnoremap ,s :action GotoSymbol<CR>
nnoremap <space>p :action SelectIn<CR>
nnoremap <Leader>1 :action OptimizeImports<CR>
nnoremap <space>l :action ShowPopupMenu<CR>
"nnoremap <Leader>rc :action ChooseRunConfiguration<CR>
nnoremap ,r :action RenameElement<CR>
"nnoremap <Leader>rf :action RenameFile<CR>
nnoremap ,f :action SearchEverywhere<CR>
"nnoremap <Leader>tc :action CloseActiveTab<CR>
nnoremap <Leader>r :action FindInPath<CR>
nnoremap <space>o :action FileStructurePopup<CR>
nnoremap <space>f :action ReformatCode<CR>
vnoremap <space>f :action ReformatCode<CR>
nnoremap <leader>cc :action CommentByLineComment<CR>
vnoremap <leader>cc :action CommentByLineComment<CR>
nnoremap <space>l :action ShowIntentionActions<CR>
nnoremap <up> 8<C-y>
vnoremap <up> 8<C-y>
nnoremap <down> 8<C-e>
vnoremap <down> 8<C-e>
noremap Q q
noremap q <C-w>c
"nmap <leader>l :action KJumpAction.Line<cr>
"nmap <leader>w :action KJumpAction.Word0<cr>