-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathideavimrc
79 lines (59 loc) · 1.89 KB
/
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
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
69
70
71
72
73
74
75
76
77
78
79
source ~/.vimrc
""" Map leader to space ---------------------
let mapleader=" "
""" Plugins --------------------------------
set surround
"set multiple-cursors
"set commentary
"set argtextobj
set easymotion
"set textobj-entire
"set ReplaceWithRegister
""" Plugin settings -------------------------
let g:argtextobj_pairs="[:],(:),<:>"
""" Common settings -------------------------
set clipboard+=ideaput
set hlsearch
set ignorecase
set incsearch
set number
set showmode
set showcmd
set so=5
""" Idea specific settings ------------------
set ideajoin
set ideastatusicon=gray
set idearefactormode=keep
""" Mappings --------------------------------
map <leader>f <Plug>(easymotion-s)
map <leader>e <Plug>(easymotion-f)
map <leader>d :action Debug<CR>
map <leader>r :action RenameElement<CR>
map <leader>c :action Stop<CR>
map <leader>z :action ToggleDistractionFreeMode<CR>
map <leader>s :action SelectInProjectView<CR>
map <leader>a :action Annotate<CR>
map <leader>h :action Vcs.ShowTabbedFileHistory<CR>
map <S-Space> :action GotoNextError<CR>
map <leader>b :action ToggleLineBreakpoint<CR>
map <leader>o :action FileStructurePopup<CR>
"map / <Plug>(easymotion-sn)
map / :action Find<CR>
map bq :action PreviousTab<CR>
map bn :action NextTab<CR>
map bd :action CloseEditor<CR>
map <leader>g :action FindInPath<CR>
map go :action GotoDeclaration<CR>
map gn :action VcsShowNextChangeMarker<CR>
map gp :action VcsShowPrevChangeMarker<CR>
map gb :action ActivateStructureToolWindow<CR>
map gt :action ActivateProjectToolWindow<CR>
map gd :action CloseActiveTab<CR>
map n :action FindNext<CR>:action EditorEscape<CR>
map <S-n> :action FindPrevious<CR>:action EditorEscape<CR>
map <leader>t :action $EditorTranslateAction<CR>
map <leader>z :action ToggleZenMode<CR>
map <leader>\ :action SplitVertically<CR>
map <leader>xx :action CloseAllEditors<CR>
map <leader>cc :action CloseAllEditorsButActive<CR>
map siw viwp