Change vim for neovim
This commit is contained in:
parent
7bb9f4de25
commit
4e142d08ec
|
@ -2,7 +2,6 @@ PAC,alsa-utils,Utilities for ALSA
|
|||
PAC,clang,C compiler
|
||||
PAC,cmake,Meta-build system
|
||||
PAC,cmus,Terminal music player
|
||||
AUR,compiledb,Utility for generating compile_commands.json from Makefile
|
||||
FUN,install_dash,
|
||||
PAC,dunst,Notification daemon
|
||||
SRC,https://github.com/augustogunsch/dmenu,Graphical dynamic menu
|
||||
|
@ -14,7 +13,6 @@ PAC,ffmpeg,Media library with CLI tool
|
|||
PAC,fzf,Fuzzy finder
|
||||
PAC,gcc,C compiler
|
||||
PAC,gdb,C debugger
|
||||
PAC,gvim,Text editor
|
||||
PAC,htop,System monitor
|
||||
PAC,libnotify,Implementation of the Desktop Notifications Specification
|
||||
PAC,libxinerama,X11 extension which provides support for extending a desktop across multiple displays
|
||||
|
@ -25,6 +23,7 @@ AUR,mmv,Batch renamer
|
|||
PAC,mpv,Media player
|
||||
PAC,mupdf,Lightweight PDF viewer
|
||||
PAC,neofetch,System info fetcher
|
||||
PAC,neovim,Text editor
|
||||
AUR,nerd-fonts-hack,Monospace font
|
||||
PAC,newsboat,RSS feed reader and manager
|
||||
PAC,noto-fonts,Collection of standard fonts from Google
|
||||
|
|
|
|
@ -488,14 +488,14 @@ repos() {
|
|||
}
|
||||
|
||||
# pwd must be the home dir of the user
|
||||
configure_vim_for() {
|
||||
configure_nvim_for() {
|
||||
echo -n "Downloading vim-plug for $1..."
|
||||
quiet sudo -u "$1" curl -sfLo .vim/autoload/plug.vim --create-dirs \
|
||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
quiet sudo -u "$1" curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
|
||||
://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
echo "done"
|
||||
|
||||
echo -n "Installing vim plugins for $1..."
|
||||
quiet sudo -u "$1" vim -E -c PlugInstall -c qall
|
||||
echo -n "Installing neovim plugins for $1..."
|
||||
quiet sudo -u "$1" nvim -E -c PlugInstall -c qall
|
||||
echo "done"
|
||||
}
|
||||
|
||||
|
@ -519,12 +519,12 @@ install_dotfiles() {
|
|||
|
||||
qpushd "$HOME_DIR"
|
||||
install_dotfiles_for "$INSTALL_USER"
|
||||
configure_vim_for "$INSTALL_USER"
|
||||
configure_nvim_for "$INSTALL_USER"
|
||||
qpopd
|
||||
|
||||
qpushd "$HOME"
|
||||
install_dotfiles_for "root"
|
||||
configure_vim_for "root"
|
||||
configure_nvim_for "root"
|
||||
qpopd
|
||||
|
||||
change_shells
|
||||
|
|
Loading…
Reference in New Issue