From 328351cd17242e439201d3c846baf37278a1565c Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 3 Sep 2018 23:55:30 +0200 Subject: Load local plugins only when available --- python/.pythonrc | 4 +++- vifm/.config/vifm/vifmrc | 2 +- vim/.vimrc | 6 ++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/python/.pythonrc b/python/.pythonrc index 4d97a0f..e4c3b63 100644 --- a/python/.pythonrc +++ b/python/.pythonrc @@ -1,6 +1,8 @@ +import importlib +import math +import matplotlib import numpy as np import sympy as sym -import matplotlib try: import hermipy as hm diff --git a/vifm/.config/vifm/vifmrc b/vifm/.config/vifm/vifmrc index 6cbe884..7a2120a 100644 --- a/vifm/.config/vifm/vifmrc +++ b/vifm/.config/vifm/vifmrc @@ -1,5 +1,5 @@ " Command to open files -filetype * xdg-open +filetype * xdg-open & filetype *.exe wine " Options diff --git a/vim/.vimrc b/vim/.vimrc index 378d6b8..25d6e9f 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -68,8 +68,10 @@ Plug 'vim-scripts/gmsh.vim' Plug 'wellle/targets.vim' Plug 'zchee/deoplete-clang' -Plug '~/Dropbox/projects/vim-remembrall' -Plug '~/Dropbox/projects/vim-wintab' +if isdirectory($HOME."/Dropbox/projects") + Plug '~/Dropbox/projects/vim-remembrall' + Plug '~/Dropbox/projects/vim-wintab' +endif if has("nvim") " Plug 'roxma/nvim-completion-manager' -- cgit v1.2.3