-
Notifications
You must be signed in to change notification settings - Fork 0
/
ideavimrc
36 lines (29 loc) · 828 Bytes
/
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
source ~/.vimrc.keymap
source ~/.idea-doom-emacs/ideavimrc
source ~/.idea-doom-emacs/expand-region.vim
source ~/.idea-doom-emacs/subword-mode.vim
""" 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 showmode
set so=5
set incsearch
set nu
""" Idea specific settings ------------------
set ideajoin
set ideastatusicon=gray
set idearefactormode=keep
""" Custom Mappings -------------------------
map <leader>fs <Action>(SaveDocument)
#map <leader><leader> <Action>(GotoFile)
#map <leader>bb <Action>(Switcher)