From 1c65b72425b4376bbf899a9ed58dfe60dee0552c Mon Sep 17 00:00:00 2001 From: jakobst1n Date: Sun, 10 Dec 2023 20:07:09 +0100 Subject: Add auto close, add insert timestamp in diary popup --- linux/tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux') diff --git a/linux/tmux.conf b/linux/tmux.conf index b5773f5..fbc5961 100644 --- a/linux/tmux.conf +++ b/linux/tmux.conf @@ -98,7 +98,7 @@ bind-key -T copy-mode-vi 'C-\' select-pane -l bind-key r source-file ~/.tmux.conf bind -n M-w display-popup -E "nvim -c VimwikiIndex -c Calendar -c 'wincmd p'" -bind -n M-l display-popup -E "nvim -c 'VimwikiMakeDiaryNote'" +bind -n M-C-w display-popup -E "nvim -c VimwikiMakeDiaryNote -c Calendar -c 'wincmd p' -c 'call append(1, strftime(\"- **%T** \"))' -c 'call append(2, \"\")' -c 'execute \"normal! 2GA\"'" # -- Theme -------------------------------------------------------------------- set -g status-justify left -- cgit v1.2.3