From c8cb6db3d95fe7307d3e47f21c1ee40eb4783a9c Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Sun, 25 Feb 2024 00:40:54 -0800 Subject: sync a few years of small tweaks --- vimrc | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 57a2a76..3f3f30e 100644 --- a/vimrc +++ b/vimrc @@ -1,10 +1,8 @@ -let g:inkpot_black_background = 1 - if &term =~ 'screen' set t_Co=256 endif -colorscheme inkpot +colorscheme mop filetype on syntax on @@ -20,11 +18,11 @@ set showcmd set ttyfast set autoindent -set shiftwidth=4 -set softtabstop=4 -set tabstop=4 +set shiftwidth=8 +set softtabstop=8 +set tabstop=8 "set textwidth=79 -set cinoptions=(s,U1 +set cinoptions=(s,U1,l1,:0 set ignorecase set incsearch @@ -35,4 +33,8 @@ set foldenable autocmd FileType haml setlocal sw=2 sts=2 ts=2 et autocmd FileType ruby setlocal sw=2 sts=2 ts=2 et -autocmd FileType sh setlocal et +autocmd FileType javascript setlocal inde= cin cino+=J1 + +let g:c_syntax_for_h = 1 +let g:ruby_indent_assignment_style = 'variable' +let g:ruby_indent_hanging_elements = 0 -- cgit v1.2.3-70-g09d2