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

@@ -75,7 +75,9 @@ in
image-nvim
img-clip-nvim
vim-nix
indent-blankline-nvim
(nvim-treesitter.withPlugins (p: [ p.awk p.bash p.c p.c_sharp p.cpp p.css p.diff p.dockerfile p.doxygen p.git_config p.gitcommit p.go p.gomod p.gosum p.gotmpl p.helm p.haskell p.html p.http p.java p.javascript p.json p.latex p.lua p.markdown p.markdown_inline p.matlab p.nix p.printf p.python p.regex p.rust p.sql p.strace p.supercollider p.svelte p.swift p.terraform p.tmux p.toml p.typescript p.vim p.xml p.yaml p.zig ]))
nvim-treesitter-context
];
initLua = ''

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"
''}

View File

@@ -523,3 +523,10 @@ require('render-markdown').setup({
},
})
require('treesitter-context').setup{
multiwindow = true,
}
vim.api.nvim_set_hl(0, "TreesitterContextBottom", {
underline = true,
sp = "Grey"
})