-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot-ideavimrc
49 lines (34 loc) · 840 Bytes
/
dot-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
noremap <Space> <Nop>
let mapleader = " "
let maplocalleader = " "
set number
set relativenumber
set tabstop=4
set shiftwidth=4
set expandtab
set softtabstop=4
set showmode
ser breakindent
ser smartindent
set ignorecase
set smartcase
set signcolumn=yes
set timeoutlen=300
set updatetime=50
set inccommand=split
unset cursorline
set scrolloff=5
set splitright
set splitbelow
set hlsearch
" gd here by default
nnoremap K :action QuickJavaDoc<CR>
nnoremap <leader>vca :action Refactorings.QuickListPopupAction<CR>
nnoremap <leader>vws :action ShowUsages<CR>
nnoremap <leader><leader> :action ShowPopupMenu<CR>
nnoremap <leader>f :action ReformatCode<CR>
nnoremap <leader>vd :action ShowErrorDescription<CR>
vnoremap J :m '>+1<CR>gv=gv
vnoremap K :m '<-2<CR>gv=gv
noremap <leader>p "_dP
noremap <leader>sf :action FindInPath<CR>