aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/share/bin/editor2
-rw-r--r--.profile3
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 "$@"
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=''"