From 6f9cc94181f86994badedd7075a1fa9af95c922a Mon Sep 17 00:00:00 2001 From: "Heavy@Hetzner" Date: Tue, 24 Sep 2024 21:00:35 +0000 Subject: [PATCH] (vimrc): Adjust vimrc (add nvim section). --- dot_bashrc.d/executable_11.motd | 4 ++++ dot_vimrc | 14 +++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/dot_bashrc.d/executable_11.motd b/dot_bashrc.d/executable_11.motd index faa526f..fd5bca5 100644 --- a/dot_bashrc.d/executable_11.motd +++ b/dot_bashrc.d/executable_11.motd @@ -3,3 +3,7 @@ if [ -d /etc/update-motd.d ]; then . "$f" done fi + +if [ -x neofetch ]; then + neofetch +fi diff --git a/dot_vimrc b/dot_vimrc index 0741bd7..7f50fde 100644 --- a/dot_vimrc +++ b/dot_vimrc @@ -115,7 +115,8 @@ set cursorline " underline the current line, for quick orientat " colorscheme mustang " colorscheme solarized -colorscheme solarized8 +" colorscheme solarized8 +colorscheme blue " https://superuser.com/questions/249779/how-to-setup-a-line-length-marker-in-vim-gvim " https://vi.stackexchange.com/questions/356/how-can-i-set-up-a-ruler-at-a-specific-column @@ -248,3 +249,14 @@ packloadall " Load all of the helptags now, after plugins have been loaded. " All messages and errors will be ignored. silent! helptags ALL +if has ('nvim') + " NeoVim specific commands +else + " Standard vim specific commands + + call plug#begin() + Plug 'editorconfig/editorconfig-vim' + Plug 'https://github.com/altercation/vim-colors-solarized.git' + Plug 'hashivim/vim-terraform' + call plug#end() +endif