From c748106046e9884246d4d416daeec1f44d4773fd Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Thu, 23 Jan 2020 16:04:16 -0700 Subject: [PATCH] Added italic formatting to vim --- vim/file_formatting.vim | 9 +++++---- vim/rc.vim | 2 ++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/vim/file_formatting.vim b/vim/file_formatting.vim index f379c57..0fea558 100644 --- a/vim/file_formatting.vim +++ b/vim/file_formatting.vim @@ -4,10 +4,11 @@ syntax on augroup filetype_specific_formatting autocmd! autocmd FileType python setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab foldmethod=indent foldlevel=99 - autocmd FileType java setlocal tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab foldmethod=indent foldlevel=99 - autocmd FileType cs setlocal tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab foldmethod=indent foldlevel=99 - autocmd FileType html setlocal tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab foldmethod=indent foldlevel=99 - autocmd FileType javascript setlocal tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab foldmethod=indent foldlevel=99 + autocmd FileType java setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab foldmethod=indent foldlevel=99 + autocmd FileType cs setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab foldmethod=indent foldlevel=99 + autocmd FileType html setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab foldmethod=indent foldlevel=99 + autocmd FileType javascript setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab foldmethod=indent foldlevel=99 + autocmd FileType css setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab foldmethod=indent foldlevel=99 autocmd FileType vim setlocal tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab foldmethod=marker foldlevel=1 autocmd FileType sh setlocal tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab foldmethod=indent foldlevel=99 autocmd FileType lisp setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab foldmethod=manual foldlevel=99 diff --git a/vim/rc.vim b/vim/rc.vim index a1e549c..530dca6 100644 --- a/vim/rc.vim +++ b/vim/rc.vim @@ -48,3 +48,5 @@ inoremap viwUea " set italics characters set t_ZH= set t_ZR= + +" insert the current date