Skip to content

Instantly share code, notes, and snippets.

@robert-b-clarke
Last active February 27, 2023 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robert-b-clarke/cf4d1dd28d5dea30f4482ebd9a060a09 to your computer and use it in GitHub Desktop.
Save robert-b-clarke/cf4d1dd28d5dea30f4482ebd9a060a09 to your computer and use it in GitHub Desktop.
My (minimalist) vimrc
syntax on
filetype indent plugin on
set modeline
set tabstop=8
set expandtab
set softtabstop=4
set shiftwidth=4
filetype indent on
set number
colorscheme darkblue
hi Normal guibg=NONE ctermbg=NONE
set guifont=Monospace\ 10
set listchars=eol:¶
"set list
"hi SpecialKey ctermbg=DarkMagenta
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
if empty(glob(data_dir . '/autoload/plug.vim'))
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin()
Plug 'LnL7/vim-nix'
call plug#end()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment