aboutsummaryrefslogtreecommitdiff
path: root/dynamic.txt
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-11-02 21:03:45 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-11-02 21:03:45 +0300
commit0e95c532ea671c00d90943c5a489d5898a53f9d2 (patch)
tree37f0f957f29a5363adb41bddbc742b11f8ec3e95 /dynamic.txt
parentd9c587a8d7b22b88fcf340bba182c7a364409f8b (diff)
wip: some more churn on dynamic stuff
Diffstat (limited to 'dynamic.txt')
-rw-r--r--dynamic.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/dynamic.txt b/dynamic.txt
index 4e8d4e84..d6df1e15 100644
--- a/dynamic.txt
+++ b/dynamic.txt
@@ -70,6 +70,20 @@ function p10k-on-pre-prompt() {
fi
}
+${_p9k__'$_p9k_line_index'r-'$right'}
+
function p10k-on-post-prompt() {
p10k display line1=hide right=hide segment:time=show
}
+
+TODO: support -1/left
+TODO: hiding gap kills right prompt; this is bad; implement it like ruler, with 3 values in _p9k_t?
+TODO: add 1/right/frame
+
+empty_line
+ruler
+1
+1/gap
+1/left
+1/right
+1/right/time