From bc69fba88090f1fe49b1defb0b6593ec863a5f20 Mon Sep 17 00:00:00 2001 From: Alexandros Theodotou Date: Fri, 2 Oct 2020 18:35:48 +0100 Subject: [PATCH] minor changes --- home/.config/guix/channels.scm | 2 +- home/.vimrc | 17 ++++++++++++----- home/.zshrc | 2 ++ 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/home/.config/guix/channels.scm b/home/.config/guix/channels.scm index c6bae8a..392d9ee 100644 --- a/home/.config/guix/channels.scm +++ b/home/.config/guix/channels.scm @@ -1,5 +1,5 @@ ;; Add alextee/guix-packages (cons (channel (name 'alex-guix-packages) - (url "https://git.savannah.gnu.org/git/guix.git")) + (url "https://git.zrythm.org/git/guix-repo")) %default-channels) diff --git a/home/.vimrc b/home/.vimrc index d4bc303..290a0f3 100644 --- a/home/.vimrc +++ b/home/.vimrc @@ -3,7 +3,14 @@ scriptencoding utf-8 " enable plugins filetype plugin on -" Specify a directory for plugins +" Auto-install vim-plug if not present +if empty(glob('~/.vim/autoload/plug.vim')) + silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs + \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim + autocmd VimEnter * PlugInstall --sync | source $MYVIMRC +endif + +" Init vim-plug call plug#begin('~/.vim/plugged') "Plug 'Yggdroot/indentLine' @@ -44,17 +51,17 @@ Plug 'w0ng/vim-hybrid' " theme Plug 'tikhomirov/vim-glsl' Plug 'HiPhish/guile.vim' -" Initialize plugin system +" Initialize plugin system. call plug#end() set background=dark colorscheme hybrid let g:solarized_termcolors=256 -" enable per-project configuration files +" Enable per-project configuration files. set exrc -" set UTF-8 encoding +" Set UTF-8 encoding. set fileencoding=utf-8 set termencoding=utf-8 " use indentation of previous line @@ -65,7 +72,7 @@ set smartindent set expandtab " number of spaces to add when is pressed set tabstop=2 -set shiftwidth=2 " indent also with 4 spaces +set shiftwidth=2 " indent also with 2 spaces " mark tab characters as 'T>' highlight SpecialKey ctermfg=1 diff --git a/home/.zshrc b/home/.zshrc index 3f89dba..fbaff24 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -36,6 +36,8 @@ done #LV2_PATH="$GUIX_PROFILE/lib/lv2" export VST_PATH="/home/alex/.guix-profile/lib/vst" export VST3_PATH="/home/alex/.guix-profile/lib/vst3" +export LADSPA_PATH="/home/alex/.guix-profile/lib/ladspa" +export DSSI_PATH="/home/alex/.guix-profile/lib/dssi" # Set name of the theme to load --- if set to "random", it will # load a random theme each time oh-my-zsh is loaded, in which case,