vimrc: import
This commit is contained in:
parent
6b2c9dac0c
commit
3e2df5c6f2
@ -13,7 +13,7 @@
|
||||
|
||||
PREFIX= $(HOME)
|
||||
|
||||
FILES= Xdefaults gitconfig mg nexrc profile shrc tmux.conf xinitrc
|
||||
FILES= Xdefaults gitconfig mg nexrc profile shrc tmux.conf vimrc xinitrc
|
||||
|
||||
all: install
|
||||
|
||||
|
30
dotfiles/vimrc
Normal file
30
dotfiles/vimrc
Normal file
@ -0,0 +1,30 @@
|
||||
" 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
|
Loading…
Reference in New Issue
Block a user