turn powerline stuff on by default, and setup go & powerline install pieces
This commit is contained in:
parent
05f8f35da4
commit
64f25e862f
4
.vimrc
4
.vimrc
@ -37,8 +37,8 @@ let g:netrw_winsize = 25
|
||||
"----airline tabs for buffers-------
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
let g:airline_theme = 'dark'
|
||||
let g:tmuxline_powerline_separators = 0
|
||||
let g:airline_powerline_fonts = 0
|
||||
let g:tmuxline_powerline_separators = 1
|
||||
let g:airline_powerline_fonts = 1
|
||||
let mapleader = ";"
|
||||
set showcmd
|
||||
map <Leader>a :bn<cr>
|
||||
|
18
setup.sh
18
setup.sh
@ -30,6 +30,24 @@ do
|
||||
ln -s $dir/$file ~/$file
|
||||
done
|
||||
|
||||
#----------------------------------------------------------install go and go-powerline--------------------------------------------------------------------
|
||||
|
||||
if [ -z "$GOPATH" ]
|
||||
then
|
||||
while true; do
|
||||
read -p "do you want to install golang and go-powerline?" yn
|
||||
case $yn in
|
||||
[Yy]* )
|
||||
sudo apt-get install golang;
|
||||
go get -u github.com/justjanne/powerline-go;
|
||||
break;;
|
||||
[Nn]* )
|
||||
exit;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
|
||||
#----------------------------------------------------------install power line fonts------------------------------------------------------------------------
|
||||
|
||||
if [ ! -d ~/fonts ]
|
||||
|
Loading…
Reference in New Issue
Block a user