nvim; tmux
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
@@ -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"
|
||||
''}
|
||||
|
||||
@@ -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"
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user