Compare commits

..

4 Commits

Author SHA1 Message Date
don philipe
f6bbc705f8 Add latex to treesitter config 2025-09-23 23:14:08 +02:00
don philipe
30d3a8c29a Merge neovim settings 2025-09-04 09:20:03 +02:00
don philipe
a414890f69 Fix coloring in nvim in tmux remote sessions 2025-09-04 04:53:16 +02:00
don philipe
2df66474db Merge zsh functions 2025-09-04 04:51:08 +02:00
4 changed files with 16 additions and 2 deletions

View File

@@ -10,3 +10,9 @@ vim.opt.scrolloff = 8
vim.opt.incsearch = true vim.opt.incsearch = true
vim.opt.signcolumn = "yes" vim.opt.signcolumn = "yes"
vim.o.termguicolors = true
vim.diagnostic.config({
virtual_text = true,
})

View File

@@ -1,6 +1,6 @@
require'nvim-treesitter.configs'.setup { require'nvim-treesitter.configs'.setup {
-- A list of parser names, or "all" (the listed parsers MUST always be installed) -- A list of parser names, or "all" (the listed parsers MUST always be installed)
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "markdown", "markdown_inline", "python", "javascript", "css", "html", "yaml", "java", "bash", "csv", "dockerfile", "htmldjango", "json", "nginx" }, ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "markdown", "markdown_inline", "python", "javascript", "css", "html", "yaml", "java", "bash", "csv", "dockerfile", "htmldjango", "json", "nginx", "latex" },
-- Install parsers synchronously (only applied to `ensure_installed`) -- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false, sync_install = false,

View File

@@ -7,7 +7,7 @@ set-window-option -g window-style bg="#32302f"
set-option -g focus-events on set-option -g focus-events on
# https://gist.github.com/andersevenrud/015e61af2fd264371032763d4ed965b6 # https://gist.github.com/andersevenrud/015e61af2fd264371032763d4ed965b6
set -g default-terminal "tmux-256color" set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",$TERM:RGB" set -ag terminal-overrides ",xterm-256color:RGB"
# List of plugins # List of plugins

View File

@@ -71,6 +71,14 @@ git-blobs()
$(command -v gnumfmt || echo numfmt) --field=2 --to=iec-i --suffix=B --padding=7 --round=nearest $(command -v gnumfmt || echo numfmt) --field=2 --to=iec-i --suffix=B --padding=7 --round=nearest
} }
sshs()
{
tmprc=$(ssh $1 "mktemp --directory")
scp -q $HOME/.zshrc $1:$tmprc
ssh -t $1 "export ZDOTDIR=${tmprc}; exec zsh"
ssh $1 "rm -rf ${tmprc}"
}
# show the current mode: # show the current mode:
#PR_VIMODE="#" #PR_VIMODE="#"
#function zle-keymap-select #function zle-keymap-select