-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ideavimrc
20 lines (16 loc) · 931 Bytes
/
.ideavimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
set number " line numbers
:set relativenumber
set hlsearch " highlight search occurrences
set ignorecase " ignore case in search patterns
set smartcase " no ignore case when pattern is uppercase
set incsearch " show search results while typing
set wrapscan " searches wrap around the end of the file
set gdefault " substitute all occurrences in line per default
set history=10000 " keep x lines of command line history
set scrolloff=5 sidescrolloff=10 " keep some lines before and after the cursor visible
set clipboard=unnamedplus,unnamed,ideaput " integrate with system clipboard
set commentary
set surround " emulate vim-surround plugin
let mapleader = " "
nnoremap <leader>vv :e ~/.ideavimrc<CR>
nnoremap <leader>vr :source ~/.ideavimrc<CR>