fix nvim-tmux navigation inside distrobox

This commit is contained in:
Alexander Navarro 2024-11-13 13:06:15 -03:00
parent 42e6595b60
commit 6df1940eb8
Signed by untrusted user who does not match committer: anavarro
GPG key ID: 6426043E9FA3E3B5
6 changed files with 64 additions and 150 deletions

View file

@ -158,7 +158,8 @@ return {
mason_lspconfig.setup({
ensure_installed = vim.tbl_keys(servers),
automatic_installation = { exclude = { "astro", "phpactor", "gopls", "rust_analyzer", "sqlls" } },
-- automatic_installation = { exclude = { "astro", "phpactor", "rust_analyzer", "sqlls" } },
automatic_installation = false,
})
mason_lspconfig.setup_handlers({

View file

@ -4,15 +4,6 @@ return {
keys = { { "<leader>um", "<cmd>Mason<cr>", desc = "Mason" } },
build = ":MasonUpdate",
opts = {
ensure_installed = {
"blue",
"ruff",
"eslint_d",
"markdownlint",
"nimlsp",
"prettierd",
"shellcheck",
"stylua",
},
ensure_installed = {},
},
}

View file

@ -1,149 +1,70 @@
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
palette = "catppuccin_macchiato"
format = "$directory\n$container$character"
right_format = "$all"
# Inserts a blank line between shell prompts
add_newline = true
add_newline = false
# Replace the '' symbol in the prompt with '➜'
[character] # The name of the module we are configuring is 'character'
success_symbol = '[➜](bold green)' # The 'success_symbol' segment is being set to '➜' with the color 'bold green'
success_symbol = '[➜](bold green)'
error_symbol = '[➜](bold red)'
[aws]
symbol = " "
[buf]
symbol = " "
[c]
symbol = " "
[conda]
symbol = " "
[dart]
symbol = " "
[directory]
read_only = " "
[docker_context]
symbol = " "
[elixir]
symbol = " "
[elm]
symbol = " "
[fossil_branch]
symbol = " "
[container]
symbol = "󰆧"
style = 'mauve'
format = '[$symbol \[$name\]]($style) '
[git_branch]
symbol = " "
symbol = "󰘬 "
format = '[$symbol$branch(:$remote_branch)]($style) '
[git_status]
style = ''
format = '([\[${all_status}${ahead_behind}\]]($style))'
conflicted = ' '
ahead = ' '
behind = ' '
diverged = ' '
up_to_date = '[ ](green)'
untracked = ' '
stashed = '󰮄 '
modified = '[ \($count\)](peach) '
staged = '[ \($count\)](green) '
renamed = ' '
deleted = '[ \($count\)](red) '
[golang]
symbol = " "
[guix_shell]
symbol = " "
[haskell]
symbol = " "
[haxe]
symbol = "⌘ "
[hg_branch]
symbol = " "
[hostname]
ssh_symbol = " "
[java]
symbol = " "
[julia]
symbol = " "
[lua]
symbol = " "
[memory_usage]
symbol = " "
[meson]
symbol = "喝 "
[nim]
symbol = " "
[nix_shell]
symbol = " "
[nodejs]
symbol = " "
[os.symbols]
Alpaquita = " "
Alpine = " "
Amazon = " "
Android = " "
Arch = " "
Artix = " "
CentOS = " "
Debian = " "
DragonFly = " "
Emscripten = " "
EndeavourOS = " "
Fedora = " "
FreeBSD = " "
Garuda = "﯑ "
Gentoo = " "
HardenedBSD = "ﲊ "
Illumos = " "
Linux = " "
Mabox = " "
Macos = " "
Manjaro = " "
Mariner = " "
MidnightBSD = " "
Mint = " "
NetBSD = " "
NixOS = " "
OpenBSD = " "
openSUSE = " "
OracleLinux = " "
Pop = " "
Raspbian = " "
Redhat = " "
RedHatEnterprise = " "
Redox = " "
Solus = "ﴱ "
SUSE = " "
Ubuntu = " "
Unknown = " "
Windows = " "
[package]
symbol = " "
[pijul_channel]
symbol = "🪺 "
[python]
symbol = " "
[rlang]
symbol = "ﳒ "
[ruby]
symbol = " "
[rust]
symbol = " "
[scala]
symbol = " "
[spack]
symbol = "🅢 "
[palettes.catppuccin_macchiato]
rosewater = "#f4dbd6"
flamingo = "#f0c6c6"
pink = "#f5bde6"
mauve = "#c6a0f6"
red = "#ed8796"
maroon = "#ee99a0"
peach = "#f5a97f"
yellow = "#eed49f"
green = "#a6da95"
teal = "#8bd5ca"
sky = "#91d7e3"
sapphire = "#7dc4e4"
blue = "#8aadf4"
lavender = "#b7bdf8"
text = "#cad3f5"
subtext1 = "#b8c0e0"
subtext0 = "#a5adcb"
overlay2 = "#939ab7"
overlay1 = "#8087a2"
overlay0 = "#6e738d"
surface2 = "#5b6078"
surface1 = "#494d64"
surface0 = "#363a4f"
base = "#24273a"
mantle = "#1e2030"
crust = "#181926"

View file

@ -188,7 +188,7 @@ TMUX_FZF_LAUNCH_KEY="w"
TMUX_FZF_OPTIONS="-p -w 80% -h 60% -m"
# Tmux Management
bind-key "f" run-shell "~/.local/share/chezmoi/scripts/fzf-tmux-sessions"
bind-key "f" run-shell "~/Repos/Private/dots/scripts/fzf-tmux-sessions"
bind-key "F" run-shell -b "$HOME/.config/tmux/plugins/tmux-fzf/scripts/session.sh switch"
# bind-key "F" run-shell -b "$HOME/.config/tmux/plugins/tmux-fzf/scripts/window.sh switch"

View file

@ -45,6 +45,7 @@ alias \
pps="podman ps --format 'table {{.ID}}\t{{.Names}}\t{{.State}}\t{{.Status}}\t{{.RunningFor}}'"
alias tm="fzf-tmux-sessions"
alias tmux="tmux -L $(hostname)" # allow to seamlessly create new servers inside containers
# Misc
alias \

View file

@ -16,8 +16,8 @@ export NPM_PACKAGES="$HOME/.npm-packages"
export NODE_PATH="$NPM_PACKAGES/lib/node_modules${NODE_PATH:+:$NODE_PATH}"
export PNPM_HOME="$HOME/.local/share/pnpm"
export ESLINT_USE_FLAT_CONFIG=true
. "$HOME/.cargo/env"
source "$HOME/.rye/env"
# . "$HOME/.cargo/env"
# source "$HOME/.rye/env"
# Unset manpath so we can inherit from /etc/manpath via the `manpath`
# command