From 7ca4227395db02114e37507e9f80b08bd7fdac5d Mon Sep 17 00:00:00 2001 From: DarkFeather Date: Sun, 20 Nov 2022 21:12:22 -0600 Subject: [PATCH] More vim updates for our status --- EtcFiles/shadowarch.vim | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/EtcFiles/shadowarch.vim b/EtcFiles/shadowarch.vim index 0f457db..5e61be8 100644 --- a/EtcFiles/shadowarch.vim +++ b/EtcFiles/shadowarch.vim @@ -1 +1,32 @@ +" All system-wide defaults are set in $VIMRUNTIME/archlinux.vim (usually just +" /usr/share/vim/vimfiles/archlinux.vim) and sourced by the call to :runtime +" you can find below. If you wish to change any of those settings, you should +" do it in this file (/etc/vimrc), since archlinux.vim will be overwritten +" everytime an upgrade of the vim packages is performed. It is recommended to +" make changes after sourcing archlinux.vim since it alters the value of the +" 'compatible' option. + +" This line should not be removed as it ensures that various options are +" properly set to work with the Vim-related packages. +runtime! archlinux.vim + +" If you prefer the old-style vim functionalty, add 'runtime! vimrc_example.vim' +" Or better yet, read /usr/share/vim/vim74/vimrc_example.vim or the vim manual +" and configure vim to your own liking! +syntax on +filetype on +" Support CSharp files like Java +au BufNewFile,BufRead *.csharp set filetype=java +au BufNewFile,BufRead *.cs set filetype=java +set number set mouse-=a +colorscheme desert + +" This establishes the indenting policy. +filetype plugin indent on +" show existing tab with 4 spaces width +set tabstop=4 +" when indenting with '>', use 4 spaces width +set shiftwidth=4 +" On pressing tab, insert 4 spaces +set expandtab