-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.wasavimrc
54 lines (50 loc) · 1.09 KB
/
.wasavimrc
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
" wasavi specific
set noerrorbells
set nolaunchbell
set bellvolume=0
set novisualbell
set relativenumber
set number
" set jkdenotative " Swaps j with gj, etc.
set autoindent
set nocursorblink
" From .vimrc
set ignorecase
set smartcase
set incsearch
map Y y$
map <space>y "+y
map <space>y "+y
map <space>Y "+Y
map <space>p "+p
map <space>P "+P
map <Tab> ==
map <C-s> :w<enter>
map <C-q> :q<enter>
map <C-j> o<Esc>
map <C-k> O<Esc>
map [noremap] s ys
map [noremap] S ys$
map [noremap] ds ds
map [noremap] cs cs
map <BS> X
map <S-BS> x
map <A-BS> db
map! <A-BS> <C-w>
map <A-S-BS> dw
map! <A-S-BS> <C-o>dw
map <A-d> dw
map! <C-j> <CR>
map <A-a> v<C-a>
map <A-x> v<C-x>
map <A-j> }
map <A-k> {
map <C-Space> zz
map ö ciw
map Ö ciW
map ä viw
map Ä viW
map å ci(
map Å ci"
map zt zzLzz''
map zb zzHzz''