🐛 💥 lf + fzf hotfix

This commit is contained in:
DannyDannyDanny 2023-05-10 14:42:23 +02:00
parent 2bcf089e31
commit 8fa3df2209
3 changed files with 7 additions and 9 deletions

View file

@ -76,12 +76,8 @@ let g:jupytext_style = 'hydrogen'
nmap ]x ctrih/^# %%<CR><CR>
luafile $HOME/.config/nvim/plugins.lua
" gokcehan/lf
let lfvim = "~/.config/lf/lf.vim"
if filereadable(lfvim)
exec "source " . lfvim
endif
nnoremap <leader>l :LF<cr>
" fzf in nvim
set rtp+=/home/linuxbrew/.linuxbrew/opt/fzf
" python stuff
" let g:python3_host_prog = "$HOME/.venvs/nvim/bin/python"

6
.zshrc
View file

@ -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

View file

@ -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