Skip to content

Instantly share code, notes, and snippets.

@smileart smileart/vim.min
Last active Jan 16, 2017

Embed
What would you like to do?
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

This comment has been minimized.

Copy link
Owner Author

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
You can’t perform that action at this time.