summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc11
-rwxr-xr-x.vim/pack/mvertes/install.sh9
2 files changed, 5 insertions, 15 deletions
diff --git a/.bashrc b/.bashrc
index 85b53b4..55d4eb0 100644
--- a/.bashrc
+++ b/.bashrc
@@ -143,14 +143,7 @@ meteo() {
#PS1='[\u@\h \W]\$ '
-# fzf
-# Accomodate different base prefix on termux
-#[ -d "$HOME/../usr" ] && base=..
-#[ -f "$base/usr/share/fzf/completion.bash" ] && . "$base/usr/share/fzf/completion.bash"
-#[ -f "$base/usr/share/fzf/key-bindings.bash" ] && . "$base/usr/share/fzf/key-bindings.bash"
-#unset base
-#[ -f "/usr/share/fzf/completion.bash" ] && . "/usr/share/fzf/completion.bash"
-#[ -f "/usr/share/fzf/key-bindings.bash" ] && . "/usr/share/fzf/key-bindings.bash"
+eval "$(fzf --bash)" >/dev/null
# Arch: display package to install for missing commands
#[ -f '/usr/share/doc/pkgfile/command-not-found.bash' ] && . /usr/share/doc/pkgfile/command-not-found.bash
@@ -167,5 +160,3 @@ meteo() {
#bind -m vi-command ".":insert-last-argument
#bind -m vi-command 'Control-l: clear-screen'
#bind -m vi-insert 'Control-l: clear-screen'
-
-[ -f ~/.fzf.bash ] && source ~/.fzf.bash
diff --git a/.vim/pack/mvertes/install.sh b/.vim/pack/mvertes/install.sh
index 90cd4b3..8843982 100755
--- a/.vim/pack/mvertes/install.sh
+++ b/.vim/pack/mvertes/install.sh
@@ -1,12 +1,10 @@
#!/bin/sh -e
plugins='
-git@github.com:mvertes/vimki
-git@github.com:fatih/vim-go
-git@github.com:othree/xml.vim
git@github.com:junegunn/fzf.vim
-git@github.com:mattn/libcallex-vim
-git@github.com:bytesnake/vim-graphical-preview
+#git@github.com:fatih/vim-go
+git@github.com:mvertes/vimki
+git@github.com:prabirshrestha/vim-lsp
'
ht='test -d doc && vim -c "helptags doc" -c "q"'
@@ -14,6 +12,7 @@ mkdir -p start
cd start
for p in $plugins
do
+ case $p in ('#'*) continue ;; esac
n=${p##*/}
if [ -d "$n" ]; then
echo "update $p"