Merge branch 'main' of github.com:siduck76/neovim-dots
This commit is contained in:
commit
fb60bb7da4
2 changed files with 9 additions and 2 deletions
|
@ -134,9 +134,11 @@ nvim-base16 doesnt even take time to load unlike base16-vim which was eating hal
|
||||||
|
|
||||||
- Install packer.nvim
|
- Install packer.nvim
|
||||||
|
|
||||||
```shell
|
```
|
||||||
|
|
||||||
git clone https://github.com/wbthomason/packer.nvim\
|
git clone https://github.com/wbthomason/packer.nvim\
|
||||||
~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
- copy lua folder and init.lua into ~/.config/nvim
|
- copy lua folder and init.lua into ~/.config/nvim
|
||||||
|
|
|
@ -53,7 +53,12 @@ cp -r init.lua ~/.config/nvim && cp -r lua ~/.config/nvim
|
||||||
read -p "which shell do you use?: " shellname
|
read -p "which shell do you use?: " shellname
|
||||||
echo "$shellname"
|
echo "$shellname"
|
||||||
|
|
||||||
sed -i "s/bash/$shellname/g" ~/.config/nvim/lua/mappings/lua.lua
|
if [ "$(get_platform)" = "Mac" ]; then
|
||||||
|
gsed -i "s/bash/$shellname/g" ~/.config/nvim/lua/mappings/lua.lua
|
||||||
|
else
|
||||||
|
sed -i "s/bash/$shellname/g" ~/.config/nvim/lua/mappings/lua.lua
|
||||||
|
fi
|
||||||
|
|
||||||
echo "shell changed to $shellname on nvim successfully!"
|
echo "shell changed to $shellname on nvim successfully!"
|
||||||
|
|
||||||
#for f in `find -E . -regex ".*\.vim$|.*\.lua$"`; do
|
#for f in `find -E . -regex ".*\.vim$|.*\.lua$"`; do
|
||||||
|
|
Loading…
Reference in a new issue