mirror of
https://github.com/chenasraf/dotfiles.git
synced 2026-05-17 17:28:07 +00:00
feat: config updates
This commit is contained in:
@@ -50,9 +50,9 @@
|
||||
command_execution_time # duration of the last command
|
||||
background_jobs # presence of background jobs
|
||||
direnv # direnv status (https://direnv.net/)
|
||||
asdf # asdf version manager (https://github.com/asdf-vm/asdf)
|
||||
# asdf # asdf version manager (https://github.com/asdf-vm/asdf)
|
||||
virtualenv # python virtual environment (https://docs.python.org/3/library/venv.html)
|
||||
anaconda # conda environment (https://conda.io/)
|
||||
# anaconda # conda environment (https://conda.io/)
|
||||
pyenv # python environment (https://github.com/pyenv/pyenv)
|
||||
goenv # go environment (https://github.com/syndbg/goenv)
|
||||
nodenv # node.js version from nodenv (https://github.com/nodenv/nodenv)
|
||||
@@ -67,42 +67,42 @@
|
||||
# java_version # java version (https://www.java.com/)
|
||||
package # name@version from package.json (https://docs.npmjs.com/files/package.json)
|
||||
rbenv # ruby version from rbenv (https://github.com/rbenv/rbenv)
|
||||
rvm # ruby version from rvm (https://rvm.io)
|
||||
# rvm # ruby version from rvm (https://rvm.io)
|
||||
fvm # flutter version management (https://github.com/leoafarias/fvm)
|
||||
luaenv # lua version from luaenv (https://github.com/cehoffman/luaenv)
|
||||
jenv # java version from jenv (https://github.com/jenv/jenv)
|
||||
plenv # perl version from plenv (https://github.com/tokuhirom/plenv)
|
||||
perlbrew # perl version from perlbrew (https://github.com/gugod/App-perlbrew)
|
||||
phpenv # php version from phpenv (https://github.com/phpenv/phpenv)
|
||||
scalaenv # scala version from scalaenv (https://github.com/scalaenv/scalaenv)
|
||||
haskell_stack # haskell version from stack (https://haskellstack.org/)
|
||||
kubecontext # current kubernetes context (https://kubernetes.io/)
|
||||
terraform # terraform workspace (https://www.terraform.io)
|
||||
# plenv # perl version from plenv (https://github.com/tokuhirom/plenv)
|
||||
# perlbrew # perl version from perlbrew (https://github.com/gugod/App-perlbrew)
|
||||
# phpenv # php version from phpenv (https://github.com/phpenv/phpenv)
|
||||
# scalaenv # scala version from scalaenv (https://github.com/scalaenv/scalaenv)
|
||||
# haskell_stack # haskell version from stack (https://haskellstack.org/)
|
||||
# kubecontext # current kubernetes context (https://kubernetes.io/)
|
||||
# terraform # terraform workspace (https://www.terraform.io)
|
||||
# terraform_version # terraform version (https://www.terraform.io)
|
||||
aws # aws profile (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html)
|
||||
aws_eb_env # aws elastic beanstalk environment (https://aws.amazon.com/elasticbeanstalk/)
|
||||
azure # azure account name (https://docs.microsoft.com/en-us/cli/azure)
|
||||
# aws # aws profile (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html)
|
||||
# aws_eb_env # aws elastic beanstalk environment (https://aws.amazon.com/elasticbeanstalk/)
|
||||
# azure # azure account name (https://docs.microsoft.com/en-us/cli/azure)
|
||||
gcloud # google cloud cli account and project (https://cloud.google.com/)
|
||||
google_app_cred # google application credentials (https://cloud.google.com/docs/authentication/production)
|
||||
toolbox # toolbox name (https://github.com/containers/toolbox)
|
||||
context # user@hostname
|
||||
nordvpn # nordvpn connection status, linux only (https://nordvpn.com/)
|
||||
ranger # ranger shell (https://github.com/ranger/ranger)
|
||||
nnn # nnn shell (https://github.com/jarun/nnn)
|
||||
lf # lf shell (https://github.com/gokcehan/lf)
|
||||
xplr # xplr shell (https://github.com/sayanarijit/xplr)
|
||||
# google_app_cred # google application credentials (https://cloud.google.com/docs/authentication/production)
|
||||
# toolbox # toolbox name (https://github.com/containers/toolbox)
|
||||
# context # user@hostname
|
||||
# nordvpn # nordvpn connection status, linux only (https://nordvpn.com/)
|
||||
# ranger # ranger shell (https://github.com/ranger/ranger)
|
||||
# nnn # nnn shell (https://github.com/jarun/nnn)
|
||||
# lf # lf shell (https://github.com/gokcehan/lf)
|
||||
# xplr # xplr shell (https://github.com/sayanarijit/xplr)
|
||||
vim_shell # vim shell indicator (:sh)
|
||||
midnight_commander # midnight commander shell (https://midnight-commander.org/)
|
||||
nix_shell # nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html)
|
||||
vi_mode # vi mode (you don't need this if you've enabled prompt_char)
|
||||
# vpn_ip # virtual private network indicator
|
||||
# load # CPU load
|
||||
# disk_usage # disk usage
|
||||
disk_usage # disk usage
|
||||
# ram # free RAM
|
||||
# swap # used swap
|
||||
todo # todo items (https://github.com/todotxt/todo.txt-cli)
|
||||
timewarrior # timewarrior tracking status (https://timewarrior.net/)
|
||||
taskwarrior # taskwarrior task count (https://taskwarrior.org/)
|
||||
# todo # todo items (https://github.com/todotxt/todo.txt-cli)
|
||||
# timewarrior # timewarrior tracking status (https://timewarrior.net/)
|
||||
# taskwarrior # taskwarrior task count (https://taskwarrior.org/)
|
||||
# cpu_arch # CPU architecture
|
||||
time # current time
|
||||
# =========================[ Line #2 ]=========================
|
||||
@@ -254,6 +254,7 @@
|
||||
go.mod
|
||||
package.json
|
||||
stack.yaml
|
||||
pubspec.yaml
|
||||
)
|
||||
typeset -g POWERLEVEL9K_SHORTEN_FOLDER_MARKER="(${(j:|:)anchor_files})"
|
||||
# If set to "first" ("last"), remove everything before the first (last) subdirectory that contains
|
||||
|
||||
@@ -54,7 +54,8 @@ run-shell "${HOME}/.tmux-power/tmux-power.tmux"
|
||||
# set -g @tmux_power_theme '#FF0000'
|
||||
set -g @tmux_power_theme 'redwine'
|
||||
set -g window-style 'bg=terminal'
|
||||
set -g window-active-style 'bg=terminal'
|
||||
# set -g window-active-style 'bg=black'
|
||||
set -g pane-active-border-style 'bg=red'
|
||||
set -g status-position top
|
||||
# set -g window-style 'fg=colour242,bg=terminal'
|
||||
# set -g window-active-style 'fg=colour250,bg=terminal'
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
vim.keymap.set("n", "<leader>lr", ":LspRestart<CR>", { desc = "[L]SP [R]estart" })
|
||||
vim.keymap.set("n", "<leader>li", ":LspInfo<CR>", { desc = "[L]SP [I]nfo" })
|
||||
-- [[ Configure LSP ]]
|
||||
-- This function gets run when an LSP connects to a particular buffer.
|
||||
local on_attach = function(_, bufnr)
|
||||
|
||||
@@ -92,29 +92,10 @@ config.keys = {
|
||||
{ key = "8", mods = "CMD", action = act { SendString = "\x028" } },
|
||||
{ key = "9", mods = "CMD", action = act { SendString = "\x029" } },
|
||||
{ key = "0", mods = "CMD", action = act { SendString = "\x020" } },
|
||||
-- Previous/Next tmux window: Cmd+Shift+{/}
|
||||
-- { key = "[", mods = "CMD|SHIFT", action = act { SendString = "\x02p" } },
|
||||
-- { key = "]", mods = "CMD|SHIFT", action = act { SendString = "\x02n" } },
|
||||
-- Previous/Next tmux window: Cmd+{/}
|
||||
{ key = "[", mods = "CMD", action = act { SendString = "\x02p" } },
|
||||
{ key = "]", mods = "CMD", action = act { SendString = "\x02n" } },
|
||||
--
|
||||
-- { key = "phys:[", mods = "CMD|SHIFT", action = act { SendString = "\x02p" } },
|
||||
-- { key = "phys:]", mods = "CMD|SHIFT", action = act { SendString = "\x02n" } },
|
||||
-- { key = "phys:{", mods = "CMD|SHIFT", action = act { SendString = "\x02p" } },
|
||||
-- { key = "phys:}", mods = "CMD|SHIFT", action = act { SendString = "\x02n" } },
|
||||
-- { key = "phys:[", mods = "CMD", action = act { SendString = "\x02p" } },
|
||||
-- { key = "phys:]", mods = "CMD", action = act { SendString = "\x02n" } },
|
||||
-- { key = "phys:{", mods = "CMD", action = act { SendString = "\x02p" } },
|
||||
-- { key = "phys:}", mods = "CMD", action = act { SendString = "\x02n" } },
|
||||
-- { key = "raw:[", mods = "CMD|SHIFT", action = act { SendString = "\x02p" } },
|
||||
-- { key = "raw:]", mods = "CMD|SHIFT", action = act { SendString = "\x02n" } },
|
||||
-- { key = "raw:{", mods = "CMD|SHIFT", action = act { SendString = "\x02p" } },
|
||||
-- { key = "raw:}", mods = "CMD|SHIFT", action = act { SendString = "\x02n" } },
|
||||
-- { key = "raw:[", mods = "CMD", action = act { SendString = "\x02p" } },
|
||||
-- { key = "raw:]", mods = "CMD", action = act { SendString = "\x02n" } },
|
||||
-- { key = "raw:{", mods = "CMD", action = act { SendString = "\x02p" } },
|
||||
-- { key = "raw:}", mods = "CMD", action = act { SendString = "\x02n" } },
|
||||
--
|
||||
-- Zoom - Cmd+Z
|
||||
{ key = "z", mods = "CMD", action = act { SendString = "\x02z" } },
|
||||
-- Kill the current pane/last window - Cmd+W
|
||||
|
||||
Reference in New Issue
Block a user