From eb25688e1ec02dd525302696c10cab55206f3d81 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sun, 19 Oct 2025 17:59:03 +0200 Subject: fix $EDITOR --- .local/share/bin/editor | 2 ++ .profile | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100755 .local/share/bin/editor diff --git a/.local/share/bin/editor b/.local/share/bin/editor new file mode 100755 index 0000000..d4bf664 --- /dev/null +++ b/.local/share/bin/editor @@ -0,0 +1,2 @@ +#!/bin/sh +exec nvim -p "$@" diff --git a/.profile b/.profile index 9d907ba..9c03904 100644 --- a/.profile +++ b/.profile @@ -8,7 +8,6 @@ export LANG='ja_JP.UTF-8' # aliases -alias vim='nvim' alias copy='xclip -selection clipboard' alias dnd='dragon-drop --all --and-exit' alias sl='sl -w' @@ -56,7 +55,7 @@ if [ -z "$PATH_EXTENDED" ] ; then fi # other stuff -export EDITOR="nvim -p" +export EDITOR=editor export PAGER="less" export FZF_DEFAULT_COMMAND="find . -name '.?*' -prune -o -print" export FZF_DEFAULT_OPTS="--color=bw,fg:7,scrollbar:8,info:8 --layout=reverse --info=inline-right --no-separator --no-scrollbar --marker='*' --pointer=''" -- cgit v1.2.3