Compare commits
9 Commits
e82f6e5356
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1b953e2c9e | ||
|
|
db2dab6ee2 | ||
|
|
d21e83c921 | ||
|
|
eec510c9fb | ||
|
|
36e44c4ea8 | ||
|
|
b4f025c019 | ||
|
|
cef0c0bdf7 | ||
|
|
23fb9d2593 | ||
|
|
4717c01483 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -15,6 +15,8 @@ mise/*
|
||||
nvim/lazy-lock.json
|
||||
nvim/lazyvim.json
|
||||
|
||||
!tmux/
|
||||
|
||||
!yazi/
|
||||
yazi/flavours/
|
||||
yazi/plugins/
|
||||
|
||||
@@ -67,7 +67,7 @@ plugins=(
|
||||
)
|
||||
```
|
||||
|
||||
###
|
||||
### Fabric
|
||||
https://github.com/Mu-L/fabric-ai/tree/main
|
||||
|
||||
```shell
|
||||
@@ -134,6 +134,13 @@ https://mise.jdx.dev/
|
||||
brew install mise
|
||||
```
|
||||
|
||||
### OpenCode
|
||||
https://github.com/anomalyco/opencode
|
||||
|
||||
```shell
|
||||
brew install opencode
|
||||
```
|
||||
|
||||
### Pwgen
|
||||
https://github.com/aronhoyer/pwgen
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ categories:
|
||||
|
||||
source:
|
||||
# renovate:datasource=github-releases
|
||||
id: pkg:generic/hashicorp/terraform-ls@v0.38.4
|
||||
id: pkg:generic/hashicorp/terraform-ls@v0.38.6
|
||||
download:
|
||||
- target: darwin_arm64
|
||||
files:
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
[settings]
|
||||
experimental = true
|
||||
env_shell_expand = true
|
||||
sops.age_key_file = "$HOME/.config/sops/.age"
|
||||
|
||||
[env]
|
||||
_.file = ".secrets.yaml"
|
||||
SOPS_AGE_KEY_FILE = "$HOME/.config/sops/.age"
|
||||
TFENV_REMOTE = "https://hashicorp-releases.yandexcloud.net"
|
||||
K9S_FEATURE_GATE_NODE_SHELL = true
|
||||
|
||||
@@ -14,10 +14,10 @@ brew install go
|
||||
brew install lazygit
|
||||
|
||||
# https://github.com/getsops/sops
|
||||
brew onstall sops
|
||||
brew install sops
|
||||
|
||||
# https://tree-sitter.github.io/
|
||||
brew install tree-sitter
|
||||
brew install tree-sitter-cli
|
||||
|
||||
# https://github.com/ryanoasis/nerd-fonts
|
||||
brew install --cask font-jetbrains-mono-nerd-font
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
-- https://github.com/mfussenegger/nvim-ansible/tree/main
|
||||
return {
|
||||
"mfussenegger/nvim-ansible",
|
||||
ft = "yaml.ansible",
|
||||
opts = {
|
||||
-- leave empty or see below
|
||||
},
|
||||
}
|
||||
@@ -1,40 +1,41 @@
|
||||
-- https://github.com/mason-org/mason.nvim
|
||||
-- https://github.com/mason-org/mason-registry
|
||||
-- https://github.com/WhoIsSethDaniel/mason-tool-installer.nvim
|
||||
return {
|
||||
{
|
||||
"mason-org/mason.nvim",
|
||||
opts = {
|
||||
registries = {
|
||||
"file:~/.config/mason-registry",
|
||||
"github:mason-org/mason-registry",
|
||||
},
|
||||
ui = {
|
||||
icons = {
|
||||
package_installed = "✓",
|
||||
package_pending = "➜",
|
||||
package_uninstalled = "✗",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"WhoIsSethDaniel/mason-tool-installer.nvim",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"ansible-language-server", -- https://github.com/ansible/vscode-ansible
|
||||
"docker-language-server", -- https://github.com/docker/docker-language-server
|
||||
"gitlab-ci-ls", -- https://github.com/alesbrelih/gitlab-ci-ls
|
||||
"helm-ls", -- https://github.com/mrjosh/helm-ls
|
||||
"lua-language-server", -- https://github.com/luals/lua-language-server
|
||||
"prettier", -- https://github.com/prettier/prettier
|
||||
"prettierd", -- https://github.com/prettier/prettier
|
||||
"stylua", -- https://github.com/JohnnyMorganz/StyLua
|
||||
"terraform-ls", -- https://github.com/hashicorp/terraform-ls
|
||||
"yaml-language-server", -- https://github.com/redhat-developer/yaml-language-server
|
||||
},
|
||||
},
|
||||
dependencies = {
|
||||
"williamboman/mason.nvim",
|
||||
},
|
||||
},
|
||||
{
|
||||
"mason-org/mason.nvim",
|
||||
opts = {
|
||||
registries = {
|
||||
"file:~/.config/mason-registry",
|
||||
"github:mason-org/mason-registry",
|
||||
},
|
||||
ui = {
|
||||
icons = {
|
||||
package_installed = "✓",
|
||||
package_pending = "➜",
|
||||
package_uninstalled = "✗",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"WhoIsSethDaniel/mason-tool-installer.nvim",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"ansible-language-server", -- https://github.com/ansible/vscode-ansible
|
||||
"docker-language-server", -- https://github.com/docker/docker-language-server
|
||||
"gitlab-ci-ls", -- https://github.com/alesbrelih/gitlab-ci-ls
|
||||
"helm-ls", -- https://github.com/mrjosh/helm-ls
|
||||
"lua-language-server", -- https://github.com/luals/lua-language-server
|
||||
"prettier", -- https://github.com/prettier/prettier
|
||||
"prettierd", -- https://github.com/prettier/prettier
|
||||
"stylua", -- https://github.com/JohnnyMorganz/StyLua
|
||||
"terraform-ls", -- https://github.com/hashicorp/terraform-ls
|
||||
"yaml-language-server", -- https://github.com/redhat-developer/yaml-language-server
|
||||
},
|
||||
},
|
||||
dependencies = {
|
||||
"williamboman/mason.nvim",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
51
tmux/tmux.conf
Normal file
51
tmux/tmux.conf
Normal file
@@ -0,0 +1,51 @@
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -g terminal-overrides ",*:RGB"
|
||||
|
||||
# Index options
|
||||
set -g base-index 1 # set base index for windows
|
||||
set-window-option -g pane-base-index 1 # ser base index for panes
|
||||
set-option -g renumber-windows on # renumber all windows when any window is closed
|
||||
|
||||
# Base configuration
|
||||
set -g history-limit 1000000 # increase history size (from 2,000)
|
||||
set -g mouse on # Enable mouse
|
||||
set -g set-clipboard on # use system clipboard
|
||||
|
||||
# Vim-like copy/paste
|
||||
set-window-option -g mode-keys vi # set vi mode for windows
|
||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||
unbind -T copy-mode-vi MouseDragEnd1Pane # disable copy with mouse
|
||||
|
||||
# Style
|
||||
gray_dark="#3B4252"
|
||||
gray_light="#D8DEE9"
|
||||
gray_medium="#ABB2BF"
|
||||
green_soft="#A3BE8C"
|
||||
cyan_soft="#88C0D0"
|
||||
blue_muted="#81A1C1"
|
||||
magenta="#C099FF"
|
||||
|
||||
set -g status-position top # macOS / darwin style
|
||||
set -g status-left-length 100 # more room for session name
|
||||
set -g status-style "fg=${gray_light},bg=default"
|
||||
set -g status-left " #{?client_prefix,#[fg=${magenta}],#[fg=${green_soft}]}#[bold] #S#[fg=${gray_light},nobold] | "
|
||||
set -g status-right ""
|
||||
set -g window-status-current-format "#[fg=${cyan_soft},bold] #[underscore]#I:#W"
|
||||
set -g window-status-format "#I:#W"
|
||||
set -g message-style "fg=${gray_light},bg=default"
|
||||
set -g mode-style "fg=${gray_dark},bg=${blue_muted}"
|
||||
set -g pane-border-style "fg=${gray_dark}"
|
||||
set -g pane-active-border-style "fg=${gray_medium}"
|
||||
|
||||
# Keybins
|
||||
bind r source-file $HOME/.config/tmux/tmux.conf \; display-message "Configuration reload..."
|
||||
|
||||
# Popups
|
||||
# new session
|
||||
bind C-n display-popup -w 50% -h 5% -E 'bash -i -c "read -p \"Session name: \" name; tmux new-session -d -s \$name && tmux switch-client -t \$name"'
|
||||
# jump to session
|
||||
bind C-j display-popup -E "tmux list-sessions | sed -E 's/:.*$//' | grep -v \"^$(tmux display-message -p '#S')\$\" | fzf --reverse | xargs tmux switch-client -t"
|
||||
# terminal
|
||||
bind C-t display-popup -d "#{pane_current_path}" -w 75% -h 75% -E "zsh"
|
||||
Reference in New Issue
Block a user