Merge branch 'main' of github.com:siduck76/neovim-dots

This commit is contained in:
siduck76 2021-04-25 11:57:35 +05:30
commit fb60bb7da4
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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"
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 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