summaryrefslogtreecommitdiffstats
path: root/window-buffer.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-04-23 06:30:15 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-04-23 06:30:15 +0100
commit106e5d07beaacaa977372f8b6a0bcac5f981545b (patch)
treeb62febbdd1133da0c682fc0a4df325156a810373 /window-buffer.c
parent63f2034f290637a512297445ed03d7f4e8c90dd2 (diff)
Tweak the default choose modes formats:
- Only show pane title if it is not default and not empty. - Add a prettier time format and use that instead of long ctime(). - Remove clutter and change the order.
Diffstat (limited to 'window-buffer.c')
-rw-r--r--window-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window-buffer.c b/window-buffer.c
index 80092fbd..cf707abe 100644
--- a/window-buffer.c
+++ b/window-buffer.c
@@ -36,7 +36,7 @@ static void window_buffer_key(struct window_mode_entry *,
#define WINDOW_BUFFER_DEFAULT_COMMAND "paste-buffer -b '%%'"
#define WINDOW_BUFFER_DEFAULT_FORMAT \
- "#{buffer_size} bytes (#{t:buffer_created})"
+ "#{t/p:buffer_created}: #{buffer_sample}"
static const struct menu_item window_buffer_menu_items[] = {
{ "Paste", 'p', NULL },