vimrc: some racket things

master
an 2019-06-11 21:12:14 -04:00
parent 72c1270df2
commit 5ec7ccabf8
1 changed files with 9 additions and 2 deletions

View File

@ -243,11 +243,15 @@ au BufNewFile,BufRead *.s,*.inc setlocal shiftwidth=8 filetype=asm_ca65
" close empty buffers automatically
au BufEnter * call s:CloseEmptyBuffers()
" EDF → conf
au FileType edif set syntax=conf
" .rkt → Racket
au BufRead,BufNewFile *.rkt set syntax=racket
" .edf → conf
au BufRead,BufNewFile *.edf set syntax=conf
" disable most ftplugins
au BufReadPre * let b:did_ftplugin=1
au BufReadPre *.rkt unlet b:did_ftplugin
" enable tagbar
"au VimEnter * nested :TagbarOpen
@ -382,6 +386,9 @@ nm cr <Plug>(abolish-coerce-word)
nn KK :Gr \b<C-r><C-w>\b<CR>
nn Kk :Gr<Space>
" quick lambda
nn <Leader>l<Esc>
" Rainbow Config -------------------------------------------------------------|
let g:rainbow_conf = {