From 08db10b626697e7b3cb4242f797e96d66be19196 Mon Sep 17 00:00:00 2001 From: "vy.boyko" Date: Tue, 5 Dec 2023 23:57:38 +0300 Subject: [PATCH] scripts --- install_vimrc.sh | 3 +++ update.sh | 3 +++ vimrc.vim | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 install_vimrc.sh create mode 100644 update.sh diff --git a/install_vimrc.sh b/install_vimrc.sh new file mode 100644 index 0000000..0a262b1 --- /dev/null +++ b/install_vimrc.sh @@ -0,0 +1,3 @@ +cd ~/.vim +cat ~/.vim/vimrc.vim > ~/.vimrc +echo "Installed the Vim configuration successfully! Enjoy :-)" diff --git a/update.sh b/update.sh new file mode 100644 index 0000000..85080ca --- /dev/null +++ b/update.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +git submodule update --init --recursive diff --git a/vimrc.vim b/vimrc.vim index 60cf0fb..ec7a60d 100644 --- a/vimrc.vim +++ b/vimrc.vim @@ -131,7 +131,7 @@ set statusline+=%-14.(%l,%c%V%)\ %<%P " offset set laststatus=2 " Plugins will be downloaded under the specified directory. -call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/.vim/plugged') +call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/.vim_runtime/plugged') " Declare the list of plugins. " ':PlugInstall' to install plugins