-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ideavimrc
54 lines (39 loc) · 952 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
49
50
51
52
53
54
let mapleader = " "
set scrolloff=5
imap jk <Esc>
imap jj <Esc>
set timeoutlen=500
set visualbell
set noerrorbells
set ignorecase
" Navigation
nnoremap <C-\> :action SplitVertically<CR>
nnoremap <C--> :action SplitHorizontally<CR>
nnoremap <C-m> :action MoveEditorToOppositeTabGroup<CR>
map Q gq
set quickscope
set incsearch
set timeoutlen=500
set clipboard+=unnamed
set relativenumber
set number
Plug 'machakann/vim-highlightedyank'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-surround'
Plug 'chrisbra/matchit'
Plug 'preservim/nerdtree'
imap <C-n> :NERDTree<CR>
inoremap <C-n> <Esc>:NERDTree<CR>
map <C-n> <Esc>:NERDTree<CR>
Plug 'easymotion/vim-easymotion'
map <leader>J <Plug>(easymotion-s)
map <leader>j <Plug>(easymotion-f)
Plug 'terryma/vim-multiple-cursors'
map mc <A-n>
map mx <A-x>
map mp <A-p>
" Navigation
nnoremap <c-[> <c-w>h
nnoremap <c-]> <c-w>l
nnoremap <TAB> :action PreviousTab<CR>
nnoremap <s-TAB> :action NextTab<CR>