Je t’embrasse Salutations from Silicon Valley, California


My .vimrc File

Honestly I don't mind tabs in code. What I cant stand is when tabs mix in with spaces, but unless you're highlighting the '\t' character, you don't even know.

Obviously I cant stop others from using tabs... but the following settings help prevent ME from using them. (Along with a couple other goodies)

set shiftwidth=4
set tabstop=4
set showmatch
set smarttab
set expandtab
set backspace=2

set ruler
set hlsearch
syntax on

" Uncomment the following to have Vim jump to the last position when reopening a file
if has("autocmd")
  au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif

" Use the following for a decent colorscheme
" - git clone
" - mkdir -p ~/.vim && cp -r vim-colors-xcode/{autoload,colors,doc} ~/.vim

"set termguicolors
"colorscheme xcodedarkhc
Filed under: Linux No Comments