Skip to content

Commit 6b83d03

Browse files
committed
Merge tag 'nvimrc-v1.2.0'
2 parents 45e5148 + 5657492 commit 6b83d03

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ or wget
7979
$ wget https://git.io/vwYRO -O - | sh
8080
```
8181

82-
You will need to exit Neovim manually with `:qa` after each step.
83-
8482
### Manual Install
8583

8684
1. Install [vim-plug].
@@ -127,8 +125,6 @@ You will need to exit Neovim manually with `:qa` after each step.
127125
$ NVIMRC_INSTALL=true nvim -c PlugInstall
128126
```
129127

130-
You will need to exit Neovim manually with `:qa` after each step.
131-
132128
### Updating
133129

134130
Updating is handled via the normal [vim-plug commands].

install.sh

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ EOF
126126

127127
echo -e " ➤ Run ❰ PlugInstall ❱ \033[0m"
128128

129-
nvim -c PlugClean!
130-
nvim -c PlugInstall
131-
NVIMRC_INSTALL=true nvim -c PlugInstall
132-
nvim -c PlugClean!
129+
nvim +PlugClean! +qa
130+
nvim +PlugInstall +qa
131+
NVIMRC_INSTALL=true nvim +PlugInstall +qa
132+
nvim +PlugClean! +qa
133133

134134
echo
135135
echo -e "\033[32m ✔ Completed ❰ PlugInstall ❱ \033[0m"
@@ -163,13 +163,14 @@ dev_mode () {
163163

164164
sed -i -e "s|${f_gstr}|${r_gstr}|g" $nvim_root/ginit.vim
165165

166-
nvim -c PlugClean!
167-
nvim -c PlugInstall
168-
nvim -c PlugClean!
169-
nvim -c PlugUpdate
166+
nvim +PlugClean! +qa
167+
nvim +PlugInstall +qa
168+
nvim +PlugClean! +qa
169+
nvim +PlugUpdate +qa
170170

171171
echo -e "\033[32m ✔ Neovim now using nvimrc from this directory. \033[0m"
172172
echo -e "\033[32m ➤ Run ./install.sh again to exit development mode. \033[0m"
173+
exit 0
173174
}
174175

175176
main $1

0 commit comments

Comments
 (0)