-
Notifications
You must be signed in to change notification settings - Fork 1
/
.ideavimrc
32 lines (31 loc) · 1.5 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
" 'digraph' 'dg' enable the entering of digraphs in Insert mode
" 'gdefault 'gd' the ":substitute" flag 'g' is default on
set gdefault
" 'history' 'hi' number of command-lines that are remembered
" 'hlsearch' 'hls' highlight matches with last search pattern
set nohlsearch
" 'ignorecase' 'ic' ignore case in search patterns
" 'matchpairs' 'mps' pairs of characters that "%" can match
" 'nrformats' 'nf' number formats recognized for CTRL-A command
" 'scroll' 'scr' lines to scroll with CTRL-U and CTRL-D
" 'scrolljump' 'sj' minimum number of lines to scroll
" 'scrolloff' 'so' minimum nr. of lines above and below cursor
" 'selection' 'sel' what type of selection to use
" 'showmode' 'smd' message on status line to show current mode
set noshowmode
" 'sidescroll' 'ss' minimum number of columns to scroll horizontal
" 'sidescrolloff' 'siso' min. nr. of columns to left and right of cursor
" 'smartcase' 'scs' no ignore case when pattern has uppercase
" 'undolevels' 'ul' maximum number of changes that can be undone
" 'visualbell' 'vb' use visual bell instead of beeping
" 'wrapscan' 'ws' searches wrap around the end of the file
set surround
set multiple-cursors
"
" http://stackoverflow.com/questions/27898407/intellij-idea-with-ideavim-cannot-copy-text-from-another-source
set clipboard+=unnamed
" Exit insert mode
imap jj <ESC>
nmap / :action Find<CR>
nmap n :action FindNext<CR>
nmap N :action FindPrevious<CR>