nvim; tmux

This commit is contained in:
Martin Pander
2026-07-10 09:09:22 +02:00
parent 5e0ebe4406
commit cbe19bad55
4 changed files with 38 additions and 55 deletions

View File

@@ -154,9 +154,9 @@ in
bind C-q display-popup -E -xC -yC -w 95% -h 95% " \
SESSION_NAME=\$(tmux display-message -p '#S'); \
if [ \"\$SESSION_NAME\" = 'misc' ]; then \
cd '/mnt/c/Users/marti/Documents/notes/Work/' && vim task_notes.md; \
cd '/mnt/c/Users/marti/Documents/notes/Work/' && vim -c 'nnoremap q :wqa<CR>' task_notes.md; \
else \
cd \"\$HOME/pro/\$SESSION_NAME\" && vim task_notes.md; \
cd \"\$HOME/pro/\$SESSION_NAME\" && vim -c 'nnoremap q :wqa<CR>' task_notes.md; \
fi"
bind C-p display-popup -E -xC -yC -w 95% -h 95% -d "/mnt/c/Users/marti/Documents/notes/Work/development/" "vim mbpr.md"
''}