diff options
author | Johannes Ranke <johannes.ranke@jrwb.de> | 2024-12-06 21:49:13 +0100 |
---|---|---|
committer | Johannes Ranke <johannes.ranke@jrwb.de> | 2024-12-06 21:50:27 +0100 |
commit | 941e573e22d1c4b01e05b8cacc7a317bfb8eeaf8 (patch) | |
tree | 7f325a21f22664460fa18ebee4b8bd782d3b3b7a /install | |
parent | 41103239de9942a1cd269d4e88d15128761d32d9 (diff) |
Experimental neovim configuration with lua
Currently, using the neovim appimage, nvimserver cannot be installed
Diffstat (limited to 'install')
-rwxr-xr-x | install | 18 |
1 files changed, 5 insertions, 13 deletions
@@ -6,21 +6,20 @@ cd $(dirname $BASH_SOURCE) BASE=$(pwd) # dotfiles to install -for dotfile in bashrc vimrc gitconfig gitignore Rprofile tmux.conf reportbugrc; do +for dotfile in gitconfig gitignore Rprofile reportbugrc; do mkdir -pv bak [ -e ~/.$dotfile ] && mv -v ~/.$dotfile bak/.$dotfile ln -sfv $BASE/$dotfile ~/.$dotfile done # nvim config -if [ ! -e ~/.config/nvim ]; then - ln -sfv ~/.vim ~/.config/nvim +if [ ! -e ~/.config ]; then + mkdir -pv ~/.config fi -if [ ! -e ~/.config/nvim/init.vim ]; then - ln -sfv ~/.vimrc ~/.config/nvim/init.vim +if [ ! -e ~/.config/nvim ]; then + ln -sfv $BASE/nvim ~/.config/nvim fi - # git-prompt if [ ! -e ~/.git-prompt.sh ]; then curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh -o ~/.git-prompt.sh @@ -31,10 +30,3 @@ mkdir -pv ~/bin for bin in $BASE/bin/*; do ln -svf $bin ~/bin done - -# install vim-plug -if [ ! -e ~/.vim/autoload/plug.vim ]; then - echo Installing plug.vim from https://github.com/junegunn/vim-plug to ~/.vim/autoload/ - curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ - https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim -fi |