fix nvim-tmux navigation inside distrobox
This commit is contained in:
parent
42e6595b60
commit
6df1940eb8
6 changed files with 64 additions and 150 deletions
|
|
@ -158,7 +158,8 @@ return {
|
||||||
|
|
||||||
mason_lspconfig.setup({
|
mason_lspconfig.setup({
|
||||||
ensure_installed = vim.tbl_keys(servers),
|
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({
|
mason_lspconfig.setup_handlers({
|
||||||
|
|
|
||||||
|
|
@ -4,15 +4,6 @@ return {
|
||||||
keys = { { "<leader>um", "<cmd>Mason<cr>", desc = "Mason" } },
|
keys = { { "<leader>um", "<cmd>Mason<cr>", desc = "Mason" } },
|
||||||
build = ":MasonUpdate",
|
build = ":MasonUpdate",
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = {
|
ensure_installed = {},
|
||||||
"blue",
|
|
||||||
"ruff",
|
|
||||||
"eslint_d",
|
|
||||||
"markdownlint",
|
|
||||||
"nimlsp",
|
|
||||||
"prettierd",
|
|
||||||
"shellcheck",
|
|
||||||
"stylua",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,149 +1,70 @@
|
||||||
# Get editor completions based on the config schema
|
# Get editor completions based on the config schema
|
||||||
"$schema" = 'https://starship.rs/config-schema.json'
|
"$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
|
# 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'
|
[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]
|
[container]
|
||||||
symbol = " "
|
symbol = ""
|
||||||
|
style = 'mauve'
|
||||||
[buf]
|
format = '[$symbol \[$name\]]($style) '
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[c]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " "
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[fossil_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[git_branch]
|
[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]
|
[golang]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[guix_shell]
|
[palettes.catppuccin_macchiato]
|
||||||
symbol = " "
|
rosewater = "#f4dbd6"
|
||||||
|
flamingo = "#f0c6c6"
|
||||||
[haskell]
|
pink = "#f5bde6"
|
||||||
symbol = " "
|
mauve = "#c6a0f6"
|
||||||
|
red = "#ed8796"
|
||||||
[haxe]
|
maroon = "#ee99a0"
|
||||||
symbol = "⌘ "
|
peach = "#f5a97f"
|
||||||
|
yellow = "#eed49f"
|
||||||
[hg_branch]
|
green = "#a6da95"
|
||||||
symbol = " "
|
teal = "#8bd5ca"
|
||||||
|
sky = "#91d7e3"
|
||||||
[hostname]
|
sapphire = "#7dc4e4"
|
||||||
ssh_symbol = " "
|
blue = "#8aadf4"
|
||||||
|
lavender = "#b7bdf8"
|
||||||
[java]
|
text = "#cad3f5"
|
||||||
symbol = " "
|
subtext1 = "#b8c0e0"
|
||||||
|
subtext0 = "#a5adcb"
|
||||||
[julia]
|
overlay2 = "#939ab7"
|
||||||
symbol = " "
|
overlay1 = "#8087a2"
|
||||||
|
overlay0 = "#6e738d"
|
||||||
[lua]
|
surface2 = "#5b6078"
|
||||||
symbol = " "
|
surface1 = "#494d64"
|
||||||
|
surface0 = "#363a4f"
|
||||||
[memory_usage]
|
base = "#24273a"
|
||||||
symbol = " "
|
mantle = "#1e2030"
|
||||||
|
crust = "#181926"
|
||||||
[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 = "🅢 "
|
|
||||||
|
|
|
||||||
|
|
@ -188,7 +188,7 @@ TMUX_FZF_LAUNCH_KEY="w"
|
||||||
TMUX_FZF_OPTIONS="-p -w 80% -h 60% -m"
|
TMUX_FZF_OPTIONS="-p -w 80% -h 60% -m"
|
||||||
|
|
||||||
# Tmux Management
|
# 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/session.sh switch"
|
||||||
# bind-key "F" run-shell -b "$HOME/.config/tmux/plugins/tmux-fzf/scripts/window.sh switch"
|
# bind-key "F" run-shell -b "$HOME/.config/tmux/plugins/tmux-fzf/scripts/window.sh switch"
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,7 @@ alias \
|
||||||
pps="podman ps --format 'table {{.ID}}\t{{.Names}}\t{{.State}}\t{{.Status}}\t{{.RunningFor}}'"
|
pps="podman ps --format 'table {{.ID}}\t{{.Names}}\t{{.State}}\t{{.Status}}\t{{.RunningFor}}'"
|
||||||
|
|
||||||
alias tm="fzf-tmux-sessions"
|
alias tm="fzf-tmux-sessions"
|
||||||
|
alias tmux="tmux -L $(hostname)" # allow to seamlessly create new servers inside containers
|
||||||
|
|
||||||
# Misc
|
# Misc
|
||||||
alias \
|
alias \
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,8 @@ export NPM_PACKAGES="$HOME/.npm-packages"
|
||||||
export NODE_PATH="$NPM_PACKAGES/lib/node_modules${NODE_PATH:+:$NODE_PATH}"
|
export NODE_PATH="$NPM_PACKAGES/lib/node_modules${NODE_PATH:+:$NODE_PATH}"
|
||||||
export PNPM_HOME="$HOME/.local/share/pnpm"
|
export PNPM_HOME="$HOME/.local/share/pnpm"
|
||||||
export ESLINT_USE_FLAT_CONFIG=true
|
export ESLINT_USE_FLAT_CONFIG=true
|
||||||
. "$HOME/.cargo/env"
|
# . "$HOME/.cargo/env"
|
||||||
source "$HOME/.rye/env"
|
# source "$HOME/.rye/env"
|
||||||
|
|
||||||
# Unset manpath so we can inherit from /etc/manpath via the `manpath`
|
# Unset manpath so we can inherit from /etc/manpath via the `manpath`
|
||||||
# command
|
# command
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue