Added some NeoVim modules
- Oil: file listings - Nvim Web Devicons: adds some icons for Oil - gitsigns: show git modifications inside nvim
This commit is contained in:
parent
b502071c75
commit
753f55ce44
6 changed files with 26 additions and 0 deletions
9
.gitmodules
vendored
9
.gitmodules
vendored
|
@ -22,3 +22,12 @@
|
||||||
[submodule "vim/bundle/gruvbox"]
|
[submodule "vim/bundle/gruvbox"]
|
||||||
path = vim/bundle/gruvbox
|
path = vim/bundle/gruvbox
|
||||||
url = https://github.com/morhetz/gruvbox.git
|
url = https://github.com/morhetz/gruvbox.git
|
||||||
|
[submodule "neovim/pack/vendor/start/oil.nvim"]
|
||||||
|
path = neovim/pack/vendor/start/oil.nvim
|
||||||
|
url = https://github.com/stevearc/oil.nvim
|
||||||
|
[submodule "neovim/pack/vendor/start/nvim-web-devicons"]
|
||||||
|
path = neovim/pack/vendor/start/nvim-web-devicons
|
||||||
|
url = https://github.com/nvim-tree/nvim-web-devicons
|
||||||
|
[submodule "neovim/pack/vendor/start/gitsigns.nvim"]
|
||||||
|
path = neovim/pack/vendor/start/gitsigns.nvim
|
||||||
|
url = https://github.com/lewis6991/gitsigns.nvim
|
||||||
|
|
|
@ -35,6 +35,10 @@ test -d $HOME/.vim && rm -rf $HOME/.vim
|
||||||
ln -s $BASEDIR/vim $HOME/.vim
|
ln -s $BASEDIR/vim $HOME/.vim
|
||||||
test -L $HOME/.vimrc || ln -f -s $HOME/.vim/vimrc $HOME/.vimrc
|
test -L $HOME/.vimrc || ln -f -s $HOME/.vim/vimrc $HOME/.vimrc
|
||||||
|
|
||||||
|
echo "Setting up NeoVim"
|
||||||
|
test -d $HOME/.config/nvim && rm -rf $HOME/.config/nvim
|
||||||
|
ln -s $BASEDIR/neovim $HOME/.config/nvim
|
||||||
|
|
||||||
# .gitconfig gets edited by .extra so we won’t symlink it, but copy it
|
# .gitconfig gets edited by .extra so we won’t symlink it, but copy it
|
||||||
echo "For compatability we chall copy the global gitconfig"
|
echo "For compatability we chall copy the global gitconfig"
|
||||||
cp $BASEDIR/gitconfig $HOME/.gitconfig
|
cp $BASEDIR/gitconfig $HOME/.gitconfig
|
||||||
|
|
10
neovim/init.lua
Normal file
10
neovim/init.lua
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--[[
|
||||||
|
My NeoVim configuration
|
||||||
|
--]]
|
||||||
|
|
||||||
|
require('nvim-web-devicons').setup()
|
||||||
|
require('oil').setup()
|
||||||
|
require('gitsigns').setup()
|
||||||
|
|
||||||
|
vim.opt.spelllang = 'en_gb'
|
||||||
|
vim.opt.spell = true
|
1
neovim/pack/vendor/start/gitsigns.nvim
vendored
Submodule
1
neovim/pack/vendor/start/gitsigns.nvim
vendored
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit e784e5a078f993f7218b8a857cb581d5b9ca42dc
|
1
neovim/pack/vendor/start/nvim-web-devicons
vendored
Submodule
1
neovim/pack/vendor/start/nvim-web-devicons
vendored
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit c0cfc1738361b5da1cd0a962dd6f774cc444f856
|
1
neovim/pack/vendor/start/oil.nvim
vendored
Submodule
1
neovim/pack/vendor/start/oil.nvim
vendored
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 10fbfdd37b6904c0776c5db1a27ab47eecba335e
|
Loading…
Add table
Reference in a new issue