Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Kill hard-coded references to bin/sensible-*

  • Loading branch information...
commit 1d580ba170e74212494deecd7a0f476a1f388f1b 1 parent 349d24f
@tpope authored
View
3  .Xresources
@@ -291,9 +291,6 @@ XConsole*verbose: true
XConsole*saveLines: 128
XConsole*geometry: 364x225-90-40
XConsole*font: 5x7
-!## XFM {{{1
-Xfm*defaultEditor: sensible-editor
-Xfm*defaultViewer: sensible-pager
!## XOSVIEW {{{1
xosview*background: #666
xosview*interrupts: false
View
8 .cshrc
@@ -37,9 +37,13 @@ if ( "$prompt" == "" ) exit
umask 022
if ( -x /bin/stty ) stty -ixon
-setenv VISUAL "$HOME/bin/sensible-editor"
-setenv PAGER "$HOME/bin/sensible-pager"
+if ( -x /usr/local/bin/vim || -x /usr/bin/vim ) then
+ setenv VISUAL vim
+else if ( -x /usr/bin/vi || -x /bin/vi ) then
+ setenv VISUAL vi
+endif
setenv BROWSER "$HOME/bin/sensible-browser"
+if ( -x /usr/local/bin/less || -x /usr/bin/less || -x /bin/less ) setenv PAGER less
setenv LESS 'RFX#10'
if ( -x /usr/bin/lesspipe ) then
setenv LESSOPEN '|lesspipe %s'
View
2  .fvwm/.fvwm2rc
@@ -395,7 +395,7 @@ Key I A 4 FuncFindBookmark I FuncFindMediaProgram
Key O A 4 FuncFindBookmark O FuncFindOffice
Key P A 4 FuncFindBookmark P FuncFindDesktop
Key semicolon A 4 FuncFindEditor
-Key semicolon A 4M Exec exec sensible-editor
+Key semicolon A 4M Exec exec tpope sensible-editor
Key period A 4 FuncFindTerminal
Key comma A 4 FuncFindGameEtc
View
2  .mailcap
@@ -9,7 +9,7 @@ text/enriched; richtext -e -t; description="Enriched Text"; copiousoutput
text/richtext; richtext -t; description="Rich Text"; copiousoutput
text/x-vcalendar; korganizer '%s'; description="vCalendar File"; test=test -n "$DISPLAY"
audio/x-amzxml; "$HOME/Music/clamz.sh" '%s'; description="Amazon MP3 Download"
-text/*; sensible-pager '%s'; edit=vim '%s'; needsterminal; test=test -t 0
+text/*; less '%s'; edit=vim '%s'; needsterminal; test=test -t 0
text/*; gvim -Rf '%s'; edit=gvim -f '%s'; test=test -n "$DISPLAY" -a ! -t 0
video/*; mplayer -quiet -vo fb,fa '%s'; description="Video"; needsterminal; test=test -z "$DISPLAY" -a -t 0
video/*; mplayer '%s'; description="Video"; needsterminal; test=test -t 0
View
8 .shrc
@@ -80,9 +80,13 @@ RSYNC_RSH='ssh -ax'
if [ "$interactive" -o "$_" = "interactive" ] || \
echo $0|\grep '^[^.]*sh[0-9.-]*$' >/dev/null; then
- VISUAL="$HOME/bin/sensible-editor"
+ if [ -x "`which vim 2>/dev/null`" ]; then
+ VISUAL=vim
+ elif [ -x "`which vi 2>/dev/null`" ]; then
+ VISUAL=vi
+ fi
BROWSER="$HOME/bin/sensible-browser"
- PAGER="$HOME/bin/sensible-pager"
+ [ ! -x "`which less 2>/dev/null`" ] || PAGER=less
if [ -x /usr/bin/lesspipe ]; then
LESSOPEN='|lesspipe %s'
else
View
2  bin/installer
@@ -121,7 +121,7 @@ if inpath lynx && [ ! -f "$HOME/.lynx.cfg" ]; then
# ~/.lynx.cfg
INCLUDE:$globalcfg
ACCEPT_ALL_COOKIES:TRUE
-DEFAULT_EDITOR:sensible-editor
+DEFAULT_EDITOR:tpope sensible-editor
DEFAULT_USER_MODE:INTERMEDIATE
EMACS_KEYS_ALWAYS_ON:TRUE
EXTERNAL:http:sensible-browser %s:TRUE
View
4 bin/tpope
@@ -395,9 +395,9 @@ case "$basename" in
fi ;;
esac
if [ -n "$STY" ]; then
- exec tpope screen -ln -fn -t Editor sensible-editor "$@"
+ exec tpope screen -ln -fn -t Editor tpope sensible-editor "$@"
else
- exec sensible-editor "$@"
+ exec tpope sensible-editor "$@"
fi
;;
Please sign in to comment.
Something went wrong with that request. Please try again.