1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-26 00:33:22 +00:00

Nvim: remove vim-plug submodule and use curl

This commit is contained in:
Phantop 2020-10-19 16:05:51 -04:00
parent 3ae7a23bcb
commit 8b2332134c
8 changed files with 4 additions and 12 deletions

0
.Xresources Executable file → Normal file
View file

View file

@ -1 +0,0 @@
vim-plug/plug.vim

@ -1 +0,0 @@
Subproject commit d16273e07231260e02412625f98651bc6ceebb56

View file

@ -37,7 +37,6 @@ c.colors.webpage.prefers_color_scheme_dark = True
c.content.fullscreen.window = True
c.qt.force_platformtheme = "gtk2"
c.editor.command = ["nvim", "-f", "{file}", "-c", "normal {line}G{column0}l"]
c.content.cookies.accept = "no-3rdparty"
c.input.insert_mode.auto_leave = False
c.downloads.location.prompt = False

3
.gitmodules vendored
View file

@ -1,3 +0,0 @@
[submodule ".config/nvim/autoload/vim-plug"]
path = .config/nvim/autoload/vim-plug
url = https://github.com/junegunn/vim-plug

8
.setup
View file

@ -1,24 +1,24 @@
#!/bin/bash
sudo eopkg up
sudo eopkg it -c system.devel
sudo eopkg rm celluloid gnome-mpv gnome-terminal hexchat libreoffice-common mate-terminal nautilus onboard rhythmbox
desktop="audacity bleachbit caja engrampa feh gmic-gimp goverlay keepassx kitty libstrangle mpv quodlibet qutebrowser rofi spek viewnior zathura-poppler"
terminal="advancecomp aria2 autojump busybox fd fish git-extras innoextract jq libva-utils most ncdu neovim p7zip pip ripgrep solbuild-config-local-unstable speedtest-cli stow"
sudo eopkg it $desktop $terminal
sudo pip3 install --upgrade qutebrowser
sudo pip3 install --upgrade qutebrowser breadability
rm ~/.bashrc
cd ~/.dotfiles
for i in `fd -t d -H`
do
for i in `fd -E .git -t d -H`; do
mkdir -p ~/$i
done
git submodule update --init
stow .
cd ~/.config/mpv/shaders
curl -fsSL $(curl -fsSL https://api.github.com/repos/bloc97/Anime4K/releases/latest | jq .assets[].browser_download_url | sed 's/"//g') | busybox unzip -
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
nvim +PlugUpdate +q +q
curl -fsSL https://starship.rs/install.sh | sudo bash -s -- -b /usr/bin -y

1
.vim
View file

@ -1 +0,0 @@
.config/nvim/

1
.vimrc
View file

@ -1 +0,0 @@
.vim/init.vim