diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-09-03 23:55:30 +0200 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-09-03 23:55:30 +0200 |
commit | 328351cd17242e439201d3c846baf37278a1565c (patch) | |
tree | ed740331a01aaa0f3d248158cff88afed2082d7c | |
parent | e9f2f20f7a52e8b77469b56a087cfcf30f2f0277 (diff) |
Load local plugins only when available
-rw-r--r-- | python/.pythonrc | 4 | ||||
-rw-r--r-- | vifm/.config/vifm/vifmrc | 2 | ||||
-rw-r--r-- | 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 @@ -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' |