diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-10-19 17:59:03 +0200 |
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-10-19 17:59:03 +0200 |
| commit | eb25688e1ec02dd525302696c10cab55206f3d81 (patch) | |
| tree | 9e529e3ab5bbe68d18b87f3a997b5d3edee480ca | |
| parent | 50f56167ffb5ff8eef1297ca8b54bfec382a03c7 (diff) | |
fix $EDITOR
| -rwxr-xr-x | .local/share/bin/editor | 2 | ||||
| -rw-r--r-- | .profile | 3 |
2 files changed, 3 insertions, 2 deletions
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 "$@" @@ -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=''" |