-
Notifications
You must be signed in to change notification settings - Fork 0
/
neovim_installation.sh
32 lines (26 loc) · 1.05 KB
/
neovim_installation.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# #!/bin/sh
sudo apt-get install build-essential cmake
sudo apt-get install python-dev python3-dev
echo "`tput setaf 3``tput bold`Neovim installation has started`tput sgr0`"
sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt-get update
sudo apt-get install neovim
echo "`tput setaf 2``tput bold`Neovim installation has finished`tput sgr0`"
echo "`tput setaf 3``tput bold`Fzf installation has started`tput sgr0`"
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
echo "`tput setaf 2``tput bold`Fzf installation has finished`tput sgr0`"
echo "`tput setaf 3``tput bold`Powerline fonts installation has started`tput sgr0`"
# clone
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts
echo "`tput setaf 2``tput bold`Powerline fonts installation has finished`tput sgr0`"
# for iterm open the profiles/text and install here 18pt Fira Code and for Non-ASCII Font 18pt Hack Regular
mkdir ~/.config/nvim/
cp init.vim ~/.config/nvim/init.vim
nvim ~/.config/nvim/init.vim