aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-08-08 17:39:25 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-08-08 17:39:25 +0200
commitcfec8ca377ba57b0e0638b9b7ae980c5ff2e6c41 (patch)
treeb4c1325c68d25ab0458384b18837991ab3284019
parentd458439970caffc3bdebc3c139f29e02b285db55 (diff)
downloadmblaze-cfec8ca377ba57b0e0638b9b7ae980c5ff2e6c41.tar.gz
mless: add ^ to go to parent
-rwxr-xr-xmless3
-rw-r--r--mlesskey.example1
2 files changed, 4 insertions, 0 deletions
diff --git a/mless b/mless
index 708be23..1a4a38b 100755
--- a/mless
+++ b/mless
@@ -88,5 +88,8 @@ while :; do
72) # H toggle HTML mode
MLESS_HTML=$((1-$MLESS_HTML))
;;
+ 94) # ^ goto parent
+ mseq -C '.^' 2>/dev/null
+ ;;
esac
done
diff --git a/mlesskey.example b/mlesskey.example
index 63ae835..38b437e 100644
--- a/mlesskey.example
+++ b/mlesskey.example
@@ -11,3 +11,4 @@ N quit N
R quit R
k quit k
d quit d
+\^ quit \^