vimrc: some racket things
parent
72c1270df2
commit
5ec7ccabf8
11
vim/vimrc
11
vim/vimrc
|
@ -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 iλ<Esc>
|
||||
|
||||
" Rainbow Config -------------------------------------------------------------|
|
||||
|
||||
let g:rainbow_conf = {
|
||||
|
|
Loading…
Reference in New Issue