-
Notifications
You must be signed in to change notification settings - Fork 0
/
ideavimrc
48 lines (41 loc) · 819 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
37
38
39
40
41
42
43
44
45
46
47
48
let mapleader=" "
set clipboard+=unnamed
set number
set relativenumber
set ignorecase
set easymotion
set surround
set ideajoin
set hlsearch
set incsearch
set argtextobj
set visualbell
set noerrorbells
set scrolloff=5
set matchit
set NERDTree
nmap <leader>e :NERDTreeToggle<CR>
set highlightedyank
let g:highlightedyank_highlight_duration="300"
map <Leader> <Plug>(easymotion-prefix)
map s <Plug>(easymotion-f2)
map S <Plug>(easymotion-F2)
nmap [d <action>(GotoNextError)
nmap H ^
nmap L $
vmap H ^
vmap L $
imap jk <esc>
imap <c-f> <c-o>a
imap df <c-o>a
nmap <leader>1 1<c-w>w
nmap <leader>2 2<c-w>w
nmap <leader>3 3<c-w>w
nmap <leader>4 4<c-w>w
nmap <leader>5 5<c-w>w
nmap <leader>6 6<c-w>w
nmap <leader>7 7<c-w>w
nmap <tab> :tabn<CR>
nmap <S-tab> :tabp<CR>
nmap <leader>bc :tabc<CR>
nmap <leader>hl :nohl<CR>