diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2024-02-25 00:40:54 -0800 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2024-02-25 00:40:54 -0800 |
commit | c8cb6db3d95fe7307d3e47f21c1ee40eb4783a9c (patch) | |
tree | 866107376254dfbd120d2a1c2d00d5dc3c9d1502 /vimrc | |
parent | 1c889d56a99b6975b14719a0cdeb1edff3da0726 (diff) | |
download | dotfiles-c8cb6db3d95fe7307d3e47f21c1ee40eb4783a9c.tar.gz dotfiles-c8cb6db3d95fe7307d3e47f21c1ee40eb4783a9c.tar.xz |
sync a few years of small tweaks
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -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 |