-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.ideavimrc
More file actions
68 lines (56 loc) · 1.98 KB
/
.ideavimrc
File metadata and controls
68 lines (56 loc) · 1.98 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
64
65
66
67
68
set ideajoin
set which-key
set notimeout
let g:WhichKey_ShowVimActions = "true"
let g:WhichKeyDesc_file = "<Space>f File"
let g:WhichKeyDesc_git = "<Space>g Git"
let g:WhichKeyDesc_open = "<Space>o Open"
let g:WhichKeyDesc_test = "<Space>t Test"
let g:WhichKeyDesc_refactor = "<Space>r Refactor"
let g:WhichKeyDesc_windows = "<Space>w Windows"
let g:WhichKeyDesc_comments = "<Space>c Comments"
let g:WhichKeyDesc_types = "<Space>T Types"
# Search
nnoremap <space>/ :action FindInPath<cr>
nnoremap <space><space> :action SearchEverywhere<cr>
# Files
nnoremap <space>fs :action SaveAll<cr>
# Go Places
# gd goes to definition by default
nnoremap gT :action GotoTest<cr>
nnoremap gi :action GotoImplementation<cr>
nnoremap gn :action GotoNextError<cr>
nnoremap gp :action GotoPreviousError<cr>
nnoremap gr :action PreviousTab<cr>
nnoremap gt :action NextTab<cr>
nnoremap gb :action Back<cr>
# Git
nnoremap <space>gg :action Vcs.QuickListPopupAction<cr>
nnoremap <space>gC :action Git.ResolveConflicts<cr>
nnoremap <space>gw :action ActivateVersionControlToolWindow<cr>
# Open / Menu
nnoremap <space>om :action ShowPopupMenu<cr>
nnoremap <space>oo :action MoveEditorToOppositeTabGroup<cr>
# Run
nnoremap <space>R :action RunClass<cr>
# Test
nnoremap <space>tt :action RerunTests<cr>
nnoremap <space>tf :action RerunFailedTests<cr>
# Refactor
nnoremap <space>rr :action Refactorings.QuickListPopupAction<cr>
nnoremap <space>ri :action ShowIntentionActions<cr>
# Windows (Tabs)
nnoremap <space>wd :action CloseContent<cr>
nnoremap <space>ws :action SplitHorizontally<cr>
nnoremap <space>wu :action Unsplit<cr>
nnoremap <space>wv :action SplitVertically<cr>
nnoremap <space>ww <C-w><C-w>
nnoremap <space>wl <C-w>l
nnoremap <space>wh <C-w>h
nnoremap <space>wk <C-w>k
nnoremap <space>wj <C-w>j
# Comments
nnoremap <space>cl :action CommentByLineComment<cr>
nnoremap <space>cL :action CommentByBlockComment<cr>
# Types
nnoremap <space>Ti :action Scala.TypeInfo<cr>