-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathideavimrc
32 lines (26 loc) · 818 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
set showmode
set incsearch
set hlsearch
set surround
set multiple-cursors
set highlightedyank
let mapleader = " "
nmap <leader><Space> :w<CR>
nmap gcc :action CommentByLineComment<CR>
vnoremap gc :action CommentByBlockComment<CR>
map <C-J> <C-W>j
map <C-K> <C-W>k
map <C-L> <C-W>l
map <C-H> <C-W>h
vmap <Leader>y "+y
vmap <Leader>d "+d
nmap <Leader>p "+p
nmap <Leader>P "+P
nmap <Leader>n :action ActivateProjectToolWindow<CR>
nmap <Leader>be :action Switcher<CR>
nmap <Leader>m :action CodeGlance.toggle<CR>
nmap <Leader>fg :action FindInPath<CR>
nmap <Leader>p :action ReformatWithPrettierAction<CR>
" https://raw.githubusercontent.com/ericvanjohnson/dot_files/master/.ideavimrc
" https://github.com/Valloric/dotfiles/blob/master/intellij/ideavimrc
" https://github.com/beloglazov/vimrc/blob/master/.ideavimrc