Skip to content

Instantly share code, notes, and snippets.

@smileart
Last active January 16, 2017 15:08
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smileart/6cf5de61d5f393d26fa0 to your computer and use it in GitHub Desktop.
Save smileart/6cf5de61d5f393d26fa0 to your computer and use it in GitHub Desktop.
An opinionated minimalistic vim setup for any bare or unfamiliar server
# https://github.com/rgrove/rawgit + https://github.com/rstacruz/vim-opinion +
# https://github.com/tpope/vim-sensible + https://github.com/tpope/vim-sleuth +
# https://sunaku.github.io/vim-256color-bce.html +
# http://bit.ly = vim.min
#
# © Smile @rT, 2015
VIM_MIN="/tmp/vim.min"
echo -e "se nocp\nruntime plugin/netrwPlugin.vim\nset t_ut=" > $VIM_MIN
curl -Ls -XGET https://rawgit.com/rstacruz/vim-opinion/master/plugin/opinion.vim >> $VIM_MIN
curl -Ls -XGET https://rawgit.com/tpope/vim-sensible/master/plugin/sensible.vim >> $VIM_MIN
curl -Ls -XGET https://rawgit.com/tpope/vim-sleuth/master/plugin/sleuth.vim >> $VIM_MIN
function vim_min() { \vim -u "$VIM_MIN" $@; }
alias vim=vim_min
@smileart
Copy link
Author

smileart commented Apr 9, 2015

Just execute this source <(curl -Ls http://bit.ly/vim-min) on any bare or unfamiliar server, and Bob's your uncle – an opinionated minimalistic vim setup!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment