summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2019-08-28 23:19:46 +0200
committerUrbain Vaes <urbain@vaes.uk>2019-08-28 23:19:46 +0200
commitc8a1d582ef3d4a126b9fb1e6c8a7c4bdf10817b0 (patch)
treef1f850b2cc5b07b37e0be2d30bf4ee936b1eb6f6
parent0dbdefc7627eb3f62e6cf40034926271995abf75 (diff)
Fix minor bugs
-rw-r--r--vim/.vimrc4
-rw-r--r--zsh/.zshenv1
2 files changed, 3 insertions, 2 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 10e18f1..4efc91f 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -252,14 +252,14 @@ endif
" Plugins interactions
function! Multiple_cursors_before()
- if has("nvim")
+ if has("nvim") && &runtimepath =~ 'deoplete'
let b:deoplete_disable_auto_complete = 1
call deoplete#disable()
endif
endfunction
function! Multiple_cursors_after()
- if has("nvim")
+ if has("nvim") && &runtimepath =~ 'deoplete'
let b:deoplete_disable_auto_complete = 0
call deoplete#enable()
endif
diff --git a/zsh/.zshenv b/zsh/.zshenv
index b8cc58a..20066b6 100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -3,6 +3,7 @@ export VISUAL=nvim
# Export PATH without repetitions
export -U PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:$HOME/.local/bin:$HOME/.gem/ruby/2.5.0/bin${PATH:+:}$PATH"
+export PATH="/home/urbain/.config/guix/current/bin${PATH:+:}$PATH"
# Python startup file
[[ -f "$HOME/.pythonrc" ]] && export PYTHONSTARTUP="$HOME/.pythonrc"