An opinionated minimalistic vim setup for any bare or unfamiliar server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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!