summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/env4
-rw-r--r--.config/zsh/alias.zsh4
2 files changed, 4 insertions, 4 deletions
diff --git a/.config/env b/.config/env
index 6d6eccf..8f5e4f7 100644
--- a/.config/env
+++ b/.config/env
@@ -15,8 +15,8 @@
export PATH="$HOME"/.local/bin:"$PATH":/usr/local/llvm10/bin:/usr/local/llvm11/bin
# Apps
-export EDITOR='nvim'
-export VISUAL='emacsclient -c'
+export EDITOR='emacsclient -t -a nvim'
+export VISUAL='emacsclient -t -a nvim'
export PAGER='less'
export TERMINAL='st'
export BROWSER='iridium'
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh
index d6663ec..19a4d12 100644
--- a/.config/zsh/alias.zsh
+++ b/.config/zsh/alias.zsh
@@ -71,7 +71,7 @@ alias envdocker='eval $(docker-machine env docker-home)'
alias vimz='nvim $(fzf --preview="head -$FZF_PREVIEW_LINES {}")'
alias v='nvim $(fzf --preview="head -$FZF_PREVIEW_LINES {}")'
alias tohex='printf "0x%x\n"'
-vbi() {
+vimbin() {
p=$(pwd)
cd "$HOME"/.local/bin || return
sc=$(fzf --preview='head -$FZF_PREVIEW_LINES {}')
@@ -82,7 +82,7 @@ vbi() {
nvim $sc
cd $p
}
-vco() {
+vimconf() {
p=$(pwd)
cd "$HOME"/.config || return
sc=$(fzf --preview='head -$FZF_PREVIEW_LINES {}')