-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_ideavimrc
34 lines (27 loc) · 919 Bytes
/
dot_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
""" Map leader to space ---------------------
let mapleader=" "
""" Common settings -------------------------
set showmode
""" set so=5
set incsearch
set nu
""" Idea specific settings ------------------
set ideajoin
set idearefactormode=keep
""" Remappings ------------------------------
nmap gb <Action>(GotoImplementation)
nmap gn <Action>(ShowIntentionActions)
nmap gc <Action>(EditorCompleteStatement)
map <C-t> <Action>(Refactorings.QuickListPopupAction)
""" Plugins --------------------------------
Plug 'terryma/vim-multiple-cursors'
nmap <C-n> <Plug>NextWholeOccurrence
xmap <C-n> <Plug>NextWholeOccurrence
nmap g<C-n> <Plug>NextOccurrence
xmap g<C-n> <Plug>NextOccurrence
nmap <C-x> <Plug>SkipOccurrence
xmap <C-x> <Plug>SkipOccurrence
nmap <C-p> <Plug>RemoveOccurrence
xmap <C-p> <Plug>RemoveOccurrence
Plug 'https://github.com/preservim/nerdtree'
""" End of Plugins --------------------------------