-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathideavimrc
45 lines (36 loc) · 1 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
" Tips: https://github.com/JetBrains/ideavim#summary-of-supported-vim-features
""" Map leader to spacebar
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 showmode
set so=3
set incsearch
set relativenumber
set number
""" Idea specific settings ------------------
set ideajoin
set ideastatusicon=gray
set idearefactormode=keep
set NERDTree
""" Mappings --------------------------------
" Use Track ActionIds to discover commands
" Git
map <leader>a <Action>(Annotate)
map <leader>gb <Action>(Git.Branches)
map <leader>gc <Action>(CheckinProject)
map <leader>gpr <action>(Github.Create.Pull.Request)
" etc.
map <leader>ff <Action>(FindInPath)
map <leader>r <Action>(RunAnything)
map <leader>nt :NERDTree<cr>
map <leader>o <Action>(FileStructurePopup)