Files
dotfiles/vim/.vimrc

23 lines
533 B
VimL

" SPDX-FileCopyrightText: 2019, 2022 Kris Lamoureux <kris@lamoureux.io>
" SPDX-License-Identifier: 0BSD
syntax enable
colorscheme monokai
set number
set tabstop=2
set shiftwidth=2
set expandtab
set colorcolumn=80
if &term =~ '256color'
" disable Background Color Erase (BCE) so that color schemes
" render properly when inside 256-color tmux and GNU screen.
" see also http://snk.tuxfamily.org/log/vim-256color-bce.html
set t_ut=
endif
" Use tabs in shell
autocmd FileType sh setlocal tabstop=4 shiftwidth=4 noexpandtab