-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdot_ideavimrc
More file actions
43 lines (33 loc) · 1 KB
/
dot_ideavimrc
File metadata and controls
43 lines (33 loc) · 1 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
""" Map leader to space ---------------------
let mapleader=" "
set ignorecase
""" Plugins --------------------------------
set surround
set multiple-cursors
set easymotion
set commentary
set highlightedyank
set hls
sethandler <C-L> a:vim
nnoremap <C-L> :nohlsearch<CR>
""" Plugin settings -------------------------
let g:argtextobj_pairs="[:],(:),<:>"
let g:highlightedyank_highlight_color = "rgba(234, 157, 52, 255)"
let g:highlightedyank_highlight_foreground_color = "rgba(250, 244, 237, 255)"
""" Common settings -------------------------
set showmode
set scrolloff=10
set incsearch
set nu
""" Idea specific settings ------------------
set ideajoin
set idearefactormode=keep
""" Mappings --------------------------------
map <leader>s <Plug>(easymotion-jumptoanywhere)
" unimpaired mappings
nnoremap [<space> mzO<Esc>`z
nnoremap ]<space> mzo<Esc>`z
nnoremap [q :action PreviousOccurence<cr>
nnoremap ]q :action NextOccurence<cr>
nnoremap [d :action GotoPreviousError<CR>
nnoremap ]d :action GotoNextError<CR>