added plug installation to neovim init

This commit is contained in:
2023-08-15 10:52:02 +02:00
parent 19f79881a3
commit 0554207965
3 changed files with 14 additions and 5 deletions
+10
View File
@@ -1,3 +1,13 @@
" Check if vim-plug is not installed
if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
" Display a message to the user
echo "Installing vim-plug..."
" Run the installation command
call system('sh -c ''curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim''')
" Display a message to inform the user that the installation has completed
echo "vim-plug installed successfully. Please restart Neovim."
endif
call plug#begin('~/.config/nvim/plugged')
" Add your plugins here, for example:
-1
View File
@@ -1 +0,0 @@
picom.conf##class.arch_desktop
@@ -65,7 +65,7 @@ fixed-center = true
; the percentage can optionally be extended with a pixel offset like so:
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
width = 100%
height = 46
height = 20
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
; the percentage can optionally be extended with a pixel offset like so:
@@ -135,9 +135,9 @@ module-margin-right = 1
;;font-0 = "Misc Termsyn:size=12;1"
;;font-1 = "Wuncon Siji:size=12;1"
font-0 = "MesloLGS NF:size=20;2"
font-1 = "icomoon\-feather:size=23;2"
font-2 = "xos4 Terminus:size=22;1"
font-0 = "MesloLGS NF:size=10;2"
font-1 = "icomoon\-feather:size=13;2"
font-2 = "xos4 Terminus:size=12;1"
; Modules are added to one of the available blocks
; modules-left = cpu ram