diff options
author | Jesse Luehrs <doy@stripe.com> | 2017-02-13 06:48:08 -0800 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2017-02-13 06:53:50 -0800 |
commit | a879aa8aa710653f4434c95cf92125800fc4395c (patch) | |
tree | 94a637693e3d033ea01608b6a0238cb7e0fc8f2d /vimrc | |
parent | d9561bb4326683946c2e2c8ba7efc916ccbc58d7 (diff) | |
download | conf-a879aa8aa710653f4434c95cf92125800fc4395c.tar.gz conf-a879aa8aa710653f4434c95cf92125800fc4395c.zip |
add vim calendar plugin
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -361,9 +361,9 @@ if $SHELL =~ 'zsh' && exists('g:_zsh_hist_fname') endfunction function! s:zsh_hist_append () let to_append = expand("%:~:.") - " XXX gundo and vimfiler set buftype too late to be caught by this... + " XXX these set buftype too late to be caught by this... " this is broken, but not sure what a better fix is - if &buftype == '' && to_append !~ '^\(__Gundo\|vimfiler:\)' + if &buftype == '' && to_append !~ '^\(__Gundo\|vimfiler:\|Startify\|\[calendar\]\)' if !has_key(s:initial_files, to_append) if filereadable(g:_zsh_hist_fname) let hist = readfile(g:_zsh_hist_fname) @@ -868,4 +868,14 @@ let g:syntastic_enable_signs = 0 let g:syntastic_perl_checkers = [] let g:syntastic_ruby_checkers = ['mri', 'rubocop'] " }}} +" calendar {{{ +let g:calendar_date_endian = "big" +let g:calendar_date_separator = "-" +let g:calendar_view = "week" +augroup calendar-mappings + autocmd! + autocmd FileType calendar nmap <buffer> q :quit<CR> + autocmd FileType calendar set background=dark +augroup END +" }}} " }}} |