From 8fa3df220918b457b8a2997849d10f730d2a19a7 Mon Sep 17 00:00:00 2001 From: DannyDannyDanny Date: Wed, 10 May 2023 14:42:23 +0200 Subject: [PATCH] :bug: :boom: lf + fzf hotfix --- .config/nvim/init.vim | 8 ++------ .zshrc | 6 ++++-- makefile | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index a4cb46c..cb1eb98 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -76,12 +76,8 @@ let g:jupytext_style = 'hydrogen' nmap ]x ctrih/^# %% luafile $HOME/.config/nvim/plugins.lua -" gokcehan/lf -let lfvim = "~/.config/lf/lf.vim" -if filereadable(lfvim) - exec "source " . lfvim -endif -nnoremap l :LF +" fzf in nvim +set rtp+=/home/linuxbrew/.linuxbrew/opt/fzf " python stuff " let g:python3_host_prog = "$HOME/.venvs/nvim/bin/python" diff --git a/.zshrc b/.zshrc index 6789c21..0c4f009 100644 --- a/.zshrc +++ b/.zshrc @@ -116,17 +116,19 @@ bindkey -v test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)" test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" +# TODO: remove lvim # set PATH so it includes user's private ~/.local/bin if it exists # lvim is installed to this directory (at least on ubuntu) if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi +# zsh completions for lf +fpath=(~/.config/lf $fpath) + # zsh auto-complete if type brew &>/dev/null; then FPATH=$(brew --prefix)/share/zsh-completions:$FPATH - # zsh completions for lf - fpath=(~/.config/lf $fpath) autoload -Uz compinit compinit diff --git a/makefile b/makefile index 38f29a8..29953a1 100644 --- a/makefile +++ b/makefile @@ -66,8 +66,8 @@ setup_brew: setup_lf: brew install lf + mkdir -p ~/.config/lf ln -s -f ~/dotfiles/.config/lf/lf.zsh ~/.config/lf/lf.zsh - ln -s -f ~/dotfiles/.config/lf/lf.vim ~/.config/lf/lf.vim setup_fzf: brew install fzf