From 2de81ce702802da0e8e34a107d7d7e24265c1796 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Tue, 7 Jun 2022 09:46:36 +0200 Subject: [PATCH] nvim remote no more --- .zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 4871b26..8fd8882 100644 --- a/.zshrc +++ b/.zshrc @@ -131,7 +131,6 @@ set_win_title ## vim export EDITOR=nvim -export NVIM_LISTEN_ADDRESS=/tmp/nvimsocket e () { @@ -143,7 +142,7 @@ e () _file=$( (fre --store_name $_store --sorted && fd --type f --hidden --follow --exclude .git . $_git_root) | fzf-tmux) fre --store_name $_store --add $_file fi - nvr --nostart --remote $_file + nvim --server $XDG_RUNTIME_DIR/nvim.sock --remote $_file tmux select-window -t1 } @@ -238,3 +237,4 @@ if [ -f '/home/dln/google-cloud-sdk/path.zsh.inc' ]; then . '/home/dln/google-cl # The next line enables shell command completion for gcloud. if [ -f '/home/dln/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/dln/google-cloud-sdk/completion.zsh.inc'; fi +PROG=tea _CLI_ZSH_AUTOCOMPLETE_HACK=1 source "/home/dln/.config/tea/autocomplete.zsh"