From f5e8a5c13c10dd93d614dea2530877ef48071a22 Mon Sep 17 00:00:00 2001 From: jakobst1n Date: Wed, 22 May 2024 08:05:23 +0200 Subject: Update neovim, tweak some things --- linux/tmux.conf.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux') diff --git a/linux/tmux.conf.m4 b/linux/tmux.conf.m4 index 11480ab..2e496b9 100644 --- a/linux/tmux.conf.m4 +++ b/linux/tmux.conf.m4 @@ -33,7 +33,7 @@ m4_ifelse(DT_DOTFILES_TYPE, {local}, {m4_dnl bind-key S send-keys "DT_GIT_USER " bind -n M-w display-popup -E "nvim -c VimwikiIndex -c Calendar -c 'wincmd p'" 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\"'" -bind -n M-C-i display-popup -E "nvim -c 'e ~/Nextcloud/wiki/I45/Hendelser.md' -c 'call append(1, strftime(\"- **%d.%m.%Y (%T)** - **\"))' -c 'call append(2, \"\")' -c 'execute \"normal! 2GA\"'" +bind -n M-C-i display-popup -E "nvim -c 'e ~/_library/wiki/I45/Hendelser.md' -c 'call append(1, strftime(\"- **%d.%m.%Y (%T)** - **\"))' -c 'call append(2, \"\")' -c 'execute \"normal! 2GA\"'" # Theme toggling bind-key T run-shell "toggle-theme" @@ -70,7 +70,7 @@ m4_changequote(`, ')m4_dnl # -- Theme -------------------------------------------------------------------- m4_ifelse(DT_DOTFILES_TYPE, `local', `m4_dnl set -g status-left "#{?client_prefix,C-a ,}[#S] " -set -g status-right "%d/%m/%y %H:%M:%S [#(cat /sys/class/power_supply/BAT0/capacity)%]" +set -g status-right "#(tt third-time) %d/%m/%y %H:%M:%S [#(cat /sys/class/power_supply/BAT0/capacity)%]" set -g status-style "fg=colour255,bold,bg=black" ')m4_dnl m4_ifelse(DT_DOTFILES_TYPE, `remote', `m4_dnl -- cgit v1.2.3