🐛 💥 lf + fzf hotfix
This commit is contained in:
parent
2bcf089e31
commit
8fa3df2209
3 changed files with 7 additions and 9 deletions
|
|
@ -76,12 +76,8 @@ let g:jupytext_style = 'hydrogen'
|
||||||
nmap ]x ctrih/^# %%<CR><CR>
|
nmap ]x ctrih/^# %%<CR><CR>
|
||||||
luafile $HOME/.config/nvim/plugins.lua
|
luafile $HOME/.config/nvim/plugins.lua
|
||||||
|
|
||||||
" gokcehan/lf
|
" fzf in nvim
|
||||||
let lfvim = "~/.config/lf/lf.vim"
|
set rtp+=/home/linuxbrew/.linuxbrew/opt/fzf
|
||||||
if filereadable(lfvim)
|
|
||||||
exec "source " . lfvim
|
|
||||||
endif
|
|
||||||
nnoremap <leader>l :LF<cr>
|
|
||||||
|
|
||||||
" python stuff
|
" python stuff
|
||||||
" let g:python3_host_prog = "$HOME/.venvs/nvim/bin/python"
|
" let g:python3_host_prog = "$HOME/.venvs/nvim/bin/python"
|
||||||
|
|
|
||||||
6
.zshrc
6
.zshrc
|
|
@ -116,17 +116,19 @@ bindkey -v
|
||||||
test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)"
|
test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)"
|
||||||
test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.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
|
# set PATH so it includes user's private ~/.local/bin if it exists
|
||||||
# lvim is installed to this directory (at least on ubuntu)
|
# lvim is installed to this directory (at least on ubuntu)
|
||||||
if [ -d "$HOME/.local/bin" ] ; then
|
if [ -d "$HOME/.local/bin" ] ; then
|
||||||
PATH="$HOME/.local/bin:$PATH"
|
PATH="$HOME/.local/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# zsh completions for lf
|
||||||
|
fpath=(~/.config/lf $fpath)
|
||||||
|
|
||||||
# zsh auto-complete
|
# zsh auto-complete
|
||||||
if type brew &>/dev/null; then
|
if type brew &>/dev/null; then
|
||||||
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH
|
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH
|
||||||
# zsh completions for lf
|
|
||||||
fpath=(~/.config/lf $fpath)
|
|
||||||
|
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
compinit
|
compinit
|
||||||
|
|
|
||||||
2
makefile
2
makefile
|
|
@ -66,8 +66,8 @@ setup_brew:
|
||||||
|
|
||||||
setup_lf:
|
setup_lf:
|
||||||
brew install 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.zsh ~/.config/lf/lf.zsh
|
||||||
ln -s -f ~/dotfiles/.config/lf/lf.vim ~/.config/lf/lf.vim
|
|
||||||
|
|
||||||
setup_fzf:
|
setup_fzf:
|
||||||
brew install fzf
|
brew install fzf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue