Skip to content

Instantly share code, notes, and snippets.

@fearofcode
Created April 27, 2019 22:18
Show Gist options
  • Save fearofcode/1f4b477d78dca042359244b98a1112d6 to your computer and use it in GitHub Desktop.
Save fearofcode/1f4b477d78dca042359244b98a1112d6 to your computer and use it in GitHub Desktop.
new machine setup WIP
filetype plugin indent on
syntax on
set enc=utf-8
set fenc=utf-8
set termencoding=utf-8
set nocompatible
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
set expandtab
set textwidth=120
set t_Co=256
set guioptions-=T "remove toolbar
set guioptions-=r "remove right-hand scroll bar
set guioptions-=L "remove left-hand scroll bar
set guicursor+=a:blinkon0
set noerrorbells visualbell t_vb=
set guifont=Inconsolata\ 18
autocmd vimenter * NERDTree
colorscheme jellybeans
" make Ctrl-n open nerdtree
map <C-n> :NERDTreeToggle<CR>
sudo pacman -S extra/gvim community/vim-nerdtree community/vim-ctrlp
mkdir -p ~/.vim/colors
cd ~/.vim/colors
curl -O https://raw.githubusercontent.com/nanotech/jellybeans.vim/master/colors/jellybeans.vim
cp .vimrc ~/.vimrc
echo "Run VMWare Tools if in a VM."
echo "Also tweak keyboard repeat/delay settings (200/85)."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment