From 941e573e22d1c4b01e05b8cacc7a317bfb8eeaf8 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 6 Dec 2024 21:49:13 +0100 Subject: Experimental neovim configuration with lua Currently, using the neovim appimage, nvimserver cannot be installed --- install | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'install') diff --git a/install b/install index e35190d..09e0a9c 100755 --- a/install +++ b/install @@ -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 -- cgit v1.2.1