-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.ideavimrc
50 lines (46 loc) · 1.22 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
46
47
48
49
50
""" Map leader to \ -----------------------
let mapleader="\"
""" Plugins-----------------------------------
set easymotion
set surround
set multiple-cursors
set NERDTree
set commentary
set vim-paragraph-motion
set ideamarks
let g:EasyMotion_override_acejump = 0
set ignorecase
set showcmd
set showmode
set smartcase
set incsearch
set hlsearch
set scrollup=5
set scrolloff=5
set number
set relativenumber
set keep-english-in-normal
""" idea set---------------------------------
set ideajoin
set ideaput
Plug 'terryma/vim-multiple-cursors'
""" KeyMap-----------------------------------
map <leader>p <Action>(ParameterInfo)
map <leader>n <Action>(Generate)
map <leader>r <Action>(ReformatCode)
map <leader>c <Action>(RenameElement)
map <leader>e <Action>(ShowErrorDescription)
map <leader><leader>e <Action>(GotoNextError)
map <leader>g <Action>(QuickJavaDoc)
map <leader>d <Action>(QuickImplementations)
map <leader>b <Action>(Switcher)
imap <A-j> <Down>
imap <A-k> <Up>
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