-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvimrc.local
More file actions
51 lines (37 loc) · 1.07 KB
/
vimrc.local
File metadata and controls
51 lines (37 loc) · 1.07 KB
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
"to be used with the spf13 vim distribution
"don't forget vimrc.before.local and vimrc.bundles.local
"visual bell instead of beep:
set visualbell
"also flash on error messages:
set errorbells
"use the light solarized theme:
set background=light
set guifont=Monospace\ 11
"turn of spell-check
set nospell
"faust
autocmd BufNewFile,BufRead *.dsp set filetype=faust
autocmd BufNewFile,BufRead *.lib set filetype=faust
"buffer navigation:
nmap <Left> :bp<CR>
nmap <Right> :bn<CR>
"center search results on the screen
nnoremap <silent> N Nzz
nnoremap <silent> n nzz
nnoremap <silent> * *zz
nnoremap <silent> # #zz
nnoremap <silent> g* g*zz
nnoremap <silent> g# g#zz
" http://jeffkreeftmeijer.com/2012/relative-line-numbers-in-vim-for-super-fast-movement/
autocmd FocusLost * : set number
autocmd FocusGained * : set relativenumber
autocmd InsertEnter * : set number
autocmd InsertLeave * : set relativenumber
"supercollider
"so ~/.scvimrc
"let g:sclangTerm = "urxvtc -e"
"writes current mappings to a file
redir! > ~/.vim/vim_keys.txt
silent verbose map
redir END
" vim: set ft=vim