env/dotfiles/vimrc

31 lines
891 B
VimL
Raw Normal View History

2023-11-25 12:00:23 +01:00
" env
" Written in 2023 by Lucas
" CC0 1.0 Universal/Public domain - No rights reserved
"
" To the extent possible under law, the author(s) have dedicated all
" copyright and related and neighboring rights to this software to the
" public domain worldwide. This software is distributed without any
" warranty. You should have received a copy of the CC0 Public Domain
" Dedication along with this software. If not, see
" <http://creativecommons.org/publicdomain/zero/1.0/>.
" Options from .nexrc.
set autoindent
set ignorecase smartcase
set nowrap
set ruler
set showmatch
set showmode
set wrapscan
" VIM-specific options.
set backspace=eol,indent
set encoding=utf-8
set rulerformat=%l,%v
set wildmode=list:longest
syntax off
filetype on
autocmd FileType python setl expandtab shiftwidth=4
autocmd FileType css,html,javascript,typescript,json,yaml,hcl,terraform setl expandtab shiftwidth=2