From 15e74dece782f36789f2519eead01efaf8ad86ac Mon Sep 17 00:00:00 2001 From: Von Random Date: Tue, 13 Dec 2016 19:06:28 +0300 Subject: [PATCH] fix default browser for termite and vim plugins source --- termite_config | 2 +- vimrc | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/termite_config b/termite_config index e9f05f0..6cac0b4 100644 --- a/termite_config +++ b/termite_config @@ -13,7 +13,7 @@ search_wrap = true icon_name = terminal cursor_blink = off cursor_shape = underline -browser = firefox +browser = default-web-browser size_hints = true [colors] diff --git a/vimrc b/vimrc index ccdb439..07164ee 100644 --- a/vimrc +++ b/vimrc @@ -59,8 +59,9 @@ nnoremap qw :wq nnoremap w :w " plugins -if filereadable(expand("$HOME/vdotfiles/plugins.vim")) - source ~/vdotfiles/plugins.vim +let plugins = expand("$HOME/vdotfiles/plugins.vim") +if filereadable(plugins) + execute 'source ' . fnameescape(plugins) endif colorscheme solarized8_light