mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-01 21:47:45 +00:00
Compare commits
75 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
15d1f6a59a | ||
| ba586fca7d | |||
|
|
d93bc7aae3 | ||
| 77b0428cec | |||
| 387432b27b | |||
| 88fa706b75 | |||
| 96ce9fec0c | |||
| 66d5fbc8ac | |||
| cc3ceb4176 | |||
| 0f9c69bb65 | |||
| c754746b9f | |||
| df5cab6a88 | |||
| b9ddba4666 | |||
| 77e92ef15e | |||
| 383bc2b052 | |||
| 0e109c3da3 | |||
| 50abd5aa30 | |||
| 082e27fb0a | |||
| e05e68f5d1 | |||
| 074c169e3c | |||
| 636ea749ac | |||
| da2a2e0f81 | |||
| 0ef12b61ac | |||
| c6fc3db52f | |||
| 1bde81a673 | |||
| d60248f356 | |||
| 40e8b9443b | |||
| 8a032a2804 | |||
| 367be373c4 | |||
| cf2f98d5c0 | |||
| a3704f7db9 | |||
| 7c359ffea0 | |||
| 9542624323 | |||
|
|
b0d74bad1a | ||
| fcade15933 | |||
| 6860909d39 | |||
| 493ad17c15 | |||
|
|
0495ac1ea8 | ||
| 9b5d372a74 | |||
| 9d04343a26 | |||
|
|
4aa0fba682 | ||
| ad6482b34a | |||
| 113e27734a | |||
| 378abfe896 | |||
| eadf1e5c84 | |||
| ea4d185fb4 | |||
| 22bd8ca870 | |||
| 7ee81b005c | |||
| 3faf8224e8 | |||
| d028f37c00 | |||
| 1df05ac0ba | |||
| e54e202281 | |||
| c226943aa9 | |||
| dda4b65458 | |||
| 7d564d0b4d | |||
| bc30e5f7a6 | |||
| 9e2f7e8f1b | |||
| 7b47e49804 | |||
| 1be7649122 | |||
| 453d54bc7f | |||
| 7ede7b9ac1 | |||
| a90743a09c | |||
| 185d28e587 | |||
|
|
37f023351d | ||
| 39523e9234 | |||
|
|
1f8fc0d289 | ||
| c083d2a20a | |||
| 75c6a0bccd | |||
| 5ce86b3229 | |||
| 885189e4ff | |||
| 8f3f4d7ed9 | |||
| 03a1b5fb85 | |||
| 7b83f6e943 | |||
| 261ff41e28 | |||
| 36ad2a2ad9 |
8
.github/README.md
vendored
8
.github/README.md
vendored
@@ -23,7 +23,11 @@ fork or download the repo as a zip and go from there with your own configs.
|
|||||||
|
|
||||||
## The looks
|
## The looks
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Interesting files and locations
|
## Interesting files and locations
|
||||||
|
|
||||||
@@ -107,6 +111,6 @@ portable enough to the user that it should be stored in `$XDG_DATA_HOME`.
|
|||||||
|
|
||||||
`$XDG_DATA_DIRS` defines the preference-ordered set of base directories
|
`$XDG_DATA_DIRS` defines the preference-ordered set of base directories
|
||||||
to search for data files in addition to the `$XDG_DATA_HOME` base directory.
|
to search for data files in addition to the `$XDG_DATA_HOME` base directory.
|
||||||
The directories in `$XDG_DATA_DIRS` should be seperated with a colon ':'.
|
The directories in `$XDG_DATA_DIRS` should be separated with a colon ':'.
|
||||||
|
|
||||||
[xdg]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
|
[xdg]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
|
||||||
|
|||||||
BIN
.github/screenshots/oh-my-posh.png
vendored
BIN
.github/screenshots/oh-my-posh.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 45 KiB |
BIN
.github/screenshots/tmux-nvim-kickstart-dark.png
vendored
Normal file
BIN
.github/screenshots/tmux-nvim-kickstart-dark.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 85 KiB |
BIN
.github/screenshots/tmux-nvim-kickstart-light.png
vendored
Normal file
BIN
.github/screenshots/tmux-nvim-kickstart-light.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 87 KiB |
18
.github/workflows/semantic-pr.yml
vendored
Normal file
18
.github/workflows/semantic-pr.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
name: Semantic PR
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- edited
|
||||||
|
- synchronize
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
semantic-pr:
|
||||||
|
runs-on: self-hosted
|
||||||
|
steps:
|
||||||
|
- uses: amannn/action-semantic-pull-request@v5.5.3
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
validateSingleCommit: true
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -10,6 +10,7 @@ config/cheat/cheatsheets/tldr/*
|
|||||||
config/git/credentials
|
config/git/credentials
|
||||||
config/npm/npmrc
|
config/npm/npmrc
|
||||||
config/zsh/.zcompdump
|
config/zsh/.zcompdump
|
||||||
|
config/alacritty/theme-active.toml
|
||||||
ssh/local.d/*
|
ssh/local.d/*
|
||||||
!ssh/local.d/.gitkeep
|
!ssh/local.d/.gitkeep
|
||||||
!.gitkeep
|
!.gitkeep
|
||||||
|
|||||||
6
.gitmodules
vendored
6
.gitmodules
vendored
@@ -58,3 +58,9 @@
|
|||||||
[submodule "cheat-tldr"]
|
[submodule "cheat-tldr"]
|
||||||
path = config/cheat/cheatsheets/tldr
|
path = config/cheat/cheatsheets/tldr
|
||||||
url = https://github.com/ivuorinen/cheatsheet-tldr.git
|
url = https://github.com/ivuorinen/cheatsheet-tldr.git
|
||||||
|
[submodule "nvim-kickstart"]
|
||||||
|
path = config/nvim-kickstart
|
||||||
|
url = https://github.com/ivuorinen/kickstart.nvim
|
||||||
|
[submodule "tmux/tmux-dark-notify"]
|
||||||
|
path = config/tmux/plugins/tmux-dark-notify
|
||||||
|
url = https://github.com/erikw/tmux-dark-notify.git
|
||||||
|
|||||||
@@ -10,6 +10,9 @@ git submodule add --name dotbot-include \
|
|||||||
git submodule add --name dotbot-pip \
|
git submodule add --name dotbot-pip \
|
||||||
-f https://github.com/sobolevn/dotbot-pip.git tools/dotbot-pip
|
-f https://github.com/sobolevn/dotbot-pip.git tools/dotbot-pip
|
||||||
|
|
||||||
|
git submodule add --name nvim-kickstart \
|
||||||
|
-f https://github.com/ivuorinen/kickstart.nvim config/nvim-kickstart
|
||||||
|
|
||||||
# other repos
|
# other repos
|
||||||
git submodule add --name cheat-community \
|
git submodule add --name cheat-community \
|
||||||
-f https://github.com/cheat/cheatsheets.git config/cheat/cheatsheets/community
|
-f https://github.com/cheat/cheatsheets.git config/cheat/cheatsheets/community
|
||||||
@@ -35,6 +38,8 @@ git submodule add --name tmux/tmux-yank \
|
|||||||
-f https://github.com/tmux-plugins/tmux-yank.git config/tmux/plugins/tmux-yank
|
-f https://github.com/tmux-plugins/tmux-yank.git config/tmux/plugins/tmux-yank
|
||||||
git submodule add --name tmux/tmux-current-pane-hostname \
|
git submodule add --name tmux/tmux-current-pane-hostname \
|
||||||
-f https://github.com/soyuka/tmux-current-pane-hostname.git config/tmux/plugins/tmux-current-pane-hostname
|
-f https://github.com/soyuka/tmux-current-pane-hostname.git config/tmux/plugins/tmux-current-pane-hostname
|
||||||
|
git submodule add --name tmux/tmux-dark-notify \
|
||||||
|
-f https://github.com/erikw/tmux-dark-notify.git config/tmux/plugins/tmux-dark-notify
|
||||||
|
|
||||||
# Takes submodules and sets them to ignore all changes
|
# Takes submodules and sets them to ignore all changes
|
||||||
for MODULE in $(git config --file .gitmodules --get-regexp path | awk '{ print $2 }'); do
|
for MODULE in $(git config --file .gitmodules --get-regexp path | awk '{ print $2 }'); do
|
||||||
|
|||||||
33
base/bashrc
33
base/bashrc
@@ -1,26 +1,8 @@
|
|||||||
# this is my bashrc config. there are many like it, but this one is mine.
|
# this is my bashrc config. there are many like it, but this one is mine.
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
# Defaults
|
source "$HOME/.dotfiles/config/shared"
|
||||||
export DOTFILES="$HOME/.dotfiles"
|
|
||||||
|
|
||||||
# Explicitly set XDG folders
|
|
||||||
# https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
|
|
||||||
export XDG_CONFIG_HOME="$HOME/.config"
|
|
||||||
export XDG_DATA_HOME="$HOME/.local/share"
|
|
||||||
export XDG_STATE_HOME="$HOME/.local/state"
|
|
||||||
|
|
||||||
# custom variables
|
|
||||||
export XDG_BIN_HOME="$HOME/.local/bin"
|
|
||||||
export XDG_CACHE_HOME="$HOME/.cache"
|
|
||||||
export XDG_RUNTIME_DIR="$HOME/.local/run"
|
|
||||||
|
|
||||||
# Paths
|
|
||||||
export PATH="$XDG_BIN_HOME:$DOTFILES/local/bin:$HOME/.local/go/bin:$XDG_DATA_HOME/cargo/bin:$PATH"
|
|
||||||
|
|
||||||
source "$DOTFILES/config/exports"
|
|
||||||
source "$DOTFILES/config/functions"
|
|
||||||
source "$DOTFILES/config/alias"
|
|
||||||
x-load-configs
|
x-load-configs
|
||||||
|
|
||||||
# shellcheck source=../config/fzf/fzf.bash
|
# shellcheck source=../config/fzf/fzf.bash
|
||||||
@@ -30,12 +12,13 @@ x-load-configs
|
|||||||
# Import ssh keys in keychain
|
# Import ssh keys in keychain
|
||||||
ssh-add -A 2>/dev/null
|
ssh-add -A 2>/dev/null
|
||||||
|
|
||||||
x-have rbenv && {
|
x-have oh-my-posh && {
|
||||||
eval "$(rbenv init - bash)"
|
eval "$(oh-my-posh init bash --config "$DOTFILES/config/omp/own.toml")"
|
||||||
}
|
}
|
||||||
|
|
||||||
# eval "$(starship init bash)"
|
. "$HOME/.local/share/asdf/asdf.sh"
|
||||||
x-have oh-my-posh && {
|
. "$HOME/.local/share/asdf/completions/asdf.bash"
|
||||||
eval "$(oh-my-posh init bash --config $XDG_CONFIG_HOME/oh-my-posh.omp.json)"
|
|
||||||
|
x-have antidot && {
|
||||||
|
eval "$(antidot init)"
|
||||||
}
|
}
|
||||||
source "$DOTFILES/config/alias"
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/env bash
|
#!/bin/env bash
|
||||||
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
[ -z "$NVM_DIR" ] && export NVM_DIR="$HOME/.config/nvm"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
|
|
||||||
|
|||||||
@@ -17,3 +17,5 @@ export XDG_CACHE_HOME="$HOME/.cache"
|
|||||||
export XDG_RUNTIME_DIR="$HOME/.local/run"
|
export XDG_RUNTIME_DIR="$HOME/.local/run"
|
||||||
|
|
||||||
source "$DOTFILES/config/exports"
|
source "$DOTFILES/config/exports"
|
||||||
|
source "$DOTFILES/config/alias"
|
||||||
|
|
||||||
|
|||||||
44
base/zshrc
44
base/zshrc
@@ -1,23 +1,16 @@
|
|||||||
# this is my zsh config. there are many like it, but this one is mine.
|
# this is my zsh config. there are many like it, but this one is mine.
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
export DOTFILES="$HOME/.dotfiles"
|
source "$HOME/.dotfiles/config/shared"
|
||||||
|
|
||||||
# Explicitly set XDG folders
|
|
||||||
# https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
|
|
||||||
export XDG_CONFIG_HOME="$HOME/.config"
|
|
||||||
export XDG_DATA_HOME="$HOME/.local/share"
|
|
||||||
export XDG_STATE_HOME="$HOME/.local/state"
|
|
||||||
|
|
||||||
# custom variables
|
|
||||||
export XDG_BIN_HOME="$HOME/.local/bin"
|
|
||||||
export XDG_CACHE_HOME="$HOME/.cache"
|
|
||||||
export XDG_RUNTIME_DIR="$HOME/.local/run"
|
|
||||||
|
|
||||||
export PATH="$XDG_BIN_HOME:$DOTFILES/local/bin:$HOME/.local/go/bin:$XDG_DATA_HOME/bob/nvim-bin:$XDG_DATA_HOME/cargo/bin:/opt/homebrew/bin:/usr/local/bin:$PATH"
|
export PATH="$XDG_BIN_HOME:$DOTFILES/local/bin:$HOME/.local/go/bin:$XDG_DATA_HOME/bob/nvim-bin:$XDG_DATA_HOME/cargo/bin:/opt/homebrew/bin:/usr/local/bin:$PATH"
|
||||||
|
|
||||||
x-load-configs
|
x-load-configs
|
||||||
|
|
||||||
|
x-have oh-my-posh && {
|
||||||
|
eval "$(oh-my-posh init zsh --config "$DOTFILES/config/omp/own.toml")"
|
||||||
|
}
|
||||||
|
|
||||||
export COMPLETION_WAITING_DOTS=true
|
export COMPLETION_WAITING_DOTS=true
|
||||||
|
|
||||||
if type brew &> /dev/null; then
|
if type brew &> /dev/null; then
|
||||||
@@ -53,25 +46,18 @@ export ZSHZ_DATA="$XDG_STATE_HOME/z"
|
|||||||
antigen bundle z
|
antigen bundle z
|
||||||
|
|
||||||
# these should be always available
|
# these should be always available
|
||||||
|
antigen bundle asdf
|
||||||
antigen bundle tmux
|
antigen bundle tmux
|
||||||
antigen bundle colored-man-pages
|
antigen bundle colored-man-pages
|
||||||
antigen bundle command-not-found
|
|
||||||
antigen bundle ssh-agent
|
antigen bundle ssh-agent
|
||||||
antigen bundle jreese/zsh-titles
|
antigen bundle jreese/zsh-titles
|
||||||
antigen bundle zsh-users/zsh-completions
|
antigen bundle zsh-users/zsh-completions
|
||||||
|
|
||||||
# these should be available if there's need
|
|
||||||
# x-have brew && antigen bundle brew
|
|
||||||
# x-have php && antigen bundle php
|
|
||||||
x-have python && antigen bundle MichaelAquilina/zsh-autoswitch-virtualenv
|
x-have python && antigen bundle MichaelAquilina/zsh-autoswitch-virtualenv
|
||||||
|
|
||||||
# nvm is a strange beast
|
# nvm is a strange beast
|
||||||
zstyle ':omz:plugins:nvm' autoload yes
|
zstyle ':omz:plugins:nvm' autoload yes
|
||||||
antigen bundle nvm
|
antigen bundle nvm
|
||||||
# antigen bundle "$DOTFILES/config/zsh/plugins/nvm-auto-use"
|
|
||||||
|
|
||||||
# nice to have stuff
|
|
||||||
# antigen bundle gcloud
|
|
||||||
|
|
||||||
# this needs to be the last item
|
# this needs to be the last item
|
||||||
antigen bundle zsh-users/zsh-syntax-highlighting
|
antigen bundle zsh-users/zsh-syntax-highlighting
|
||||||
@@ -81,10 +67,6 @@ antigen apply
|
|||||||
[ -f "${DOTFILES}/config/fzf/fzf.zsh" ] \
|
[ -f "${DOTFILES}/config/fzf/fzf.zsh" ] \
|
||||||
&& source "${DOTFILES}/config/fzf/fzf.zsh"
|
&& source "${DOTFILES}/config/fzf/fzf.zsh"
|
||||||
|
|
||||||
x-have rbenv && {
|
|
||||||
eval "$(rbenv init - zsh)"
|
|
||||||
}
|
|
||||||
|
|
||||||
x-have pyenv && {
|
x-have pyenv && {
|
||||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
@@ -105,8 +87,16 @@ x-have pyenv && {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# eval "$(starship init zsh)"
|
x-have antidot && {
|
||||||
x-have oh-my-posh && {
|
eval "$(antidot init)"
|
||||||
eval "$(oh-my-posh init zsh --config $XDG_CONFIG_HOME/oh-my-posh.omp.json)"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
source "$DOTFILES/config/alias"
|
source "$DOTFILES/config/alias"
|
||||||
|
|
||||||
|
# Herd checks for a few environment variables to inject PHP binaries and configurations.
|
||||||
|
# Herd injected PHP binary.
|
||||||
|
# export PATH="/Users/ivuorinen/Library/Application Support/Herd/bin/":$PATH
|
||||||
|
# Herd injected PHP 8.3 configuration.
|
||||||
|
# export HERD_PHP_83_INI_SCAN_DIR="/Users/ivuorinen/Library/Application Support/Herd/config/php/83/"
|
||||||
|
# Herd injected PHP 7.4 configuration.
|
||||||
|
# export HERD_PHP_74_INI_SCAN_DIR="/Users/ivuorinen/Library/Application Support/Herd/config/php/74/"
|
||||||
|
|||||||
@@ -1,344 +1,51 @@
|
|||||||
[colors]
|
import = [
|
||||||
draw_bold_text_with_bright_colors = true
|
# Default to night if the copied one doesn't exist.
|
||||||
|
"~/.dotfiles/config/alacritty/theme-night.toml",
|
||||||
[colors.bright]
|
"~/.config/alacritty/theme-active.toml"
|
||||||
black = "0x414868"
|
]
|
||||||
blue = "0x7aa2f7"
|
|
||||||
cyan = "0x7dcfff"
|
|
||||||
green = "0x9ece6a"
|
|
||||||
magenta = "0xbb9af7"
|
|
||||||
red = "0xf7768e"
|
|
||||||
white = "0xc0caf5"
|
|
||||||
yellow = "0xe0af68"
|
|
||||||
|
|
||||||
[colors.normal]
|
|
||||||
black = "0x1d202f"
|
|
||||||
blue = "0x7aa2f7"
|
|
||||||
cyan = "0x7dcfff"
|
|
||||||
green = "0x9ece6a"
|
|
||||||
magenta = "0xbb9af7"
|
|
||||||
red = "0xf7768e"
|
|
||||||
white = "0xa9b1d6"
|
|
||||||
yellow = "0xe0af68"
|
|
||||||
|
|
||||||
[colors.primary]
|
|
||||||
background = "0x24283b"
|
|
||||||
foreground = "0xc0caf5"
|
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
TERM = "xterm-256color"
|
TERM = "xterm-256color"
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
draw_bold_text_with_bright_colors = true
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
size = 14.0
|
size = 14.0
|
||||||
|
|
||||||
[font.bold]
|
|
||||||
family = "JetBrainsMonoNL Nerd Font Mono"
|
|
||||||
style = "Bold"
|
|
||||||
|
|
||||||
[font.glyph_offset]
|
[font.glyph_offset]
|
||||||
x = 0
|
x = 0
|
||||||
y = 0
|
y = 0
|
||||||
|
|
||||||
|
[font.normal]
|
||||||
|
family = "JetBrainsMonoNL Nerd Font Mono"
|
||||||
|
style = "ExtraLight"
|
||||||
|
|
||||||
[font.italic]
|
[font.italic]
|
||||||
family = "JetBrainsMonoNL Nerd Font Mono"
|
family = "JetBrainsMonoNL Nerd Font Mono"
|
||||||
style = "Italic"
|
style = "Italic"
|
||||||
|
|
||||||
[font.normal]
|
[font.bold]
|
||||||
family = "JetBrainsMonoNL Nerd Font Mono"
|
family = "JetBrainsMonoNL Nerd Font Mono"
|
||||||
style = "ExtraLight"
|
style = "Bold"
|
||||||
|
|
||||||
[font.offset]
|
[font.offset]
|
||||||
x = 0
|
x = 0
|
||||||
y = 0
|
y = 0
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Paste"
|
|
||||||
key = "V"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Copy"
|
|
||||||
key = "C"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Quit"
|
|
||||||
key = "Q"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Quit"
|
|
||||||
key = "W"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "SpawnNewInstance"
|
|
||||||
key = "N"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOH"
|
|
||||||
key = "Home"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1~"
|
|
||||||
key = "Home"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOF"
|
|
||||||
key = "End"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[4~"
|
|
||||||
key = "End"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[5;2~"
|
|
||||||
key = "PageUp"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[5;5~"
|
|
||||||
key = "PageUp"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[5~"
|
|
||||||
key = "PageUp"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[6;2~"
|
|
||||||
key = "PageDown"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[6;5~"
|
|
||||||
key = "PageDown"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[6~"
|
|
||||||
key = "PageDown"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2D"
|
|
||||||
key = "Left"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5D"
|
|
||||||
key = "Left"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3D"
|
|
||||||
key = "Left"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[D"
|
|
||||||
key = "Left"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOD"
|
|
||||||
key = "Left"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2C"
|
|
||||||
key = "Right"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5C"
|
|
||||||
key = "Right"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3C"
|
|
||||||
key = "Right"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[C"
|
|
||||||
key = "Right"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOC"
|
|
||||||
key = "Right"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2A"
|
|
||||||
key = "Up"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5A"
|
|
||||||
key = "Up"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3A"
|
|
||||||
key = "Up"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[A"
|
|
||||||
key = "Up"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOA"
|
|
||||||
key = "Up"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2B"
|
|
||||||
key = "Down"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5B"
|
|
||||||
key = "Down"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3B"
|
|
||||||
key = "Down"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[B"
|
|
||||||
key = "Down"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOB"
|
|
||||||
key = "Down"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[Z"
|
|
||||||
key = "Tab"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOP"
|
|
||||||
key = "F1"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOQ"
|
|
||||||
key = "F2"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOR"
|
|
||||||
key = "F3"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOS"
|
|
||||||
key = "F4"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[15~"
|
|
||||||
key = "F5"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[17~"
|
|
||||||
key = "F6"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[18~"
|
|
||||||
key = "F7"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[19~"
|
|
||||||
key = "F8"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[20~"
|
|
||||||
key = "F9"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[21~"
|
|
||||||
key = "F10"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[23~"
|
|
||||||
key = "F11"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[24~"
|
|
||||||
key = "F12"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
key = "Back"
|
|
||||||
action = "ReceiveChar"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[2~"
|
|
||||||
key = "Insert"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[3~"
|
|
||||||
key = "Delete"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u0002&"
|
|
||||||
key = "W"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u0002c"
|
|
||||||
key = "T"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u0002n"
|
|
||||||
key = "RBracket"
|
|
||||||
mods = "Command|Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u0002p"
|
|
||||||
key = "LBracket"
|
|
||||||
mods = "Command|Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u0002o"
|
|
||||||
key = "RBracket"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u0002;"
|
|
||||||
key = "LBracket"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u0002/"
|
|
||||||
key = "F"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[mouse.bindings]]
|
|
||||||
action = "PasteSelection"
|
|
||||||
mouse = "Middle"
|
|
||||||
|
|
||||||
[selection]
|
[selection]
|
||||||
semantic_escape_chars = ",│`|:\"' ()[]{}<>"
|
semantic_escape_chars = ",│`|:\"' ()[]{}<>"
|
||||||
|
save_to_clipboard = true
|
||||||
|
|
||||||
[window]
|
[window]
|
||||||
decorations = "none"
|
decorations = "Full"
|
||||||
dynamic_title = true
|
dynamic_title = true
|
||||||
opacity = 0.98
|
opacity = 0.98
|
||||||
|
blur = true
|
||||||
|
|
||||||
[window.dimensions]
|
[window.dimensions]
|
||||||
columns = 200
|
columns = 200
|
||||||
lines = 100
|
lines = 75
|
||||||
|
|
||||||
[window.padding]
|
[window.padding]
|
||||||
x = 5
|
x = 5
|
||||||
|
|||||||
40
config/alacritty/theme-day.toml
Normal file
40
config/alacritty/theme-day.toml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# TokyoNight Alacritty Colors: Day
|
||||||
|
# Default colors
|
||||||
|
[colors.primary]
|
||||||
|
background = '#e1e2e7'
|
||||||
|
foreground = '#3760bf'
|
||||||
|
|
||||||
|
#[colors.cursor]
|
||||||
|
#cursor = '#3760bf'
|
||||||
|
#text = '#e1e2e7'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
[colors.normal]
|
||||||
|
black = '#e9e9ed'
|
||||||
|
red = '#f52a65'
|
||||||
|
green = '#587539'
|
||||||
|
yellow = '#8c6c3e'
|
||||||
|
blue = '#2e7de9'
|
||||||
|
magenta = '#9854f1'
|
||||||
|
cyan = '#007197'
|
||||||
|
white = '#6172b0'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
[colors.bright]
|
||||||
|
black = '#a1a6c5'
|
||||||
|
red = '#f52a65'
|
||||||
|
green = '#587539'
|
||||||
|
yellow = '#8c6c3e'
|
||||||
|
blue = '#2e7de9'
|
||||||
|
magenta = '#9854f1'
|
||||||
|
cyan = '#007197'
|
||||||
|
white = '#3760bf'
|
||||||
|
|
||||||
|
# Indexed Colors
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 16
|
||||||
|
color = '#b15c00'
|
||||||
|
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 17
|
||||||
|
color = '#c64343'
|
||||||
40
config/alacritty/theme-night.toml
Normal file
40
config/alacritty/theme-night.toml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# TokyoNight Alacritty Colors: Storm
|
||||||
|
# Default colors
|
||||||
|
[colors.primary]
|
||||||
|
background = '#24283b'
|
||||||
|
foreground = '#c0caf5'
|
||||||
|
|
||||||
|
#[colors.cursor]
|
||||||
|
#cursor = '#c0caf5'
|
||||||
|
#text = '#24283b'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
[colors.normal]
|
||||||
|
black = '#1d202f'
|
||||||
|
red = '#f7768e'
|
||||||
|
green = '#9ece6a'
|
||||||
|
yellow = '#e0af68'
|
||||||
|
blue = '#7aa2f7'
|
||||||
|
magenta = '#bb9af7'
|
||||||
|
cyan = '#7dcfff'
|
||||||
|
white = '#a9b1d6'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
[colors.bright]
|
||||||
|
black = '#414868'
|
||||||
|
red = '#f7768e'
|
||||||
|
green = '#9ece6a'
|
||||||
|
yellow = '#e0af68'
|
||||||
|
blue = '#7aa2f7'
|
||||||
|
magenta = '#bb9af7'
|
||||||
|
cyan = '#7dcfff'
|
||||||
|
white = '#c0caf5'
|
||||||
|
|
||||||
|
# Indexed Colors
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 16
|
||||||
|
color = '#ff9e64'
|
||||||
|
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 17
|
||||||
|
color = '#db4b4b'
|
||||||
@@ -51,6 +51,10 @@ alias tmux='tmux new-session -A -s main'
|
|||||||
# tmux: attach or create new session
|
# tmux: attach or create new session
|
||||||
alias ta='tmux attach || tmux'
|
alias ta='tmux attach || tmux'
|
||||||
|
|
||||||
|
# nvim
|
||||||
|
alias nvim-ks='NVIM_APPNAME="nvim-kickstart" nvim'
|
||||||
|
alias ks='NVIM_APPNAME="nvim-kickstart" nvim'
|
||||||
|
|
||||||
# watch with: differences, precise, beep and color
|
# watch with: differences, precise, beep and color
|
||||||
alias watchx='watch -dpbc'
|
alias watchx='watch -dpbc'
|
||||||
# delete .DS_Store files
|
# delete .DS_Store files
|
||||||
@@ -99,7 +103,8 @@ if [[ $(uname) == 'Darwin' ]]; then
|
|||||||
# Also, clear Apple's System Logs to improve shell startup speed
|
# Also, clear Apple's System Logs to improve shell startup speed
|
||||||
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl"
|
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl"
|
||||||
|
|
||||||
x-set-php-aliases
|
# Using herd for php now, so this is not needed anymore
|
||||||
|
# x-set-php-aliases
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Alacritty preexec hook to update dynamic title
|
# Alacritty preexec hook to update dynamic title
|
||||||
|
|||||||
8
config/asdf/asdfrc
Normal file
8
config/asdf/asdfrc
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# See the docs for explanations: https://asdf-vm.com/manage/configuration.html
|
||||||
|
|
||||||
|
legacy_version_file = yes
|
||||||
|
use_release_candidates = no
|
||||||
|
always_keep_download = no
|
||||||
|
plugin_repository_last_check_duration = 60
|
||||||
|
disable_plugin_short_name_repository = no
|
||||||
|
concurrency = auto
|
||||||
7
config/asdf/npm-packages
Normal file
7
config/asdf/npm-packages
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
blade-formatter
|
||||||
|
corepack
|
||||||
|
editorconfig-checker
|
||||||
|
github-release-notes
|
||||||
|
neovim
|
||||||
|
npm
|
||||||
|
stylelint-lsp
|
||||||
27
config/asdf/plugin-versions
Normal file
27
config/asdf/plugin-versions
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
1password-cli https://github.com/NeoHsu/asdf-1password-cli.git f5d5aab
|
||||||
|
age https://github.com/threkk/asdf-age.git 4df80a0
|
||||||
|
asdf-plugin-manager https://github.com/asdf-community/asdf-plugin-manager.git 50d2735
|
||||||
|
bottom https://github.com/carbonteq/asdf-btm.git fd8a55a
|
||||||
|
dotenv-linter https://github.com/wesleimp/asdf-dotenv-linter.git 1369f53
|
||||||
|
editorconfig-checker https://github.com/gabitchov/asdf-editorconfig-checker.git 585c1d5
|
||||||
|
eza https://github.com/lwiechec/asdf-eza.git 08c1b65
|
||||||
|
fd https://gitlab.com/wt0f/asdf-fd.git 17d56e0
|
||||||
|
github-cli https://github.com/bartlomiejdanek/asdf-github-cli.git e0605b7
|
||||||
|
hadolint https://github.com/devlincashman/asdf-hadolint.git 335e230
|
||||||
|
kubectl https://github.com/asdf-community/asdf-kubectl.git cbe6df4
|
||||||
|
lazygit https://github.com/nklmilojevic/asdf-lazygit.git 78e04f1
|
||||||
|
neovim https://github.com/richin13/asdf-neovim d6118ad
|
||||||
|
nodejs https://github.com/asdf-vm/asdf-nodejs.git c5b7c40
|
||||||
|
pipx https://github.com/yozachar/asdf-pipx.git 31db618
|
||||||
|
pre-commit https://github.com/jonathanmorley/asdf-pre-commit.git 26bfc42
|
||||||
|
ripgrep https://gitlab.com/wt0f/asdf-ripgrep.git e836665
|
||||||
|
semgrep https://github.com/brentjanderson/asdf-semgrep.git 13ff78b
|
||||||
|
shellcheck https://github.com/luizm/asdf-shellcheck.git 780d78d
|
||||||
|
shfmt https://github.com/luizm/asdf-shfmt.git a42c5ff
|
||||||
|
terraform-ls https://github.com/asdf-community/asdf-hashicorp.git f1602b6
|
||||||
|
terraform-lsp https://github.com/bartlomiejdanek/asdf-terraform-lsp.git bba7106
|
||||||
|
terragrunt https://github.com/ohmer/asdf-terragrunt 4a6651a
|
||||||
|
tf-summarize https://github.com/adamcrews/asdf-tf-summarize.git 880ad26
|
||||||
|
vault https://github.com/asdf-community/asdf-hashicorp.git f1602b6
|
||||||
|
yamllint https://github.com/ericcornelissen/asdf-yamllint.git d5c3161
|
||||||
|
yq https://github.com/sudermanjr/asdf-yq.git 772992f
|
||||||
16
config/asdf/tool-versions
Normal file
16
config/asdf/tool-versions
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
1password-cli 2.29.0
|
||||||
|
age 1.2.0
|
||||||
|
bottom 0.9.6
|
||||||
|
eza 0.18.19
|
||||||
|
fd 10.1.0
|
||||||
|
hadolint 2.12.0
|
||||||
|
kubectl 1.30.2
|
||||||
|
lazygit 0.42.0
|
||||||
|
nodejs 22.3.0
|
||||||
|
pipx 1.6.0
|
||||||
|
tf-summarize 0.3.10
|
||||||
|
vault 1.17.0+ent
|
||||||
|
yamllint 1.35.1
|
||||||
|
yq 4.44.2
|
||||||
|
neovim system
|
||||||
|
asdf-plugin-manager 1.3.1
|
||||||
@@ -34,6 +34,18 @@ have()
|
|||||||
bkt -- which "$1" >&/dev/null
|
bkt -- which "$1" >&/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# function to run dark-notify and change alacritty theme
|
||||||
|
# it uses flock to prevent running multiple instances
|
||||||
|
# install flock with `brew install flock` on macOS
|
||||||
|
function darknotify-alacritty {
|
||||||
|
have flock && [[ -f /tmp/dark-notify-alacritty.lock ]] && return
|
||||||
|
have dark-notify && {
|
||||||
|
# true is used to prevent the command show it was backgrounded
|
||||||
|
true & flock /tmp/dark-notify-alacritty.lock dark-notify -c "$HOME/.dotfiles/local/bin/x-change-alacritty-theme" &
|
||||||
|
}
|
||||||
|
}
|
||||||
|
darknotify-alacritty
|
||||||
|
|
||||||
brew_installed()
|
brew_installed()
|
||||||
{
|
{
|
||||||
bkt -- brew list
|
bkt -- brew list
|
||||||
@@ -52,5 +64,9 @@ have_brew()
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [[ -f "$DOTFILES/config/exports-secret" ]]; then
|
||||||
|
source "$DOTFILES/config/exports-secret"
|
||||||
|
fi
|
||||||
|
|
||||||
source "$DOTFILES/config/exports-shell"
|
source "$DOTFILES/config/exports-shell"
|
||||||
source "$DOTFILES/config/exports-apps"
|
source "$DOTFILES/config/exports-apps"
|
||||||
|
|||||||
@@ -21,6 +21,19 @@ x-dc "$ANSIBLE_GALAXY_CACHE_DIR"
|
|||||||
|
|
||||||
export ANDROID_HOME="$XDG_DATA_HOME/android"
|
export ANDROID_HOME="$XDG_DATA_HOME/android"
|
||||||
|
|
||||||
|
# asdf
|
||||||
|
# https://github.com/asdf-vm/asdf
|
||||||
|
export ASDF_DIR="${XDG_DATA_HOME}/asdf"
|
||||||
|
export ASDF_CONFIG_FILE="${XDG_CONFIG_HOME}/asdf/asdfrc"
|
||||||
|
export ASDF_DATA_DIR="${ASDF_DIR}"
|
||||||
|
# This seems wrong, but `asdf info` and `versions.bash` differ on path resolution.
|
||||||
|
export ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=".config/asdf/tool-versions"
|
||||||
|
export ASDF_PLUGIN_MANAGER_PLUGIN_VERSIONS_FILENAME="${XDG_CONFIG_HOME}/asdf/plugin-versions"
|
||||||
|
export ASDF_LOG_FILE="${XDG_CACHE_HOME}/asdf/asdf.log"
|
||||||
|
export ASDF_NODEJS_LEGACY_FILE_DYNAMIC_STRATEGY="latest_available"
|
||||||
|
export ASDF_NPM_DEFAULT_PACKAGES_FILE="${XDG_CONFIG_HOME}/asdf/npm-packages"
|
||||||
|
export PATH="${ASDF_DIR}/bin:${PATH}"
|
||||||
|
|
||||||
# bob manages nvim versions
|
# bob manages nvim versions
|
||||||
export PATH="$XDG_DATA_HOME/bob/nvim-bin:$PATH"
|
export PATH="$XDG_DATA_HOME/bob/nvim-bin:$PATH"
|
||||||
|
|
||||||
@@ -29,6 +42,8 @@ export BKT_TTL=1m
|
|||||||
|
|
||||||
# brew, https://docs.brew.sh/Manpage
|
# brew, https://docs.brew.sh/Manpage
|
||||||
export HOMEBREW_NO_ENV_HINTS=true
|
export HOMEBREW_NO_ENV_HINTS=true
|
||||||
|
export HOMEBREW_BUNDLE_MAS_SKIP=true
|
||||||
|
export HOMEBREW_BUNDLE_FILE="$XDG_CONFIG_HOME/homebrew/Brewfile"
|
||||||
|
|
||||||
# composer, https://getcomposer.org/
|
# composer, https://getcomposer.org/
|
||||||
export COMPOSER_HOME="$XDG_STATE_HOME/composer"
|
export COMPOSER_HOME="$XDG_STATE_HOME/composer"
|
||||||
@@ -52,6 +67,17 @@ export GNUPGHOME="$XDG_DATA_HOME/gnupg"
|
|||||||
export GOPATH="$XDG_DATA_HOME/go"
|
export GOPATH="$XDG_DATA_HOME/go"
|
||||||
export GOBIN="$XDG_BIN_HOME"
|
export GOBIN="$XDG_BIN_HOME"
|
||||||
|
|
||||||
|
# Herd, herd.laravel.com
|
||||||
|
# Herd injected PHP binary.
|
||||||
|
export PATH="$HOME/Library/Application Support/Herd/bin/":$PATH
|
||||||
|
|
||||||
|
x-have herd && {
|
||||||
|
# Herd injected PHP 8.3 configuration.
|
||||||
|
export HERD_PHP_83_INI_SCAN_DIR="$HOME/Library/Application Support/Herd/config/php/83/"
|
||||||
|
# Herd injected PHP 7.4 configuration.
|
||||||
|
export HERD_PHP_74_INI_SCAN_DIR="$HOME/Library/Application Support/Herd/config/php/74/"
|
||||||
|
}
|
||||||
|
|
||||||
# nb, https://xwmx.github.io/nb/
|
# nb, https://xwmx.github.io/nb/
|
||||||
export NBRC_PATH="$XDG_CONFIG_HOME/nbrc"
|
export NBRC_PATH="$XDG_CONFIG_HOME/nbrc"
|
||||||
export NB_DIR="$XDG_STATE_HOME/nb"
|
export NB_DIR="$XDG_STATE_HOME/nb"
|
||||||
@@ -70,8 +96,8 @@ export OP_CACHE="$XDG_STATE_HOME/1password"
|
|||||||
# pyenv, python environments
|
# pyenv, python environments
|
||||||
export WORKON_HOME="$XDG_DATA_HOME/virtualenvs"
|
export WORKON_HOME="$XDG_DATA_HOME/virtualenvs"
|
||||||
export PYENV_ROOT="$XDG_STATE_HOME/pyenv"
|
export PYENV_ROOT="$XDG_STATE_HOME/pyenv"
|
||||||
|
export PATH="$PYENV_ROOT/bin:$PYENV_ROOT/shims:$PATH"
|
||||||
x-have pyenv && {
|
x-have pyenv && {
|
||||||
export PATH="$PYENV_ROOT/shims:$PATH"
|
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,22 +1,40 @@
|
|||||||
tap "1password/tap"
|
tap "1password/tap"
|
||||||
tap "anchore/grype"
|
tap "anchore/grype"
|
||||||
|
tap "cormacrelf/tap"
|
||||||
tap "ddosify/tap"
|
tap "ddosify/tap"
|
||||||
tap "dm3ch/tap"
|
tap "dm3ch/tap"
|
||||||
|
tap "doron-cohen/tap"
|
||||||
tap "gesquive/tap"
|
tap "gesquive/tap"
|
||||||
tap "github/gh"
|
tap "github/gh"
|
||||||
tap "homebrew/autoupdate"
|
tap "homebrew/autoupdate"
|
||||||
tap "homebrew/bundle"
|
tap "homebrew/bundle"
|
||||||
tap "homebrew/cask"
|
|
||||||
tap "homebrew/cask-fonts"
|
tap "homebrew/cask-fonts"
|
||||||
tap "homebrew/core"
|
|
||||||
tap "homebrew/services"
|
tap "homebrew/services"
|
||||||
tap "jesseduffield/lazygit"
|
tap "jesseduffield/lazygit"
|
||||||
|
tap "k8sgpt-ai/k8sgpt"
|
||||||
tap "keith/formulae"
|
tap "keith/formulae"
|
||||||
tap "mongodb/brew"
|
tap "mongodb/brew"
|
||||||
|
tap "reviewdog/tap"
|
||||||
tap "shivammathur/extensions"
|
tap "shivammathur/extensions"
|
||||||
tap "shivammathur/php"
|
tap "shivammathur/php"
|
||||||
tap "teamookla/speedtest"
|
tap "teamookla/speedtest"
|
||||||
tap "xwmx/taps"
|
tap "xwmx/taps"
|
||||||
|
# Run your GitHub Actions locally
|
||||||
|
brew "act"
|
||||||
|
# Simple, modern, secure file encryption
|
||||||
|
brew "age"
|
||||||
|
# Mozilla CA certificate store
|
||||||
|
brew "ca-certificates"
|
||||||
|
# Mozilla CA bundle for Python
|
||||||
|
brew "certifi"
|
||||||
|
# Cryptographic recipes and primitives for Python
|
||||||
|
brew "cryptography"
|
||||||
|
# YAML Parser
|
||||||
|
brew "libyaml"
|
||||||
|
# Automate deployment, configuration, and upgrading
|
||||||
|
brew "ansible"
|
||||||
|
# Checks ansible playbooks for practices and behaviour
|
||||||
|
brew "ansible-lint"
|
||||||
# Generic-purpose lossless compression algorithm by Google
|
# Generic-purpose lossless compression algorithm by Google
|
||||||
brew "brotli"
|
brew "brotli"
|
||||||
# Library and utilities for processing GIFs
|
# Library and utilities for processing GIFs
|
||||||
@@ -35,26 +53,28 @@ brew "jpeg-xl"
|
|||||||
brew "aom"
|
brew "aom"
|
||||||
# Apache Portable Runtime library
|
# Apache Portable Runtime library
|
||||||
brew "apr"
|
brew "apr"
|
||||||
# Mozilla CA certificate store
|
|
||||||
brew "ca-certificates"
|
|
||||||
# Cryptography and SSL/TLS Toolkit
|
|
||||||
brew "openssl@3"
|
|
||||||
# Companion library to apr, the Apache Portable Runtime library
|
# Companion library to apr, the Apache Portable Runtime library
|
||||||
brew "apr-util"
|
brew "apr-util"
|
||||||
# Password hashing library and CLI utility
|
# Password hashing library and CLI utility
|
||||||
brew "argon2"
|
brew "argon2"
|
||||||
# Open Source Kubernetes Marketplace
|
|
||||||
brew "arkade"
|
|
||||||
# Spell checker with better logic than ispell
|
# Spell checker with better logic than ispell
|
||||||
brew "aspell"
|
brew "aspell"
|
||||||
# Automatic configure script builder
|
# Automatic configure script builder
|
||||||
brew "autoconf"
|
brew "autoconf"
|
||||||
|
# Collection of over 500 reusable autoconf macros
|
||||||
|
brew "autoconf-archive"
|
||||||
|
# GNU multiple precision arithmetic library
|
||||||
|
brew "gmp"
|
||||||
|
# Manage compile and link flags for libraries
|
||||||
|
brew "pkg-config"
|
||||||
|
# Automated text file generator
|
||||||
|
brew "autogen"
|
||||||
|
# Tool for generating GNU Standards-compliant Makefiles
|
||||||
|
brew "automake"
|
||||||
# Bourne-Again SHell, a UNIX command interpreter
|
# Bourne-Again SHell, a UNIX command interpreter
|
||||||
brew "bash"
|
brew "bash"
|
||||||
# Clone of cat(1) with syntax highlighting and Git integration
|
# Clone of cat(1) with syntax highlighting and Git integration
|
||||||
brew "bat"
|
brew "bat"
|
||||||
# C/C++ and Java libraries for Unicode and globalization
|
|
||||||
brew "icu4c"
|
|
||||||
# Yet another cross-platform graphical process/system monitor
|
# Yet another cross-platform graphical process/system monitor
|
||||||
brew "bottom"
|
brew "bottom"
|
||||||
# Software library to render fonts
|
# Software library to render fonts
|
||||||
@@ -69,12 +89,8 @@ brew "glib"
|
|||||||
brew "choose-rust"
|
brew "choose-rust"
|
||||||
# Cross-platform make
|
# Cross-platform make
|
||||||
brew "cmake"
|
brew "cmake"
|
||||||
# GNU multiple precision arithmetic library
|
|
||||||
brew "gmp"
|
|
||||||
# GNU File, Shell, and Text utilities
|
# GNU File, Shell, and Text utilities
|
||||||
brew "coreutils"
|
brew "coreutils"
|
||||||
# Get, unpack, build, and install modules from CPAN
|
|
||||||
brew "cpanminus"
|
|
||||||
# Open source suite of directory software
|
# Open source suite of directory software
|
||||||
brew "openldap"
|
brew "openldap"
|
||||||
# Get a file from an HTTP, HTTPS or FTP server
|
# Get a file from an HTTP, HTTPS or FTP server
|
||||||
@@ -129,6 +145,8 @@ brew "gpgme"
|
|||||||
brew "gpg-tui"
|
brew "gpg-tui"
|
||||||
# Image manipulation
|
# Image manipulation
|
||||||
brew "netpbm"
|
brew "netpbm"
|
||||||
|
# C/C++ and Java libraries for Unicode and globalization
|
||||||
|
brew "icu4c"
|
||||||
# OpenType text shaping engine
|
# OpenType text shaping engine
|
||||||
brew "harfbuzz"
|
brew "harfbuzz"
|
||||||
# Framework for layout and rendering of i18n text
|
# Framework for layout and rendering of i18n text
|
||||||
@@ -145,6 +163,8 @@ brew "gzip"
|
|||||||
brew "hadolint"
|
brew "hadolint"
|
||||||
# Improved top (interactive process viewer)
|
# Improved top (interactive process viewer)
|
||||||
brew "htop"
|
brew "htop"
|
||||||
|
# Portable abstraction of the hierarchical topology of modern architectures
|
||||||
|
brew "hwloc"
|
||||||
# ISO/IEC 23008-12:2017 HEIF file format decoder and encoder
|
# ISO/IEC 23008-12:2017 HEIF file format decoder and encoder
|
||||||
brew "libheif"
|
brew "libheif"
|
||||||
# Tools and libraries to manipulate images in many formats
|
# Tools and libraries to manipulate images in many formats
|
||||||
@@ -153,44 +173,40 @@ brew "imagemagick"
|
|||||||
brew "irssi"
|
brew "irssi"
|
||||||
# Lightweight and flexible command-line JSON processor
|
# Lightweight and flexible command-line JSON processor
|
||||||
brew "jq"
|
brew "jq"
|
||||||
|
# JSON parser for C
|
||||||
|
brew "json-c"
|
||||||
|
# Scanning your k8s clusters, diagnosing, and triaging issues in simple English
|
||||||
|
brew "k8sgpt"
|
||||||
# Network authentication protocol
|
# Network authentication protocol
|
||||||
brew "krb5"
|
brew "krb5"
|
||||||
# Tool to detect/remediate misconfig and security risks of GitHub/GitLab assets
|
# Tool to detect/remediate misconfig and security risks of GitHub/GitLab assets
|
||||||
brew "legitify"
|
brew "legitify"
|
||||||
|
# Secure hashing function
|
||||||
|
brew "libb2"
|
||||||
# Postgres C API library
|
# Postgres C API library
|
||||||
brew "libpq"
|
brew "libpq"
|
||||||
# Manage compile and link flags for libraries
|
# Multi-platform support library with a focus on asynchronous I/O
|
||||||
brew "pkg-config"
|
brew "libuv"
|
||||||
# YAML Parser
|
|
||||||
brew "libyaml"
|
|
||||||
# Interpreted, interactive, object-oriented programming language
|
|
||||||
brew "python@3.11"
|
|
||||||
# Package manager for the Lua programming language
|
# Package manager for the Lua programming language
|
||||||
brew "luarocks"
|
brew "luarocks"
|
||||||
# LZMA-based compression program similar to gzip or bzip2
|
# LZMA-based compression program similar to gzip or bzip2
|
||||||
brew "lzip"
|
brew "lzip"
|
||||||
# Swiss Army Knife for macOS
|
# Swiss Army Knife for macOS
|
||||||
brew "m-cli"
|
brew "m-cli"
|
||||||
|
# Collection of tools that nobody wrote when UNIX was young
|
||||||
|
brew "moreutils"
|
||||||
# Mongrel of mail user agents (part elm, pine, mush, mh, etc.)
|
# Mongrel of mail user agents (part elm, pine, mush, mh, etc.)
|
||||||
brew "mutt"
|
brew "mutt"
|
||||||
# NCurses Disk Usage
|
# NCurses Disk Usage
|
||||||
brew "ncdu"
|
brew "ncdu"
|
||||||
# Ambitious Vim-fork focused on extensibility and agility
|
|
||||||
brew "neovim"
|
|
||||||
# HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server
|
# HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server
|
||||||
brew "nginx"
|
brew "nginx"
|
||||||
# Port scanning utility for large networks
|
# Port scanning utility for large networks
|
||||||
brew "nmap"
|
brew "nmap"
|
||||||
# Manage multiple Node.js versions
|
# ISO-C API and CLI for generating UUIDs
|
||||||
brew "nvm"
|
brew "ossp-uuid"
|
||||||
# Development kit for the Java programming language
|
# General-purpose scripting language
|
||||||
brew "openjdk@11"
|
brew "php"
|
||||||
# Generate clients, server & docs from an OpenAPI spec (v2, v3)
|
|
||||||
brew "openapi-generator"
|
|
||||||
# Development kit for the Java programming language
|
|
||||||
brew "openjdk"
|
|
||||||
# Highly capable, feature-rich programming language
|
|
||||||
brew "perl"
|
|
||||||
# Coreutils progress viewer
|
# Coreutils progress viewer
|
||||||
brew "progress"
|
brew "progress"
|
||||||
# Python version management
|
# Python version management
|
||||||
@@ -199,10 +215,12 @@ brew "pyenv"
|
|||||||
brew "pyenv-pip-migrate"
|
brew "pyenv-pip-migrate"
|
||||||
# Pyenv plugin to manage virtualenv
|
# Pyenv plugin to manage virtualenv
|
||||||
brew "pyenv-virtualenv"
|
brew "pyenv-virtualenv"
|
||||||
|
# Interpreted, interactive, object-oriented programming language
|
||||||
|
brew "python@3.11"
|
||||||
|
# Install various Ruby versions and implementations
|
||||||
|
brew "ruby-build"
|
||||||
# Ruby version manager
|
# Ruby version manager
|
||||||
brew "rbenv"
|
brew "rbenv"
|
||||||
# RC file (dotfile) management
|
|
||||||
brew "rcm"
|
|
||||||
# Search tool like grep and The Silver Searcher
|
# Search tool like grep and The Silver Searcher
|
||||||
brew "ripgrep"
|
brew "ripgrep"
|
||||||
# Safe, concurrent, practical language
|
# Safe, concurrent, practical language
|
||||||
@@ -215,8 +233,6 @@ brew "shfmt"
|
|||||||
brew "task"
|
brew "task"
|
||||||
# Terminal user interface for taskwarrior
|
# Terminal user interface for taskwarrior
|
||||||
brew "taskwarrior-tui"
|
brew "taskwarrior-tui"
|
||||||
# Very fast implementation of tldr in Rust
|
|
||||||
brew "tealdeer"
|
|
||||||
# Send macOS User Notifications from the command-line
|
# Send macOS User Notifications from the command-line
|
||||||
brew "terminal-notifier"
|
brew "terminal-notifier"
|
||||||
# Thin wrapper for Terraform e.g. for locking state
|
# Thin wrapper for Terraform e.g. for locking state
|
||||||
@@ -243,45 +259,21 @@ brew "watch"
|
|||||||
brew "wget"
|
brew "wget"
|
||||||
# Check your $HOME for unwanted files and directories
|
# Check your $HOME for unwanted files and directories
|
||||||
brew "xdg-ninja", args: ["HEAD"]
|
brew "xdg-ninja", args: ["HEAD"]
|
||||||
# Hackable, minimal, fast TUI file explorer
|
|
||||||
brew "xplr"
|
|
||||||
# JavaScript package manager
|
# JavaScript package manager
|
||||||
brew "yarn"
|
brew "yarn"
|
||||||
# High-performance load testing tool, written in Golang.
|
# Watcher for macOS 10.14+ light/dark mode changes
|
||||||
brew "ddosify/tap/ddosify"
|
brew "cormacrelf/tap/dark-notify"
|
||||||
|
# Cleans up your $HOME from those pesky dotfiles
|
||||||
|
brew "doron-cohen/tap/antidot"
|
||||||
# lets you quickly switch between multiple git user profiles
|
# lets you quickly switch between multiple git user profiles
|
||||||
brew "gesquive/tap/git-user"
|
brew "gesquive/tap/git-user"
|
||||||
brew "keith/formulae/reminders-cli"
|
brew "keith/formulae/reminders-cli"
|
||||||
# Imagick PHP extension
|
# Automated code review tool integrated with any code analysis tools regardless of programming language.
|
||||||
brew "shivammathur/extensions/imagick@8.2"
|
brew "reviewdog/tap/reviewdog"
|
||||||
# Imagick PHP extension
|
|
||||||
brew "shivammathur/extensions/imagick@8.3"
|
|
||||||
# Mcrypt PHP extension
|
|
||||||
brew "shivammathur/extensions/mcrypt@8.3"
|
|
||||||
# PCOV PHP extension
|
|
||||||
brew "shivammathur/extensions/pcov@8.3"
|
|
||||||
# Redis PHP extension
|
|
||||||
brew "shivammathur/extensions/redis@8.3"
|
|
||||||
# Uuid PHP extension
|
|
||||||
brew "shivammathur/extensions/uuid@8.3"
|
|
||||||
# Xdebug PHP extension
|
|
||||||
brew "shivammathur/extensions/xdebug@7.4"
|
|
||||||
# Xdebug PHP extension
|
|
||||||
brew "shivammathur/extensions/xdebug@8.0"
|
|
||||||
# Xdebug PHP extension
|
|
||||||
brew "shivammathur/extensions/xdebug@8.1"
|
|
||||||
# Yaml PHP extension
|
|
||||||
brew "shivammathur/extensions/yaml@8.3"
|
|
||||||
# General-purpose scripting language
|
|
||||||
brew "shivammathur/php/php"
|
|
||||||
# Command-line interface for 1Password
|
# Command-line interface for 1Password
|
||||||
cask "1password-cli"
|
cask "1password-cli"
|
||||||
# GPU-accelerated terminal emulator
|
# GPU-accelerated terminal emulator
|
||||||
cask "alacritty"
|
cask "alacritty"
|
||||||
# Automatic tiling window manager similar to xmonad
|
|
||||||
cask "amethyst"
|
|
||||||
# Turn audio CDs and files into audiobooks
|
|
||||||
cask "audiobook-builder"
|
|
||||||
# Text editor
|
# Text editor
|
||||||
cask "coda"
|
cask "coda"
|
||||||
# Universal database tool and SQL client
|
# Universal database tool and SQL client
|
||||||
@@ -290,8 +282,6 @@ cask "dbeaver-community"
|
|||||||
cask "dbngin"
|
cask "dbngin"
|
||||||
# App to build and share containerised applications and microservices
|
# App to build and share containerised applications and microservices
|
||||||
cask "docker"
|
cask "docker"
|
||||||
# UI toolkit for building applications for mobile, web and desktop
|
|
||||||
cask "flutter"
|
|
||||||
# Unofficial overcast.fm podcast app
|
# Unofficial overcast.fm podcast app
|
||||||
cask "fog"
|
cask "fog"
|
||||||
# Typeface made for developers
|
# Typeface made for developers
|
||||||
@@ -344,12 +334,6 @@ cask "quicklookase"
|
|||||||
cask "quitter"
|
cask "quitter"
|
||||||
# Control your tools with a few keystrokes
|
# Control your tools with a few keystrokes
|
||||||
cask "raycast"
|
cask "raycast"
|
||||||
# Move and resize windows using keyboard shortcuts or snap areas
|
|
||||||
cask "rectangle"
|
|
||||||
# GUI for rsync
|
|
||||||
cask "rsyncosx"
|
|
||||||
# GUI for rsync
|
|
||||||
cask "rsyncui"
|
|
||||||
# MySQL/MariaDB database management
|
# MySQL/MariaDB database management
|
||||||
cask "sequel-ace"
|
cask "sequel-ace"
|
||||||
# Plugin for AWS CLI to start and end sessions that connect to managed instances
|
# Plugin for AWS CLI to start and end sessions that connect to managed instances
|
||||||
@@ -364,13 +348,13 @@ cask "soundsource"
|
|||||||
cask "suspicious-package"
|
cask "suspicious-package"
|
||||||
# Quicklook extension for source files
|
# Quicklook extension for source files
|
||||||
cask "syntax-highlight"
|
cask "syntax-highlight"
|
||||||
|
# Configuration application for the Ultimate Hacking Keyboard
|
||||||
|
cask "uhk-agent"
|
||||||
# Open-source code editor
|
# Open-source code editor
|
||||||
cask "visual-studio-code"
|
cask "visual-studio-code"
|
||||||
# Multimedia player
|
# Multimedia player
|
||||||
cask "vlc"
|
cask "vlc"
|
||||||
# Spell-checking service for Finnish
|
# Spell-checking service for Finnish
|
||||||
cask "voikkospellservice"
|
cask "voikkospellservice"
|
||||||
# Rust-based terminal
|
|
||||||
cask "warp"
|
|
||||||
# Application for generating TOTP and HOTP codes
|
# Application for generating TOTP and HOTP codes
|
||||||
cask "yubico-authenticator"
|
cask "yubico-authenticator"
|
||||||
|
|||||||
1
config/nvim-kickstart
Submodule
1
config/nvim-kickstart
Submodule
Submodule config/nvim-kickstart added at 122c6938c1
@@ -3,27 +3,33 @@
|
|||||||
"lazyvim.plugins.extras.coding.copilot",
|
"lazyvim.plugins.extras.coding.copilot",
|
||||||
"lazyvim.plugins.extras.coding.yanky",
|
"lazyvim.plugins.extras.coding.yanky",
|
||||||
"lazyvim.plugins.extras.editor.aerial",
|
"lazyvim.plugins.extras.editor.aerial",
|
||||||
|
"lazyvim.plugins.extras.editor.aerial",
|
||||||
|
"lazyvim.plugins.extras.editor.harpoon2",
|
||||||
"lazyvim.plugins.extras.editor.leap",
|
"lazyvim.plugins.extras.editor.leap",
|
||||||
"lazyvim.plugins.extras.editor.symbols-outline",
|
"lazyvim.plugins.extras.editor.outline",
|
||||||
|
"lazyvim.plugins.extras.editor.refactoring",
|
||||||
"lazyvim.plugins.extras.formatting.black",
|
"lazyvim.plugins.extras.formatting.black",
|
||||||
"lazyvim.plugins.extras.formatting.prettier",
|
"lazyvim.plugins.extras.formatting.prettier",
|
||||||
|
"lazyvim.plugins.extras.lang.ansible",
|
||||||
"lazyvim.plugins.extras.lang.docker",
|
"lazyvim.plugins.extras.lang.docker",
|
||||||
"lazyvim.plugins.extras.lang.go",
|
"lazyvim.plugins.extras.lang.go",
|
||||||
"lazyvim.plugins.extras.lang.json",
|
"lazyvim.plugins.extras.lang.json",
|
||||||
"lazyvim.plugins.extras.lang.markdown",
|
"lazyvim.plugins.extras.lang.markdown",
|
||||||
|
"lazyvim.plugins.extras.lang.php",
|
||||||
"lazyvim.plugins.extras.lang.python",
|
"lazyvim.plugins.extras.lang.python",
|
||||||
"lazyvim.plugins.extras.lang.tailwind",
|
"lazyvim.plugins.extras.lang.tailwind",
|
||||||
"lazyvim.plugins.extras.lang.terraform",
|
"lazyvim.plugins.extras.lang.terraform",
|
||||||
"lazyvim.plugins.extras.lang.typescript",
|
"lazyvim.plugins.extras.lang.typescript",
|
||||||
|
"lazyvim.plugins.extras.lang.vue",
|
||||||
"lazyvim.plugins.extras.lang.yaml",
|
"lazyvim.plugins.extras.lang.yaml",
|
||||||
"lazyvim.plugins.extras.linting.eslint",
|
"lazyvim.plugins.extras.linting.eslint",
|
||||||
"lazyvim.plugins.extras.ui.edgy",
|
"lazyvim.plugins.extras.ui.edgy",
|
||||||
"lazyvim.plugins.extras.ui.mini-animate",
|
"lazyvim.plugins.extras.ui.mini-animate",
|
||||||
"lazyvim.plugins.extras.util.dot",
|
"lazyvim.plugins.extras.util.dot",
|
||||||
"lazyvim.plugins.extras.vscode"
|
"lazyvim.plugins.extras.util.mini-hipatterns"
|
||||||
],
|
],
|
||||||
"news": {
|
"news": {
|
||||||
"NEWS.md": "2123"
|
"NEWS.md": "6077"
|
||||||
},
|
},
|
||||||
"version": 2
|
"version": 6
|
||||||
}
|
}
|
||||||
@@ -12,6 +12,7 @@ return {
|
|||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
vim.list_extend(opts.ensure_installed, {
|
vim.list_extend(opts.ensure_installed, {
|
||||||
"phpactor",
|
"phpactor",
|
||||||
|
"intelephense",
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,5 +1,24 @@
|
|||||||
-- luacheck: globals vim
|
-- luacheck: globals vim
|
||||||
return {
|
return {
|
||||||
|
-- Neotree configuration
|
||||||
|
{
|
||||||
|
"nvim-neo-tree/neo-tree.nvim",
|
||||||
|
opts = {
|
||||||
|
filesystem = {
|
||||||
|
filtered_items = {
|
||||||
|
always_show = {
|
||||||
|
".github",
|
||||||
|
".gitignore",
|
||||||
|
".editorconfig",
|
||||||
|
".python-version",
|
||||||
|
".nvmrc",
|
||||||
|
".env",
|
||||||
|
".env.example",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
-- Cloak allows you to overlay *'s over defined patterns in defined files.
|
-- Cloak allows you to overlay *'s over defined patterns in defined files.
|
||||||
-- https://github.com/laytan/cloak.nvim
|
-- https://github.com/laytan/cloak.nvim
|
||||||
{ "laytan/cloak.nvim" },
|
{ "laytan/cloak.nvim" },
|
||||||
@@ -36,7 +55,7 @@ return {
|
|||||||
end,
|
end,
|
||||||
opts = {
|
opts = {
|
||||||
open_fold_hl_timeout = 150,
|
open_fold_hl_timeout = 150,
|
||||||
close_fold_kinds = { "imports", "comment" },
|
close_fold_kinds_for_ft = { "imports", "comment" },
|
||||||
preview = {
|
preview = {
|
||||||
win_config = {
|
win_config = {
|
||||||
border = { "", "─", "", "", "", "─", "", "" },
|
border = { "", "─", "", "", "", "─", "", "" },
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
indent_type = "Spaces"
|
indent_type = "Spaces"
|
||||||
indent_width = 2
|
indent_width = 2
|
||||||
column_width = 120
|
column_width = 120
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||||
"final_space": true,
|
"final_space": true,
|
||||||
"shell_integration": true,
|
|
||||||
"console_title_template": "{{.UserName}}@{{.HostName}} {{.Shell}} in {{.PWD}}",
|
"console_title_template": "{{.UserName}}@{{.HostName}} {{.Shell}} in {{.PWD}}",
|
||||||
"blocks": [
|
"blocks": [
|
||||||
{
|
{
|
||||||
@@ -112,7 +111,9 @@
|
|||||||
{
|
{
|
||||||
"background": "transparent",
|
"background": "transparent",
|
||||||
"foreground": "lightGreen",
|
"foreground": "lightGreen",
|
||||||
"foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"],
|
"foreground_templates": [
|
||||||
|
"{{ if gt .Code 0 }}red{{ end }}"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"always_enabled": true
|
"always_enabled": true
|
||||||
},
|
},
|
||||||
@@ -127,24 +128,10 @@
|
|||||||
"transient_prompt": {
|
"transient_prompt": {
|
||||||
"background": "transparent",
|
"background": "transparent",
|
||||||
"foreground": "lightGreen",
|
"foreground": "lightGreen",
|
||||||
"foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"],
|
"foreground_templates": [
|
||||||
|
"{{ if gt .Code 0 }}red{{ end }}"
|
||||||
|
],
|
||||||
"template": "\u279c "
|
"template": "\u279c "
|
||||||
},
|
},
|
||||||
"tooltips": [
|
|
||||||
{
|
|
||||||
"type": "git",
|
|
||||||
"tips": ["git", "g"],
|
|
||||||
"style": "diamond",
|
|
||||||
"foreground": "#193549",
|
|
||||||
"background": "#fffb38",
|
|
||||||
"leading_diamond": "",
|
|
||||||
"trailing_diamond": "",
|
|
||||||
"template": "{{ .HEAD }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}",
|
|
||||||
"properties": {
|
|
||||||
"fetch_status": true,
|
|
||||||
"fetch_upstream_icon": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"version": 2
|
"version": 2
|
||||||
}
|
}
|
||||||
119
config/omp/own.toml
Normal file
119
config/omp/own.toml
Normal file
@@ -0,0 +1,119 @@
|
|||||||
|
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
|
||||||
|
final_space = true
|
||||||
|
console_title_template = "{{.UserName}}@{{.HostName}} {{.Shell}} in {{.PWD}}"
|
||||||
|
version = 2
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
alignment = "left"
|
||||||
|
type = "prompt"
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
foreground = "cyan"
|
||||||
|
style = "powerline"
|
||||||
|
template = "{{ .Icon }}"
|
||||||
|
type = "os"
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = "session"
|
||||||
|
style = "plain"
|
||||||
|
template = " {{ if .SSHSession }} {{ .UserName }}@{{ end }}{{ .HostName }}"
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
foreground = "cyan"
|
||||||
|
style = "plain"
|
||||||
|
template = " {{ .Path }} "
|
||||||
|
type = "path"
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
style = "mixed"
|
||||||
|
|
||||||
|
[blocks.segments.mapped_locations]
|
||||||
|
"~/Code/*" = ""
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = "git"
|
||||||
|
style = "plain"
|
||||||
|
foreground = "lightGreen"
|
||||||
|
template = "{{ .UpstreamIcon }}{{ if or (.Staging.Changed) (.Working.Changed) }}({{if .Behind }}\u2193 {{ .Behind }} {{ end }}{{if .Staging.Changed }}\uF046 {{ .Staging.String }} {{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }}| {{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}){{ end }}"
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
fetch_status = true
|
||||||
|
fetch_upstream_icon = true
|
||||||
|
|
||||||
|
[blocks.segments.properties.untracked_modes]
|
||||||
|
"~/Code/oh-my-posh/" = "no"
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = "terraform"
|
||||||
|
style = "plain"
|
||||||
|
foreground = "#000000"
|
||||||
|
background = "#ebcc34"
|
||||||
|
template = "{{.WorkspaceName}}"
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
alignment = "left"
|
||||||
|
type = "prompt"
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
foreground = "#68a063"
|
||||||
|
style = "plain"
|
||||||
|
template = " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}"
|
||||||
|
type = "node"
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
display_mode = "files"
|
||||||
|
fetch_package_manager = true
|
||||||
|
fetch_version = true
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
foreground = "#4063D8"
|
||||||
|
style = "plain"
|
||||||
|
template = " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||||
|
type = "crystal"
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
display_mode = "files"
|
||||||
|
fetch_version = true
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
foreground = "#DE3F24"
|
||||||
|
style = "plain"
|
||||||
|
template = " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||||
|
type = "ruby"
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
display_mode = "files"
|
||||||
|
fetch_version = true
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
foreground = "#FED142"
|
||||||
|
style = "plain"
|
||||||
|
template = " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||||
|
type = "python"
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
display_mode = "context"
|
||||||
|
fetch_virtual_env = false
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
alignment = "left"
|
||||||
|
newline = true
|
||||||
|
type = "prompt"
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
background = "transparent"
|
||||||
|
foreground = "lightGreen"
|
||||||
|
foreground_templates = [ "{{ if gt .Code 0 }}red{{ end }}" ]
|
||||||
|
style = "plain"
|
||||||
|
template = "➜"
|
||||||
|
type = "status"
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
always_enabled = true
|
||||||
|
|
||||||
|
[transient_prompt]
|
||||||
|
background = "transparent"
|
||||||
|
foreground = "lightGreen"
|
||||||
|
foreground_templates = [ "{{ if gt .Code 0 }}red{{ end }}" ]
|
||||||
|
template = "➜ "
|
||||||
|
|
||||||
74
config/omp/zen.toml
Normal file
74
config/omp/zen.toml
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
|
||||||
|
|
||||||
|
version = 2
|
||||||
|
final_space = true
|
||||||
|
console_title_template = '{{ .Shell }} in {{ .Folder }}'
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
type = 'prompt'
|
||||||
|
alignment = 'left'
|
||||||
|
newline = true
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = 'path'
|
||||||
|
style = 'plain'
|
||||||
|
background = 'transparent'
|
||||||
|
foreground = 'blue'
|
||||||
|
template = '{{ .Path }}'
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
style = 'full'
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = 'git'
|
||||||
|
style = 'plain'
|
||||||
|
foreground = 'p:grey'
|
||||||
|
background = 'transparent'
|
||||||
|
template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <cyan>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>'
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
branch_icon = ''
|
||||||
|
commit_icon = '@'
|
||||||
|
fetch_status = true
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
type = 'rprompt'
|
||||||
|
overflow = 'hidden'
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = 'executiontime'
|
||||||
|
style = 'plain'
|
||||||
|
foreground = 'yellow'
|
||||||
|
background = 'transparent'
|
||||||
|
template = '{{ .FormattedMs }}'
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
threshold = 5000
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
type = 'prompt'
|
||||||
|
alignment = 'left'
|
||||||
|
newline = true
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = 'text'
|
||||||
|
style = 'plain'
|
||||||
|
foreground_templates = [
|
||||||
|
"{{if gt .Code 0}}red{{end}}",
|
||||||
|
"{{if eq .Code 0}}magenta{{end}}",
|
||||||
|
]
|
||||||
|
background = 'transparent'
|
||||||
|
template = '❯'
|
||||||
|
|
||||||
|
[transient_prompt]
|
||||||
|
foreground_templates = [
|
||||||
|
"{{if gt .Code 0}}red{{end}}",
|
||||||
|
"{{if eq .Code 0}}magenta{{end}}",
|
||||||
|
]
|
||||||
|
background = 'transparent'
|
||||||
|
template = '❯ '
|
||||||
|
|
||||||
|
[secondary_prompt]
|
||||||
|
foreground = 'magenta'
|
||||||
|
background = 'transparent'
|
||||||
|
template = '❯❯ '
|
||||||
24
config/shared
Normal file
24
config/shared
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
|
|
||||||
|
# Defaults
|
||||||
|
export DOTFILES="$HOME/.dotfiles"
|
||||||
|
|
||||||
|
# Explicitly set XDG folders
|
||||||
|
# https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
|
||||||
|
export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
|
export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
|
export XDG_STATE_HOME="$HOME/.local/state"
|
||||||
|
|
||||||
|
# custom variables
|
||||||
|
export XDG_BIN_HOME="$HOME/.local/bin"
|
||||||
|
export XDG_CACHE_HOME="$HOME/.cache"
|
||||||
|
export XDG_RUNTIME_DIR="$HOME/.local/run"
|
||||||
|
|
||||||
|
# Paths
|
||||||
|
export PATH="$XDG_BIN_HOME:$DOTFILES/local/bin:$HOME/.local/go/bin:$XDG_DATA_HOME/bob/nvim-bin:$XDG_DATA_HOME/cargo/bin:/opt/homebrew/bin:/usr/local/bin:$PATH"
|
||||||
|
|
||||||
|
# Split config files
|
||||||
|
source "$DOTFILES/config/exports"
|
||||||
|
source "$DOTFILES/config/functions"
|
||||||
|
source "$DOTFILES/config/alias"
|
||||||
|
|
||||||
1
config/tmux/plugins/tmux-dark-notify
Submodule
1
config/tmux/plugins/tmux-dark-notify
Submodule
Submodule config/tmux/plugins/tmux-dark-notify added at dfa2b45b3e
7
config/tmux/theme-dark.conf
Normal file
7
config/tmux/theme-dark.conf
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
set-option -g status-style 'fg=#cad3f5,bg=default'
|
||||||
|
set-window-option -g window-status-style 'fg=#cad3f5,bg=default dim'
|
||||||
|
set-window-option -g window-status-current-style 'fg=#04a5e5,bg=default'
|
||||||
|
set-window-option -g window-status-activity-style 'fg=#cad3f5,bg=default nodim'
|
||||||
|
set-window-option -g window-status-bell-style 'fg=#cad3f5,bg=default'
|
||||||
|
set -g message-style 'fg=#c6a0f6 bg=#24273a bold'
|
||||||
|
|
||||||
7
config/tmux/theme-light.conf
Normal file
7
config/tmux/theme-light.conf
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
set-option -g status-style 'fg=#4c4f69,bg=#eff1f5'
|
||||||
|
set-window-option -g window-status-style 'fg=#4c4f69,bg=#eff1f5 dim'
|
||||||
|
set-window-option -g window-status-current-style 'fg=#8839ef,bg=#eff1f5'
|
||||||
|
set-window-option -g window-status-activity-style 'fg=#4c4f69,bg=#eff1f5 nodim'
|
||||||
|
set-window-option -g window-status-bell-style 'fg=#4c4f69,bg=#eff1f5'
|
||||||
|
set -g message-style 'fg=#8839ef bg=#e6e9ef bold' # fg magenta, bg black
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
# ~/.config/tmux/tmux.conf, or .dotfiles/config/tmux/tmux.conf
|
# ~/.config/tmux/tmux.conf, or .dotfiles/config/tmux/tmux.conf
|
||||||
#
|
#
|
||||||
# Contains configuration from the follwing sources:
|
# Contains configuration from the following sources:
|
||||||
# - https://tmuxguide.readthedocs.io/en/latest/tmux/tmux.html
|
# - https://tmuxguide.readthedocs.io/en/latest/tmux/tmux.html
|
||||||
# - https://github.com/dreamsofcode-io/tmux/blob/main/tmux.conf
|
# - https://github.com/dreamsofcode-io/tmux/blob/main/tmux.conf
|
||||||
|
|
||||||
@@ -25,10 +25,6 @@ bind -n M-Right select-pane -R
|
|||||||
bind -n M-Up select-pane -U
|
bind -n M-Up select-pane -U
|
||||||
bind -n M-Down select-pane -D
|
bind -n M-Down select-pane -D
|
||||||
|
|
||||||
# Control-Tab & Control-Shift-Tab to switch windows
|
|
||||||
bind -n C-Tab previous-window
|
|
||||||
bind -n C-S-Tab next-window
|
|
||||||
|
|
||||||
# Reload tmux config with <prefix> + r
|
# Reload tmux config with <prefix> + r
|
||||||
bind r source-file ~/.dotfiles/config/tmux/tmux.conf \; display "tmux cfg reloaded!"
|
bind r source-file ~/.dotfiles/config/tmux/tmux.conf \; display "tmux cfg reloaded!"
|
||||||
|
|
||||||
@@ -47,6 +43,7 @@ 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
|
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||||
bind '"' split-window -v -c "#{pane_current_path}"
|
bind '"' split-window -v -c "#{pane_current_path}"
|
||||||
bind '!' split-window -h -c "#{pane_current_path}"
|
bind '!' split-window -h -c "#{pane_current_path}"
|
||||||
|
bind '^' switch-client -t'{marked}'
|
||||||
|
|
||||||
# synchronize all panes in a window
|
# synchronize all panes in a window
|
||||||
bind y setw synchronize-panes
|
bind y setw synchronize-panes
|
||||||
@@ -56,9 +53,6 @@ bind y setw synchronize-panes
|
|||||||
unbind [
|
unbind [
|
||||||
bind Escape copy-mode
|
bind Escape copy-mode
|
||||||
|
|
||||||
# start selection with 'space' and copy using 'y'
|
|
||||||
#bind -t vi-copy 'y' copy-selection
|
|
||||||
|
|
||||||
# paste using 'p'
|
# paste using 'p'
|
||||||
unbind p
|
unbind p
|
||||||
bind p paste-buffer
|
bind p paste-buffer
|
||||||
@@ -67,12 +61,29 @@ bind p paste-buffer
|
|||||||
# │ Settings │
|
# │ Settings │
|
||||||
# ╰──────────────────────────────────────────────────────────╯
|
# ╰──────────────────────────────────────────────────────────╯
|
||||||
|
|
||||||
|
set -g default-terminal "tmux-256color"
|
||||||
|
set -ag terminal-overrides ",xterm-256color:RGB"
|
||||||
|
|
||||||
# Setting status on
|
# Setting status on
|
||||||
set -g status "on"
|
set -g status "on"
|
||||||
|
|
||||||
|
# Hide clock
|
||||||
|
set -g display-time 0
|
||||||
|
|
||||||
|
# Activity Monitoring (for when something happens in another pain)
|
||||||
|
set -g monitor-activity on
|
||||||
|
set -g visual-activity off
|
||||||
|
set -g visual-bell off
|
||||||
|
|
||||||
# Expose window title
|
# Expose window title
|
||||||
set-option -g set-titles on
|
set-option -g set-titles on
|
||||||
|
|
||||||
|
# Set bigger history limit
|
||||||
|
set -g history-limit 20000
|
||||||
|
|
||||||
|
# Keep Tmux alive when the initial command is finished
|
||||||
|
set -g remain-on-exit off
|
||||||
|
|
||||||
# Mouse support
|
# Mouse support
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
|
||||||
@@ -92,21 +103,23 @@ set-window-option -g mode-keys vi
|
|||||||
# │ Theme │
|
# │ Theme │
|
||||||
# ╰──────────────────────────────────────────────────────────╯
|
# ╰──────────────────────────────────────────────────────────╯
|
||||||
|
|
||||||
# Make sure status sides are long enough and centered is in the middle
|
set -g status-left-length "0"
|
||||||
set -g status-left-length "30"
|
|
||||||
set -g status-right-length "30"
|
set -g status-right-length "30"
|
||||||
|
|
||||||
set-option -g status-position "bottom"
|
set-option -g status-position "bottom"
|
||||||
set-option -g status-style 'bg=default,fg=#ffffff'
|
set-option -g status-justify left
|
||||||
set-option -g status-justify centre
|
set-option -g status-left ''
|
||||||
set-option -g status-left '#h '
|
|
||||||
set-window-option -g window-status-style 'fg=#ffffff,bg=default'
|
|
||||||
set-option -g window-status-format ' #I:#W '
|
set-option -g window-status-format ' #I:#W '
|
||||||
set-window-option -g window-status-current-style 'fg=#111111,bg=#7aa2f7'
|
set-option -g window-status-current-format ' #I:#W#{?window_zoomed_flag, ◈ ,} '
|
||||||
set-option -g window-status-current-format ' #I:#W#{?window_zoomed_flag, , } '
|
|
||||||
|
|
||||||
set-option -g status-left "#{hostname_short}/#S"
|
set-option -g status-right "#{hostname_short}/#S #{tmux_mode_indicator}"
|
||||||
set-option -g status-right "%H:%M #{tmux_mode_indicator}"
|
|
||||||
|
set -g pane-border-style "fg=#3b4261"
|
||||||
|
set -g pane-active-border-style "fg=#7aa2f7"
|
||||||
|
|
||||||
|
# https://github.com/erikw/tmux-dark-notify
|
||||||
|
set -g @dark-notify-theme-path-light '~/.dotfiles/config/tmux/theme-light.conf'
|
||||||
|
set -g @dark-notify-theme-path-dark '~/.dotfiles/config/tmux/theme-dark.conf'
|
||||||
|
|
||||||
# ╭──────────────────────────────────────────────────────────╮
|
# ╭──────────────────────────────────────────────────────────╮
|
||||||
# │ Plugins related configurations │
|
# │ Plugins related configurations │
|
||||||
@@ -123,9 +136,10 @@ set -g @suspend_key 'F12'
|
|||||||
set -g @tmux_window_name_max_name_len "20"
|
set -g @tmux_window_name_max_name_len "20"
|
||||||
### Replace $HOME with ~ in window names
|
### Replace $HOME with ~ in window names
|
||||||
set -g @tmux_window_name_use_tilde "True"
|
set -g @tmux_window_name_use_tilde "True"
|
||||||
set -g @tmux_window_name_shells "['bash', 'fish', 'sh', 'zsh']"
|
set -g @tmux_window_name_shells "['bash', 'fish', 'sh', 'zsh', 'oh-my-posh']"
|
||||||
set -g @tmux_window_dir_programs "['nvim', 'vim', 'vi', 'git']"
|
set -g @tmux_window_dir_programs "['nvim', 'vim', 'vi', 'git']"
|
||||||
set -g @tmux_window_name_ignored_programs "['sqlite3', 'x-set-php-aliases']" # Default is []
|
set -g @tmux_window_name_ignored_programs "['sqlite3', 'x-set-php-aliases', 'oh-my-posh', 'antidot']" # Default is []
|
||||||
|
set -g @tmux_window_name_substitute_sets "[('.+ipython2', 'ipython2'), ('.+ipython3', 'ipython3'), ('.+\.local', '.local')]"
|
||||||
|
|
||||||
## https://github.com/tmux-plugins/tmux-continuum
|
## https://github.com/tmux-plugins/tmux-continuum
|
||||||
set -g @continuum-restore 'on'
|
set -g @continuum-restore 'on'
|
||||||
@@ -153,4 +167,8 @@ run-shell ~/.dotfiles/config/tmux/plugins/tmux-mode-indicator/mode_indicator.tmu
|
|||||||
run-shell ~/.dotfiles/config/tmux/plugins/tmux-suspend/suspend.tmux
|
run-shell ~/.dotfiles/config/tmux/plugins/tmux-suspend/suspend.tmux
|
||||||
run-shell ~/.dotfiles/config/tmux/plugins/tmux-yank/yank.tmux
|
run-shell ~/.dotfiles/config/tmux/plugins/tmux-yank/yank.tmux
|
||||||
run-shell ~/.dotfiles/config/tmux/plugins/tmux-current-pane-hostname/current_pane_hostname.tmux
|
run-shell ~/.dotfiles/config/tmux/plugins/tmux-current-pane-hostname/current_pane_hostname.tmux
|
||||||
|
run-shell ~/.dotfiles/config/tmux/plugins/tmux-dark-notify/main.tmux
|
||||||
|
|
||||||
|
if-shell "test -e $HOME/.local/state/tmux/tmux-dark-notify-theme.conf" \
|
||||||
|
"source-file $HOME/.local/state/tmux/tmux-dark-notify-theme.conf"
|
||||||
|
|
||||||
|
|||||||
@@ -1,220 +1,234 @@
|
|||||||
# nvim keybindings
|
# nvim keybindings
|
||||||
|
|
||||||
|
```txt
|
||||||
|
|
||||||
|
n <Esc> * <Cmd>nohlsearch<CR>
|
||||||
|
n <Space>tc * <Cmd>CloakToggle<CR>
|
||||||
|
Toggle Cloak
|
||||||
|
n <Space>zg * :Rg<CR>
|
||||||
|
FZF: search with rg (aka live grep).
|
||||||
|
n <Space>zm * :Maps<CR>
|
||||||
|
FZF: search mappings.
|
||||||
|
n <Space>zh * :History<CR>
|
||||||
|
FZF: search history of opened files
|
||||||
|
n <Space>zb * :Buffers<CR>
|
||||||
|
FZF: search open buffers.
|
||||||
|
n <Space>zt * :Windows<CR>
|
||||||
|
FZF: search open tabs.
|
||||||
|
n <Space>zc * :Commands<CR>
|
||||||
|
FZF: search commands.
|
||||||
|
n <Space>zf * :FZF<Space>
|
||||||
|
FZF: search for files in given path.
|
||||||
|
<Space>f * <Lua 40: ~/.dotfiles/config/nvim-kickstart/init.lua:505>
|
||||||
|
[F]ormat buffer
|
||||||
|
n <Space>e * <Lua 80: ~/.local/share/nvim-kickstart/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:121>
|
||||||
|
n <Space>tz * <Lua 60: ~/.local/share/nvim-kickstart/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:121>
|
||||||
|
Toggle ZenMode
|
||||||
|
n <Space>4 * <Lua 58: ~/.local/share/nvim-kickstart/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:121>
|
||||||
|
harpoon to file 4
|
||||||
|
n <Space>3 * <Lua 57: ~/.local/share/nvim-kickstart/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:121>
|
||||||
|
harpoon to file 3
|
||||||
|
n <Space>2 * <Lua 56: ~/.local/share/nvim-kickstart/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:121>
|
||||||
|
harpoon to file 2
|
||||||
|
n <Space>1 * <Lua 55: ~/.local/share/nvim-kickstart/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:121>
|
||||||
|
harpoon to file 1
|
||||||
|
n <Space>xn * <Lua 54: ~/.local/share/nvim-kickstart/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:121>
|
||||||
|
harpoon to next file
|
||||||
|
n <Space>xN * <Lua 53: ~/.local/share/nvim-kickstart/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:121>
|
||||||
|
harpoon to previous file
|
||||||
|
n <Space>xa * <Lua 52: ~/.local/share/nvim-kickstart/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:121>
|
||||||
|
harpoon quick menu
|
||||||
|
n <Space>xA * <Lua 51: ~/.local/share/nvim-kickstart/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:121>
|
||||||
|
harpoon file
|
||||||
|
n <Space>5 * <Lua 49: ~/.local/share/nvim-kickstart/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:121>
|
||||||
|
harpoon to file 5
|
||||||
|
n <Space>qq * <Cmd>wq!<CR>
|
||||||
|
Quickly Quit
|
||||||
|
n <Space>bq * <Lua 27: ~/.local/share/bob/v0.10.0/nvim-macos-arm64/share/nvim/runtime/lua/vim/diagnostic.lua:1984>
|
||||||
|
Open diagnostic [Q]uickfix list
|
||||||
|
n <Space>be * <Lua 26: ~/.local/share/bob/v0.10.0/nvim-macos-arm64/share/nvim/runtime/lua/vim/diagnostic.lua:1694>
|
||||||
|
Show diagnostic [E]rror messages
|
||||||
|
x # * <Lua 7: vim/_defaults.lua:0>
|
||||||
|
:help v_#-default
|
||||||
|
o % <Plug>(MatchitOperationForward)
|
||||||
|
x % <Plug>(MatchitVisualForward)
|
||||||
|
n % <Plug>(MatchitNormalForward)
|
||||||
|
n & * :&&<CR>
|
||||||
|
:help &-default
|
||||||
|
x * * <Lua 3: vim/_defaults.lua:0>
|
||||||
|
:help v_star-default
|
||||||
|
x @ * mode() == 'V' ? ':normal! @'.getcharstr().'<CR>' : '@'
|
||||||
|
:help v_@-default
|
||||||
|
x Q * mode() == 'V' ? ':normal! @<C-R>=reg_recorded()<CR><CR>' : 'Q'
|
||||||
|
:help v_Q-default
|
||||||
|
n Y * y$
|
||||||
|
:help Y-default
|
||||||
|
o [% <Plug>(MatchitOperationMultiBackward)
|
||||||
|
x [% <Plug>(MatchitVisualMultiBackward)
|
||||||
|
n [% <Plug>(MatchitNormalMultiBackward)
|
||||||
|
n [d * <Lua 15: vim/_defaults.lua:0>
|
||||||
|
Jump to the previous diagnostic
|
||||||
|
o ]% <Plug>(MatchitOperationMultiForward)
|
||||||
|
x ]% <Plug>(MatchitVisualMultiForward)
|
||||||
|
n ]% <Plug>(MatchitNormalMultiForward)
|
||||||
|
n ]d * <Lua 14: vim/_defaults.lua:0>
|
||||||
|
Jump to the next diagnostic
|
||||||
|
x a% <Plug>(MatchitVisualTextObject)
|
||||||
|
o al <Lua 322: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1145>
|
||||||
|
Around last textobject
|
||||||
|
o an <Lua 318: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1145>
|
||||||
|
Around next textobject
|
||||||
|
x al <Lua 292: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1145>
|
||||||
|
Around last textobject
|
||||||
|
x an <Lua 291: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1145>
|
||||||
|
Around next textobject
|
||||||
|
o a <Lua 288: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1145>
|
||||||
|
Around textobject
|
||||||
|
x a <Lua 285: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1145>
|
||||||
|
Around textobject
|
||||||
|
n dj * <Lua 25: ~/.local/share/bob/v0.10.0/nvim-macos-arm64/share/nvim/runtime/lua/vim/diagnostic.lua:1222>
|
||||||
|
Go to next [D]iagnostic message
|
||||||
|
n dk * <Lua 23: ~/.local/share/bob/v0.10.0/nvim-macos-arm64/share/nvim/runtime/lua/vim/diagnostic.lua:1145>
|
||||||
|
Go to previous [D]iagnostic message
|
||||||
|
o g% <Plug>(MatchitOperationBackward)
|
||||||
|
x g% <Plug>(MatchitVisualBackward)
|
||||||
|
n g% <Plug>(MatchitNormalBackward)
|
||||||
|
o g] <Lua 281: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1142>
|
||||||
|
Move to right "around"
|
||||||
|
x g] <Lua 280: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1142>
|
||||||
|
Move to right "around"
|
||||||
|
n g] <Lua 278: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1142>
|
||||||
|
Move to right "around"
|
||||||
|
o g[ <Lua 277: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1141>
|
||||||
|
Move to left "around"
|
||||||
|
x g[ <Lua 273: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1141>
|
||||||
|
Move to left "around"
|
||||||
|
n g[ <Lua 266: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1141>
|
||||||
|
Move to left "around"
|
||||||
|
n gcA * <Lua 275: ~/.local/share/nvim-kickstart/lazy/Comment.nvim/lua/Comment/api.lua:218>
|
||||||
|
Comment insert end of line
|
||||||
|
n gcO * <Lua 274: ~/.local/share/nvim-kickstart/lazy/Comment.nvim/lua/Comment/api.lua:179>
|
||||||
|
Comment insert above
|
||||||
|
n gco * <Lua 11: ~/.local/share/nvim-kickstart/lazy/Comment.nvim/lua/Comment/api.lua:182>
|
||||||
|
Comment insert below
|
||||||
|
x gb * <Plug>(comment_toggle_blockwise_visual)
|
||||||
|
Comment toggle blockwise (visual)
|
||||||
|
n gbc * <Lua 12: ~/.local/share/nvim-kickstart/lazy/Comment.nvim/lua/Comment/init.lua:107>
|
||||||
|
Comment toggle current block
|
||||||
|
n gb * <Plug>(comment_toggle_blockwise)
|
||||||
|
Comment toggle blockwise
|
||||||
|
o gc * <Lua 13: vim/_defaults.lua:0>
|
||||||
|
Comment textobject
|
||||||
|
n gcc * <Lua 10: ~/.local/share/nvim-kickstart/lazy/Comment.nvim/lua/Comment/init.lua:103>
|
||||||
|
Comment toggle current line
|
||||||
|
x gc * <Plug>(comment_toggle_linewise_visual)
|
||||||
|
Comment toggle linewise (visual)
|
||||||
|
n gc * <Plug>(comment_toggle_linewise)
|
||||||
|
Comment toggle linewise
|
||||||
|
x gx * <Lua 9: vim/_defaults.lua:0>
|
||||||
|
Opens filepath or URI under cursor with the system handler (file explorer, web browser, …)
|
||||||
|
n gx * <Lua 8: vim/_defaults.lua:0>
|
||||||
|
Opens filepath or URI under cursor with the system handler (file explorer, web browser, …)
|
||||||
|
o il <Lua 325: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1145>
|
||||||
|
Inside last textobject
|
||||||
|
o in <Lua 324: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1145>
|
||||||
|
Inside next textobject
|
||||||
|
x il <Lua 296: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1145>
|
||||||
|
Inside last textobject
|
||||||
|
x in <Lua 295: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1145>
|
||||||
|
Inside next textobject
|
||||||
|
o i <Lua 289: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1145>
|
||||||
|
Inside textobject
|
||||||
|
x i <Lua 286: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/ai.lua:1145>
|
||||||
|
Inside textobject
|
||||||
|
n shn * <Lua 428: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/surround.lua:1220>
|
||||||
|
Highlight next surrounding
|
||||||
|
n sFn * <Lua 427: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/surround.lua:1220>
|
||||||
|
Find next left surrounding
|
||||||
|
n sfn * <Lua 426: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/surround.lua:1220>
|
||||||
|
Find next right surrounding
|
||||||
|
n srn * <Lua 425: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/surround.lua:1220>
|
||||||
|
Replace next surrounding
|
||||||
|
n sdn * <Lua 424: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/surround.lua:1220>
|
||||||
|
Delete next surrounding
|
||||||
|
n shl * <Lua 423: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/surround.lua:1220>
|
||||||
|
Highlight previous surrounding
|
||||||
|
n sFl * <Lua 422: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/surround.lua:1220>
|
||||||
|
Find previous left surrounding
|
||||||
|
n sfl * <Lua 421: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/surround.lua:1220>
|
||||||
|
Find previous right surrounding
|
||||||
|
n srl * <Lua 386: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/surround.lua:1220>
|
||||||
|
Replace previous surrounding
|
||||||
|
n sdl * <Lua 371: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/surround.lua:1220>
|
||||||
|
Delete previous surrounding
|
||||||
|
x sa * :<C-U>lua MiniSurround.add('visual')<CR>
|
||||||
|
Add surrounding to selection
|
||||||
|
n sn * <Lua 370: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/surround.lua:861>
|
||||||
|
Update `MiniSurround.config.n_lines`
|
||||||
|
n sh * <Lua 351: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/surround.lua:1220>
|
||||||
|
Highlight surrounding
|
||||||
|
n sF * <Lua 59: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/surround.lua:1220>
|
||||||
|
Find left surrounding
|
||||||
|
n sf * <Lua 331: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/surround.lua:1220>
|
||||||
|
Find right surrounding
|
||||||
|
n sr * <Lua 330: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/surround.lua:1220>
|
||||||
|
Replace surrounding
|
||||||
|
n sd * <Lua 328: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/surround.lua:1220>
|
||||||
|
Delete surrounding
|
||||||
|
n sa * <Lua 327: ~/.local/share/nvim-kickstart/lazy/mini.nvim/lua/mini/surround.lua:1220>
|
||||||
|
Add surrounding
|
||||||
|
x <Plug>(MatchitVisualTextObject) <Plug>(MatchitVisualMultiBackward)o<Plug>(MatchitVisualMultiForward)
|
||||||
|
o <Plug>(MatchitOperationMultiForward) * :<C-U>call matchit#MultiMatch("W", "o")<CR>
|
||||||
|
o <Plug>(MatchitOperationMultiBackward) * :<C-U>call matchit#MultiMatch("bW", "o")<CR>
|
||||||
|
x <Plug>(MatchitVisualMultiForward) * :<C-U>call matchit#MultiMatch("W", "n")<CR>m'gv``
|
||||||
|
x <Plug>(MatchitVisualMultiBackward) * :<C-U>call matchit#MultiMatch("bW", "n")<CR>m'gv``
|
||||||
|
n <Plug>(MatchitNormalMultiForward) * :<C-U>call matchit#MultiMatch("W", "n")<CR>
|
||||||
|
n <Plug>(MatchitNormalMultiBackward) * :<C-U>call matchit#MultiMatch("bW", "n")<CR>
|
||||||
|
o <Plug>(MatchitOperationBackward) * :<C-U>call matchit#Match_wrapper('',0,'o')<CR>
|
||||||
|
o <Plug>(MatchitOperationForward) * :<C-U>call matchit#Match_wrapper('',1,'o')<CR>
|
||||||
|
x <Plug>(MatchitVisualBackward) * :<C-U>call matchit#Match_wrapper('',0,'v')<CR>m'gv``
|
||||||
|
x <Plug>(MatchitVisualForward) * :<C-U>call matchit#Match_wrapper('',1,'v')<CR>:if col("''") != col("$") | exe ":normal! m'" | endif<CR>gv``
|
||||||
|
n <Plug>(MatchitNormalBackward) * :<C-U>call matchit#Match_wrapper('',0,'n')<CR>
|
||||||
|
n <Plug>(MatchitNormalForward) * :<C-U>call matchit#Match_wrapper('',1,'n')<CR>
|
||||||
|
n <C-P> * :Files<CR>
|
||||||
|
FZF: search for files starting at current directory.
|
||||||
|
o <Plug>(fzf-maps-o) * <C-C>:<C-U>call fzf#vim#maps('o', 0)<CR>
|
||||||
|
x <Plug>(fzf-maps-x) * :<C-U>call fzf#vim#maps('x', 0)<CR>
|
||||||
|
n <Plug>(fzf-maps-n) * :<C-U>call fzf#vim#maps('n', 0)<CR>
|
||||||
|
n <Plug>(fzf-normal) * <Nop>
|
||||||
|
n <Plug>(fzf-insert) * i
|
||||||
|
n <Plug>PlenaryTestFile * :lua require('plenary.test_harness').test_file(vim.fn.expand("%:p"))<CR>
|
||||||
|
x <Plug>(comment_toggle_blockwise_visual) * <Esc><Cmd>lua require("Comment.api").locked("toggle.blockwise")(vim.fn.visualmode())<CR>
|
||||||
|
Comment toggle blockwise (visual)
|
||||||
|
x <Plug>(comment_toggle_linewise_visual) * <Esc><Cmd>lua require("Comment.api").locked("toggle.linewise")(vim.fn.visualmode())<CR>
|
||||||
|
Comment toggle linewise (visual)
|
||||||
|
n <Plug>(comment_toggle_blockwise_count) * <Lua 272: ~/.local/share/nvim-kickstart/lazy/Comment.nvim/lua/Comment/api.lua:246>
|
||||||
|
Comment toggle blockwise with count
|
||||||
|
n <Plug>(comment_toggle_linewise_count) * <Lua 271: ~/.local/share/nvim-kickstart/lazy/Comment.nvim/lua/Comment/api.lua:246>
|
||||||
|
Comment toggle linewise with count
|
||||||
|
n <Plug>(comment_toggle_blockwise_current) * <Lua 270: ~/.local/share/nvim-kickstart/lazy/Comment.nvim/lua/Comment/api.lua:246>
|
||||||
|
Comment toggle current block
|
||||||
|
n <Plug>(comment_toggle_linewise_current) * <Lua 269: ~/.local/share/nvim-kickstart/lazy/Comment.nvim/lua/Comment/api.lua:246>
|
||||||
|
Comment toggle current line
|
||||||
|
n <Plug>(comment_toggle_blockwise) * <Lua 268: ~/.local/share/nvim-kickstart/lazy/Comment.nvim/lua/Comment/api.lua:246>
|
||||||
|
Comment toggle blockwise
|
||||||
|
n <Plug>(comment_toggle_linewise) * <Lua 267: ~/.local/share/nvim-kickstart/lazy/Comment.nvim/lua/Comment/api.lua:246>
|
||||||
|
Comment toggle linewise
|
||||||
|
n <C-Bslash> * <Lua 75: ~/.local/share/nvim-kickstart/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:121>
|
||||||
|
n <C-S> * <Cmd>w<CR>
|
||||||
|
Save file
|
||||||
|
n <C-K> * <Lua 78: ~/.local/share/nvim-kickstart/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:121>
|
||||||
|
n <C-J> * <Lua 76: ~/.local/share/nvim-kickstart/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:121>
|
||||||
|
n <C-H> * <Lua 77: ~/.local/share/nvim-kickstart/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:121>
|
||||||
|
n <Down> * <Cmd>echo "Use j to move!!"<CR>
|
||||||
|
n <Up> * <Cmd>echo "Use k to move!!"<CR>
|
||||||
|
n <Right> * <Cmd>echo "Use l to move!!"<CR>
|
||||||
|
n <Left> * <Cmd>echo "Use h to move!!"<CR>
|
||||||
|
n <C-W><C-D> <C-W>d
|
||||||
|
Show diagnostics under the cursor
|
||||||
|
n <C-W>d * <Lua 16: vim/_defaults.lua:0>
|
||||||
|
Show diagnostics under the cursor
|
||||||
|
n <C-L> * <Lua 73: ~/.local/share/nvim-kickstart/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:121>
|
||||||
```
|
```
|
||||||
n ! * <Cmd>lua require("which-key").show("!", {mode = "n", auto = true})<CR>
|
|
||||||
n ' * <Cmd>lua require("which-key").show("'", {mode = "n", auto = true})<CR>
|
- Generated on Sun 30 Jun 2024 14:16:28 EEST
|
||||||
n " * <Cmd>lua require("which-key").show("\"", {mode = "n", auto = true})<CR>
|
|
||||||
n [ * <Cmd>lua require("which-key").show("[", {mode = "n", auto = true})<CR>
|
|
||||||
n [b * <Lua 246: ~/.config/nvim/lua/astronvim/mappings.lua:54> Previous buffer
|
|
||||||
n [g * <Lua 277: ~/.config/nvim/lua/astronvim/mappings.lua:150> Previous Git hunk
|
|
||||||
n [t * <Lua 281: ~/.config/nvim/lua/astronvim/mappings.lua:120> Previous tab
|
|
||||||
n ] * <Cmd>lua require("which-key").show("]", {mode = "n", auto = true})<CR>
|
|
||||||
n ]b * <Lua 250: ~/.config/nvim/lua/astronvim/mappings.lua:52> Next buffer
|
|
||||||
n ]g * <Lua 278: ~/.config/nvim/lua/astronvim/mappings.lua:149> Next Git hunk
|
|
||||||
n ]t * <Lua 282: ~/.config/nvim/lua/astronvim/mappings.lua:119> Next tab
|
|
||||||
n @ * <Cmd>lua require("which-key").show("@", {mode = "n", auto = true})<CR>
|
|
||||||
n \ * <Cmd>split<CR> Horizontal Split
|
|
||||||
n & * :&&<CR> Nvim builtin
|
|
||||||
n `* <Cmd>lua require("which-key").show("`", {mode = "n", auto = true})<CR>
|
|
||||||
n < * <Cmd>lua require("which-key").show("<", {mode = "n", auto = true})<CR>
|
|
||||||
n <b * <Lua 297: ~/.config/nvim/lua/astronvim/mappings.lua:62> Move buffer tab left
|
|
||||||
n <C-'> * <Cmd>ToggleTerm<CR> Toggle terminal
|
|
||||||
n <C-Down> * <Lua 263: ~/.config/nvim/lua/astronvim/mappings.lua:213> Resize split down
|
|
||||||
n <C-H> * <Lua 266: ~/.config/nvim/lua/astronvim/mappings.lua:208> Move to left split
|
|
||||||
n <C-J> * <Lua 283: ~/.config/nvim/lua/astronvim/mappings.lua:209> Move to below split
|
|
||||||
n <C-K> * <Lua 327: ~/.config/nvim/lua/astronvim/mappings.lua:210> Move to above split
|
|
||||||
n <C-L> * <Lua 265: ~/.config/nvim/lua/astronvim/mappings.lua:211> Move to right split
|
|
||||||
n <C-Left> * <Lua 262: ~/.config/nvim/lua/astronvim/mappings.lua:214> Resize split left
|
|
||||||
n <C-N> * <Lua 79: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Goto next mark
|
|
||||||
n <C-P> * <Lua 80: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Goto previous mark
|
|
||||||
n <C-Q> * <Cmd>q!<CR> Force quit
|
|
||||||
n <C-Right> * <Lua 261: ~/.config/nvim/lua/astronvim/mappings.lua:215> Resize split right
|
|
||||||
n <C-S> * <Cmd>w!<CR> Force write
|
|
||||||
n <C-Up> * <Lua 264: ~/.config/nvim/lua/astronvim/mappings.lua:212> Resize split up
|
|
||||||
n <C-W> * <Cmd>lua require("which-key").show("\23", {mode = "n", auto = true})<CR>
|
|
||||||
n <CR> *@<Lua 391: ~/.local/share/nvim/lazy/alpha-nvim/lua/alpha.lua:705>
|
|
||||||
n <F10> * <Lua 348: ~/.config/nvim/lua/astronvim/mappings.lua:353> Debugger: Step Over
|
|
||||||
n <F11> * <Lua 333: ~/.config/nvim/lua/astronvim/mappings.lua:354> Debugger: Step Into
|
|
||||||
n <F17> * <Lua 344: ~/.config/nvim/lua/astronvim/mappings.lua:341> Debugger: Stop
|
|
||||||
n <F21> * <Lua 342: ~/.config/nvim/lua/astronvim/mappings.lua:343> Debugger: Conditional Breakpoint
|
|
||||||
n <F23> * <Lua 331: ~/.config/nvim/lua/astronvim/mappings.lua:355> Debugger: Step Out
|
|
||||||
n <F29> * <Lua 334: ~/.config/nvim/lua/astronvim/mappings.lua:350> Debugger: Restart
|
|
||||||
n <F5> * <Lua 341: ~/.config/nvim/lua/astronvim/mappings.lua:340> Debugger: Start
|
|
||||||
n <F6> * <Lua 339: ~/.config/nvim/lua/astronvim/mappings.lua:351> Debugger: Pause
|
|
||||||
n <F7> * <Cmd>ToggleTerm<CR> Toggle terminal
|
|
||||||
n <F9> * <Lua 337: ~/.config/nvim/lua/astronvim/mappings.lua:352> Debugger: Toggle Breakpoint
|
|
||||||
n <M-CR> *@<Lua 394: ~/.local/share/nvim/lazy/alpha-nvim/lua/alpha.lua:708>
|
|
||||||
n <Plug>PlenaryTestFile *:lua require('plenary.test_harness').test_directory(vim.fn.expand("%:p"))<CR>
|
|
||||||
n <Space> * <Cmd>lua require("which-key").show(" ", {mode = "n", auto = true})<CR>
|
|
||||||
n <Space>/ * <Lua 279: ~/.config/nvim/lua/astronvim/mappings.lua:139> Comment line
|
|
||||||
n <Space><Space> * <Lua 49: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Harpoon
|
|
||||||
n <Space><Space>a * <Lua 81: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Add file
|
|
||||||
n <Space><Space>e * <Lua 82: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Toggle quick menu
|
|
||||||
n <Space><Space>j * <Lua 48: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Goto to TMUX tmux window
|
|
||||||
n <Space><Space>m * <Lua 83: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Show marks in Telescope
|
|
||||||
n <Space><Space>t * <Lua 84: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Goto to terminal window
|
|
||||||
n <Space>a * <Lua 102: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Annotation
|
|
||||||
n <Space>a<CR> * <Lua 103: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Current
|
|
||||||
n <Space>ac * <Lua 104: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Class
|
|
||||||
n <Space>af * <Lua 105: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Function
|
|
||||||
n <Space>aF * <Lua 96: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> File
|
|
||||||
n <Space>at * <Lua 86: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Type
|
|
||||||
n <Space>b\ * <Lua 285: ~/.config/nvim/lua/astronvim/mappings.lua:100> Horizontal split buffer from tabline
|
|
||||||
n <Space>b| * <Lua 284: ~/.config/nvim/lua/astronvim/mappings.lua:109> Vertical split buffer from tabline
|
|
||||||
n <Space>bb * <Lua 294: ~/.config/nvim/lua/astronvim/mappings.lua:71> Select buffer from tabline
|
|
||||||
n <Space>bC * <Lua 295: ~/.config/nvim/lua/astronvim/mappings.lua:69> Close all buffers
|
|
||||||
n <Space>bc * <Lua 296: ~/.config/nvim/lua/astronvim/mappings.lua:68> Close all buffers except current
|
|
||||||
n <Space>bd * <Lua 293: ~/.config/nvim/lua/astronvim/mappings.lua:77> Delete buffer from tabline
|
|
||||||
n <Space>bD * <Lua 320: ~/.config/astronvim/lua/user/mappings.lua:13> Pick to close
|
|
||||||
n <Space>bl * <Lua 292: ~/.config/nvim/lua/astronvim/mappings.lua:85> Close all buffers to the left
|
|
||||||
n <Space>bn * <Cmd>tabnew<CR> New tab
|
|
||||||
n <Space>br * <Lua 291: ~/.config/nvim/lua/astronvim/mappings.lua:87> Close all buffers to the right
|
|
||||||
n <Space>bse * <Lua 290: ~/.config/nvim/lua/astronvim/mappings.lua:90> Sort by extension (buffers)
|
|
||||||
n <Space>bsi * <Lua 287: ~/.config/nvim/lua/astronvim/mappings.lua:96> Sort by buffer number (buffers)
|
|
||||||
n <Space>bsm * <Lua 286: ~/.config/nvim/lua/astronvim/mappings.lua:98> Sort by modification (buffers)
|
|
||||||
n <Space>bsp * <Lua 288: ~/.config/nvim/lua/astronvim/mappings.lua:94> Sort by full path (buffers)
|
|
||||||
n <Space>bsr * <Lua 289: ~/.config/nvim/lua/astronvim/mappings.lua:92> Sort by relative path (buffers)
|
|
||||||
n <Space>C * <Lua 299: ~/.config/nvim/lua/astronvim/mappings.lua:50> Force close buffer
|
|
||||||
n <Space>c * <Lua 300: ~/.config/nvim/lua/astronvim/mappings.lua:49> Close buffer
|
|
||||||
n <Space>dB * <Lua 328: ~/.config/nvim/lua/astronvim/mappings.lua:357> Clear Breakpoints
|
|
||||||
n <Space>db * <Lua 329: ~/.config/nvim/lua/astronvim/mappings.lua:356> Toggle Breakpoint (F9)
|
|
||||||
n <Space>dC * <Lua 324: ~/.config/nvim/lua/astronvim/mappings.lua:360> Conditional Breakpoint (S-F9)
|
|
||||||
n <Space>dc * <Lua 326: ~/.config/nvim/lua/astronvim/mappings.lua:358> Start/Continue (F5)
|
|
||||||
n <Space>dE * <Lua 308: ~/.config/nvim/lua/astronvim/mappings.lua:379> Evaluate Input
|
|
||||||
n <Space>dh * <Lua 305: ~/.config/nvim/lua/astronvim/mappings.lua:388> Debugger Hover
|
|
||||||
n <Space>di * <Lua 323: ~/.config/nvim/lua/astronvim/mappings.lua:367> Step Into (F11)
|
|
||||||
n <Space>dO * <Lua 321: ~/.config/nvim/lua/astronvim/mappings.lua:369> Step Out (S-F11)
|
|
||||||
n <Space>do * <Lua 322: ~/.config/nvim/lua/astronvim/mappings.lua:368> Step Over (F10)
|
|
||||||
n <Space>dp * <Lua 316: ~/.config/nvim/lua/astronvim/mappings.lua:372> Pause (F6)
|
|
||||||
n <Space>dQ * <Lua 318: ~/.config/nvim/lua/astronvim/mappings.lua:371> Terminate Session (S-F5)
|
|
||||||
n <Space>dq * <Lua 319: ~/.config/nvim/lua/astronvim/mappings.lua:370> Close Session
|
|
||||||
n <Space>dR * <Lua 312: ~/.config/nvim/lua/astronvim/mappings.lua:374> Toggle REPL
|
|
||||||
n <Space>dr * <Lua 314: ~/.config/nvim/lua/astronvim/mappings.lua:373> Restart (C-F5)
|
|
||||||
n <Space>ds * <Lua 310: ~/.config/nvim/lua/astronvim/mappings.lua:375> Run To Cursor
|
|
||||||
n <Space>du * <Lua 315: ~/.config/nvim/lua/astronvim/mappings.lua:387> Toggle Debugger UI
|
|
||||||
n <Space>e * <Cmd>Neotree toggle<CR> Toggle Explorer
|
|
||||||
n <Space>f' * <Lua 255: ~/.config/nvim/lua/astronvim/mappings.lua:241> Find marks
|
|
||||||
n <Space>f<CR> * <Lua 256: ~/.config/nvim/lua/astronvim/mappings.lua:240> Resume previous search
|
|
||||||
n <Space>fa * <Lua 254: ~/.config/nvim/lua/astronvim/mappings.lua:243> Find AstroNvim config files
|
|
||||||
n <Space>fb * <Lua 253: ~/.config/nvim/lua/astronvim/mappings.lua:263> Find buffers
|
|
||||||
n <Space>fC * <Lua 251: ~/.config/nvim/lua/astronvim/mappings.lua:266> Find commands
|
|
||||||
n <Space>fc * <Lua 252: ~/.config/nvim/lua/astronvim/mappings.lua:265> Find for word under cursor
|
|
||||||
n <Space>fF * <Lua 248: ~/.config/nvim/lua/astronvim/mappings.lua:269> Find all files
|
|
||||||
n <Space>ff * <Lua 249: ~/.config/nvim/lua/astronvim/mappings.lua:267> Find files
|
|
||||||
n <Space>fh * <Lua 247: ~/.config/nvim/lua/astronvim/mappings.lua:272> Find help
|
|
||||||
n <Space>fk * <Lua 245: ~/.config/nvim/lua/astronvim/mappings.lua:273> Find keymaps
|
|
||||||
n <Space>fm * <Lua 309: ~/.config/nvim/lua/astronvim/mappings.lua:274> Find man
|
|
||||||
n <Space>fn * <Lua 242: ~/.config/nvim/lua/astronvim/mappings.lua:277> Find notifications
|
|
||||||
n <Space>fo * <Lua 240: ~/.config/nvim/lua/astronvim/mappings.lua:279> Find history
|
|
||||||
n <Space>fr * <Lua 239: ~/.config/nvim/lua/astronvim/mappings.lua:280> Find registers
|
|
||||||
n <Space>ft * <Lua 238: ~/.config/nvim/lua/astronvim/mappings.lua:282> Find themes
|
|
||||||
n <Space>fW * <Lua 236: ~/.config/nvim/lua/astronvim/mappings.lua:285> Find words in all files
|
|
||||||
n <Space>fw * <Lua 237: ~/.config/nvim/lua/astronvim/mappings.lua:283> Find words
|
|
||||||
n <Space>gb * <Lua 259: ~/.config/nvim/lua/astronvim/mappings.lua:237> Git branches
|
|
||||||
n <Space>gc * <Lua 258: ~/.config/nvim/lua/astronvim/mappings.lua:238> Git commits
|
|
||||||
n <Space>gd * <Lua 268: ~/.config/nvim/lua/astronvim/mappings.lua:159> View Git diff
|
|
||||||
n <Space>gg * <Lua 304: ~/.config/nvim/lua/astronvim/mappings.lua:312> ToggleTerm lazygit
|
|
||||||
n <Space>gh * <Lua 273: ~/.config/nvim/lua/astronvim/mappings.lua:154> Reset Git hunk
|
|
||||||
n <Space>gL * <Lua 275: ~/.config/nvim/lua/astronvim/mappings.lua:152> View full Git blame
|
|
||||||
n <Space>gl * <Lua 276: ~/.config/nvim/lua/astronvim/mappings.lua:151> View Git blame
|
|
||||||
n <Space>gp * <Lua 274: ~/.config/nvim/lua/astronvim/mappings.lua:153> Preview Git hunk
|
|
||||||
n <Space>gr * <Lua 272: ~/.config/nvim/lua/astronvim/mappings.lua:155> Reset Git buffer
|
|
||||||
n <Space>gS * <Lua 270: ~/.config/nvim/lua/astronvim/mappings.lua:157> Stage Git buffer
|
|
||||||
n <Space>gs * <Lua 271: ~/.config/nvim/lua/astronvim/mappings.lua:156> Stage Git hunk
|
|
||||||
n <Space>gt * <Lua 257: ~/.config/nvim/lua/astronvim/mappings.lua:239> Git status
|
|
||||||
n <Space>gu * <Lua 269: ~/.config/nvim/lua/astronvim/mappings.lua:158> Unstage Git hunk
|
|
||||||
n <Space>h * <Lua 280: ~/.config/nvim/lua/astronvim/mappings.lua:125> Home Screen
|
|
||||||
n <Space>lD * <Lua 313: ~/.config/nvim/lua/astronvim/mappings.lua:293> Search diagnostics
|
|
||||||
n <Space>ls * <Lua 235: ~/.config/nvim/lua/astronvim/mappings.lua:295> Search symbols
|
|
||||||
n <Space>lS * <Lua 260: ~/.config/nvim/lua/astronvim/mappings.lua:230> Symbols outline
|
|
||||||
n <Space>n * <Cmd>enew<CR> New File
|
|
||||||
n <Space>o * <Lua 267: ~/.config/nvim/lua/astronvim/mappings.lua:166> Toggle Explorer Focus
|
|
||||||
n <Space>p * <Cmd>lua require("which-key").show(" p", {mode = "n", auto = true})<CR>
|
|
||||||
n <Space>pA * <Cmd>AstroUpdate<CR> AstroNvim Update
|
|
||||||
n <Space>pa * <Cmd>AstroUpdatePackages<CR> Update Plugins and Mason
|
|
||||||
n <Space>pi * <Lua 307: ~/.config/nvim/lua/astronvim/mappings.lua:36> Plugins Install
|
|
||||||
n <Space>pl * <Cmd>AstroChangelog<CR> AstroNvim Changelog
|
|
||||||
n <Space>pm * <Cmd>Mason<CR> Mason Installer
|
|
||||||
n <Space>pM * <Cmd>MasonUpdateAll<CR> Mason Update
|
|
||||||
n <Space>pS * <Lua 233: ~/.config/nvim/lua/astronvim/mappings.lua:38> Plugins Sync
|
|
||||||
n <Space>ps * <Lua 234: ~/.config/nvim/lua/astronvim/mappings.lua:37> Plugins Status
|
|
||||||
n <Space>pU * <Lua 229: ~/.config/nvim/lua/astronvim/mappings.lua:40> Plugins Update
|
|
||||||
n <Space>pu * <Lua 231: ~/.config/nvim/lua/astronvim/mappings.lua:39> Plugins Check Updates
|
|
||||||
n <Space>pv * <Cmd>AstroVersion<CR> AstroNvim Version
|
|
||||||
n <Space>q * <Cmd>confirm q<CR> Quit
|
|
||||||
n <Space>s * <Lua 45: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Search / Replace
|
|
||||||
n <Space>S. * <Cmd>SessionManager! load_current_dir_session<CR> Load current directory session
|
|
||||||
n <Space>Sd * <Cmd>SessionManager! delete_session<CR> Delete session
|
|
||||||
n <Space>Sf * <Cmd>SessionManager! load_session<CR> Search sessions
|
|
||||||
n <Space>sf * <Lua 36: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Spectre (current file)
|
|
||||||
n <Space>Sl * <Cmd>SessionManager! load_last_session<CR> Load last session
|
|
||||||
n <Space>Ss * <Cmd>SessionManager! save_current_session<CR> Save this session
|
|
||||||
n <Space>ss * <Lua 35: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Spectre
|
|
||||||
n <Space>tf * <Cmd>ToggleTerm direction=float<CR> ToggleTerm float
|
|
||||||
n <Space>th * <Cmd>ToggleTerm size=10 direction=horizontal<CR> ToggleTerm horizontal split
|
|
||||||
n <Space>tl * <Lua 232: ~/.config/nvim/lua/astronvim/mappings.lua:313> ToggleTerm lazygit
|
|
||||||
n <Space>tn * <Lua 230: ~/.config/nvim/lua/astronvim/mappings.lua:316> ToggleTerm node
|
|
||||||
n <Space>tp * <Lua 311: ~/.config/nvim/lua/astronvim/mappings.lua:325> ToggleTerm python
|
|
||||||
n <Space>tt * <Lua 306: ~/.config/nvim/lua/astronvim/mappings.lua:322> ToggleTerm btm
|
|
||||||
n <Space>tu * <Lua 355: ~/.config/nvim/lua/astronvim/mappings.lua:319> ToggleTerm gdu
|
|
||||||
n <Space>tv * <Cmd>ToggleTerm size=80 direction=vertical<CR> ToggleTerm vertical split
|
|
||||||
n <Space>ua * <Lua 350: ~/.config/nvim/lua/astronvim/utils/ui.lua:27> Toggle autopairs
|
|
||||||
n <Space>ub * <Lua 303: ~/.config/nvim/lua/astronvim/utils/ui.lua:58> Toggle background
|
|
||||||
n <Space>uC * <Cmd>ColorizerToggle<CR> Toggle color highlight
|
|
||||||
n <Space>uc * <Lua 354: ~/.config/nvim/lua/astronvim/utils/ui.lua:64> Toggle autocompletion
|
|
||||||
n <Space>ud * <Lua 353: ~/.config/nvim/lua/astronvim/utils/ui.lua:43> Toggle diagnostics
|
|
||||||
n <Space>ug * <Lua 301: ~/.config/nvim/lua/astronvim/utils/ui.lua:134> Toggle signcolumn
|
|
||||||
n <Space>uh * <Lua 352: ~/.config/nvim/lua/astronvim/utils/ui.lua:215> Toggle foldcolumn
|
|
||||||
n <Space>ui * <Lua 325: ~/.config/nvim/lua/astronvim/utils/ui.lua:146> Change indent setting
|
|
||||||
n <Space>ul * <Lua 330: ~/.config/nvim/lua/astronvim/utils/ui.lua:117> Toggle statusline
|
|
||||||
n <Space>uL * <Lua 345: ~/.config/nvim/lua/astronvim/utils/ui.lua:98> Toggle CodeLens
|
|
||||||
n <Space>uN * <Lua 340: ~/.config/nvim/lua/astronvim/utils/ui.lua:21> Toggle UI notifications
|
|
||||||
n <Space>un * <Lua 343: ~/.config/nvim/lua/astronvim/utils/ui.lua:161> Change line numbering
|
|
||||||
n <Space>up * <Lua 338: ~/.config/nvim/lua/astronvim/utils/ui.lua:183> Toggle paste mode
|
|
||||||
n <Space>uS * <Lua 332: ~/.config/nvim/lua/astronvim/utils/ui.lua:111> Toggle conceal
|
|
||||||
n <Space>us * <Lua 335: ~/.config/nvim/lua/astronvim/utils/ui.lua:177> Toggle spellcheck
|
|
||||||
n <Space>uT * <Cmd>TransparentToggle<CR> Toggle transparency
|
|
||||||
n <Space>ut * <Lua 302: ~/.config/nvim/lua/astronvim/utils/ui.lua:105> Toggle tabline
|
|
||||||
n <Space>uu * <Lua 351: ~/.config/nvim/lua/astronvim/utils/ui.lua:208> Toggle URL highlight
|
|
||||||
n <Space>uw * <Lua 349: ~/.config/nvim/lua/astronvim/utils/ui.lua:189> Toggle wrap
|
|
||||||
n <Space>uy * <Lua 346: ~/.config/nvim/lua/astronvim/utils/ui.lua:195> Toggle syntax highlight
|
|
||||||
n <Space>w * <Cmd>w<CR> Save
|
|
||||||
n <Space>x * <Lua 126: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Trouble
|
|
||||||
n <Space>xl * <Lua 171: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Location List (Trouble)
|
|
||||||
n <Space>xq * <Lua 172: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Quickfix List (Trouble)
|
|
||||||
n <Space>xX * <Lua 132: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Workspace Diagnostics (Trouble)
|
|
||||||
n <Space>xx * <Lua 170: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Document Diagnostics (Trouble)
|
|
||||||
n > * <Cmd>lua require("which-key").show(">", {mode = "n", auto = true})<CR>
|
|
||||||
n >b * <Lua 298: ~/.config/nvim/lua/astronvim/mappings.lua:58> Move buffer tab right
|
|
||||||
n | * <Cmd>vsplit<CR> Vertical Split
|
|
||||||
n c * <Cmd>lua require("which-key").show("c", {mode = "n", auto = true})<CR>
|
|
||||||
n d * <Cmd>lua require("which-key").show("d", {mode = "n", auto = true})<CR>
|
|
||||||
n g * <Cmd>lua require("which-key").show("g", {mode = "n", auto = true})<CR>
|
|
||||||
n gb * <Lua 123: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Comment toggle blockwise
|
|
||||||
n gc * <Lua 107: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Comment toggle linewise
|
|
||||||
n gx * <Lua 241: ~/.config/nvim/lua/astronvim/utils/init.lua:134> Open the file under cursor with system app
|
|
||||||
n j * v:count == 0 ? 'gj' : 'j' Move cursor down
|
|
||||||
n k * v:count == 0 ? 'gk' : 'k' Move cursor up
|
|
||||||
n v * <Cmd>lua require("which-key").show("v", {mode = "n", auto = true})<CR>
|
|
||||||
n y * <Cmd>lua require("which-key").show("y", {mode = "n", auto = true})<CR>
|
|
||||||
n Y * y$ Nvim builtin
|
|
||||||
n z * <Cmd>lua require("which-key").show("z", {mode = "n", auto = true})<CR>
|
|
||||||
n zM * <Lua 244: ~/.config/nvim/lua/astronvim/mappings.lua:395> Close all folds
|
|
||||||
n zm * <Lua 317: ~/.config/nvim/lua/astronvim/mappings.lua:397> Fold more
|
|
||||||
n zp * <Lua 347: ~/.config/nvim/lua/astronvim/mappings.lua:398> Peek fold
|
|
||||||
n zr * <Lua 243: ~/.config/nvim/lua/astronvim/mappings.lua:396> Fold less
|
|
||||||
n zR * <Lua 336: ~/.config/nvim/lua/astronvim/mappings.lua:394> Open all folds
|
|
||||||
v <Tab> * >gv indent line
|
|
||||||
v <S-Tab> * <gv unindent line
|
|
||||||
v <Space>/ * <Esc><Cmd>lua require('Comment.api').toggle.linewise(vim.fn.visualmode())<CR> Toggle comment line
|
|
||||||
v <Space>dE * <Lua 228: ~/.config/nvim/lua/astronvim/mappings.lua:386> Evaluate Input
|
|
||||||
v gb * <Lua 124: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Comment toggle blockwise
|
|
||||||
v gc * <Lua 114: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Comment toggle linewise
|
|
||||||
x " * <Cmd>lua require("which-key").show("\"", {mode = "v", auto = true})<CR>
|
|
||||||
x ** y/\V<C-R>"<CR> Nvim builtin
|
|
||||||
x # * y?\V<C-R>"<CR> Nvim builtin
|
|
||||||
x <Space> * <Cmd>lua require("which-key").show(" ", {mode = "v", auto = true})<CR>
|
|
||||||
x <Space>s * <Lua 46: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Search / Replace
|
|
||||||
x <Space>sw * <Lua 47: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:67> Spectre (current word)
|
|
||||||
x g * <Cmd>lua require("which-key").show("g", {mode = "v", auto = true})<CR>
|
|
||||||
```
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ Leader: `<ctrl><space>`
|
|||||||
; Move to the previously active pane
|
; Move to the previously active pane
|
||||||
= Choose a paste buffer from a list
|
= Choose a paste buffer from a list
|
||||||
? List key bindings
|
? List key bindings
|
||||||
D Choose a client from a list
|
D Choose and detach a client from a list
|
||||||
E Spread panes out evenly
|
E Spread panes out evenly
|
||||||
L Switch to the last client
|
L Switch to the last client
|
||||||
M Clear the marked pane
|
M Clear the marked pane
|
||||||
|
|||||||
@@ -62,19 +62,20 @@ function section_install
|
|||||||
$0 install antigen
|
$0 install antigen
|
||||||
$0 brew install
|
$0 brew install
|
||||||
$0 install ohmyposh
|
$0 install ohmyposh
|
||||||
$0 install ohmybash
|
$0 install asdf
|
||||||
$0 install pip
|
# $0 install ohmybash
|
||||||
|
# $0 install pip
|
||||||
$0 install cargo
|
$0 install cargo
|
||||||
$0 install composer
|
$0 install composer
|
||||||
$0 install dotenv
|
# $0 install dotenv
|
||||||
$0 install fzf
|
$0 install fzf
|
||||||
$0 install gh
|
# $0 install gh
|
||||||
$0 install go
|
$0 install go
|
||||||
$0 install cheat-databases
|
$0 install cheat-databases
|
||||||
$0 install imagick
|
$0 install imagick
|
||||||
$0 install neofetch
|
# $0 install neofetch
|
||||||
$0 install nvm
|
# $0 install nvm
|
||||||
$0 install npm
|
# $0 install npm
|
||||||
$0 install ntfy
|
$0 install ntfy
|
||||||
$0 install z
|
$0 install z
|
||||||
msgr msg "Reloading configurations again..."
|
msgr msg "Reloading configurations again..."
|
||||||
@@ -86,6 +87,11 @@ function section_install
|
|||||||
curl -sSfL git.io/antigen -o "$DOTFILES/local/bin/antigen.zsh" \
|
curl -sSfL git.io/antigen -o "$DOTFILES/local/bin/antigen.zsh" \
|
||||||
&& msg_yay "New antigen installed!"
|
&& msg_yay "New antigen installed!"
|
||||||
;;
|
;;
|
||||||
|
asdf)
|
||||||
|
msg "Installing asdf..."
|
||||||
|
bash "$DOTFILES/scripts/install-asdf.sh" \
|
||||||
|
&& msg_yay "asdf installed!"
|
||||||
|
;;
|
||||||
cargo)
|
cargo)
|
||||||
msg "Installing cargo packages..."
|
msg "Installing cargo packages..."
|
||||||
bash "$DOTFILES/scripts/install-cargo-packages.sh" \
|
bash "$DOTFILES/scripts/install-cargo-packages.sh" \
|
||||||
@@ -213,6 +219,8 @@ function section_brew
|
|||||||
"update:Updates and upgrades brew packages"
|
"update:Updates and upgrades brew packages"
|
||||||
"updatebundle:Updates Brewfile with descriptions"
|
"updatebundle:Updates Brewfile with descriptions"
|
||||||
"autoupdate:Setups brew auto-update and runs it immediately"
|
"autoupdate:Setups brew auto-update and runs it immediately"
|
||||||
|
"leaves:List brew leaves (installed on request)"
|
||||||
|
"clean:Clean up brew packages"
|
||||||
)
|
)
|
||||||
|
|
||||||
x-have brew && {
|
x-have brew && {
|
||||||
@@ -225,12 +233,18 @@ function section_brew
|
|||||||
msg_yay "Done!"
|
msg_yay "Done!"
|
||||||
;;
|
;;
|
||||||
updatebundle)
|
updatebundle)
|
||||||
# Updates .dotfiles/Brewfile with descriptions
|
# Updates .dotfiles/homebrew/Brewfile with descriptions
|
||||||
brew bundle dump \
|
brew bundle dump \
|
||||||
--force \
|
--force \
|
||||||
--file="$BREWFILE" \
|
--file="$BREWFILE" \
|
||||||
--describe && msg_yay "Done!"
|
--describe && msg_yay "Done!"
|
||||||
;;
|
;;
|
||||||
|
leaves)
|
||||||
|
brew leaves --installed-on-request
|
||||||
|
;;
|
||||||
|
clean)
|
||||||
|
brew bundle cleanup --file="$BREWFILE" && msg_yay "Done!"
|
||||||
|
;;
|
||||||
autoupdate)
|
autoupdate)
|
||||||
brew autoupdate delete
|
brew autoupdate delete
|
||||||
brew autoupdate start 43200 --upgrade --cleanup --immediate
|
brew autoupdate start 43200 --upgrade --cleanup --immediate
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# msgr / Messanger helper
|
# msgr / Messenger helper
|
||||||
# Copyright (c) 2023 Ismo Vuorinen. All Rights Reserved.
|
# Copyright (c) 2023 Ismo Vuorinen. All Rights Reserved.
|
||||||
# MIT License, https://opensource.org/license/mit/
|
# MIT License, https://opensource.org/license/mit/
|
||||||
|
|
||||||
|
|||||||
19
local/bin/x-change-alacritty-theme
Executable file
19
local/bin/x-change-alacritty-theme
Executable file
@@ -0,0 +1,19 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Adapted from https://gist.github.com/xqm32/17777d035930d622d0ff7530bfab61fd
|
||||||
|
#
|
||||||
|
|
||||||
|
A_DIR="$HOME/.config/alacritty"
|
||||||
|
|
||||||
|
set_alacritty_theme() {
|
||||||
|
cp -f "$A_DIR/theme-$1.toml" "$A_DIR/theme-active.toml"
|
||||||
|
}
|
||||||
|
ALACRITTY_THEME=$1
|
||||||
|
if [ "$ALACRITTY_THEME" = "dark" ] || [ "$ALACRITTY_THEME" = "night" ]; then
|
||||||
|
set_alacritty_theme "night"
|
||||||
|
else
|
||||||
|
set_alacritty_theme "day"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Notify alacritty about the changes
|
||||||
|
touch "$A_DIR/alacritty.toml"
|
||||||
|
|
||||||
17
local/bin/x-gh-get-latest-release-targz
Executable file
17
local/bin/x-gh-get-latest-release-targz
Executable file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
REPO=$1
|
||||||
|
|
||||||
|
if [ -z "$REPO" ]; then
|
||||||
|
echo "Usage: $0 <repo> (e.g. ivuorinen/dotfiles)"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
LOCATION=$(curl -s "https://api.github.com/repos/${REPO}/releases/latest" \
|
||||||
|
| sed -Ene '/^[[:blank:]]+"tarball_url":[[:blank:]]"(https:[^"]+)",/s//\1/p')
|
||||||
|
|
||||||
|
echo "Downloading and extracting from: $LOCATION"
|
||||||
|
|
||||||
|
curl --location --silent "$LOCATION" | tar --extract --gzip --file=-
|
||||||
|
|
||||||
|
# vim: set ts=2 sw=2 ft=sh et:
|
||||||
18
local/bin/x-gh-get-latest-version
Executable file
18
local/bin/x-gh-get-latest-version
Executable file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
REPO=$1
|
||||||
|
|
||||||
|
if [ -z "$REPO" ]; then
|
||||||
|
echo "Usage: $0 <repo> (e.g. ivuorinen/dotfiles)"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
VERSION=$(
|
||||||
|
curl -s "https://api.github.com/repos/${REPO}/releases/latest" \
|
||||||
|
| grep "tag_name" \
|
||||||
|
| awk '{print substr($2, 2, length($2)-3)}'
|
||||||
|
)
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
|
|
||||||
|
# vim: set ts=2 sw=2 ft=sh et:
|
||||||
@@ -29,5 +29,6 @@
|
|||||||
"homepage": "https://github.com/ivuorinen/dotfiles#readme",
|
"homepage": "https://github.com/ivuorinen/dotfiles#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ivuorinen/base-configs": "^1.1.0"
|
"@ivuorinen/base-configs": "^1.1.0"
|
||||||
}
|
},
|
||||||
|
"packageManager": "yarn@1.22.22"
|
||||||
}
|
}
|
||||||
|
|||||||
23
scripts/create-nvim-keymaps.sh
Executable file
23
scripts/create-nvim-keymaps.sh
Executable file
@@ -0,0 +1,23 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Create file containing key mappings for Neovim
|
||||||
|
# Usage: ./create-nvim-keymaps.sh
|
||||||
|
|
||||||
|
source "$HOME/.dotfiles/scripts/shared.sh"
|
||||||
|
source "$HOME/.dotfiles/config/exports"
|
||||||
|
source "$HOME/.dotfiles/config/alias"
|
||||||
|
source "$HOME/.dotfiles/config/functions"
|
||||||
|
|
||||||
|
DEST="$HOME/.dotfiles/docs/nvim-keybindings.md"
|
||||||
|
|
||||||
|
{
|
||||||
|
printf "# nvim keybindings\n";
|
||||||
|
printf "\n";
|
||||||
|
printf "\`\`\`txt";
|
||||||
|
} > "$DEST"
|
||||||
|
|
||||||
|
NVIM_APPNAME="nvim-kickstart" nvim -c "redir! >> $DEST" -c 'silent verbose map' -c 'redir END' -c 'q'
|
||||||
|
|
||||||
|
printf "\n\`\`\`\n\n- Generated on %s\n" "$(date)" >> "$DEST"
|
||||||
|
|
||||||
|
# Remove lines with "Last set from" from the file
|
||||||
|
sed -e '/^ Last set from/d' "$DEST" > "$DEST.tmp" && mv "$DEST.tmp" "$DEST"
|
||||||
11
scripts/create-omp-screenshot.sh
Executable file
11
scripts/create-omp-screenshot.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# shellcheck source=shared.sh
|
||||||
|
source "$HOME/.dotfiles/scripts/shared.sh"
|
||||||
|
set -e
|
||||||
|
|
||||||
|
cd "$DOTFILES" || exit
|
||||||
|
oh-my-posh config export image \
|
||||||
|
--config "$OHMYPOSH_CFG" \
|
||||||
|
--output "$HOME/.dotfiles/.github/screenshots/oh-my-posh.png" \
|
||||||
|
--author "Ismo Vuorinen"
|
||||||
78
scripts/install-asdf.sh
Executable file
78
scripts/install-asdf.sh
Executable file
@@ -0,0 +1,78 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Install asdf
|
||||||
|
|
||||||
|
source "${XDG_CONFIG_HOME}/exports"
|
||||||
|
source "${XDG_CONFIG_HOME}/alias"
|
||||||
|
source "${XDG_CONFIG_HOME}/functions"
|
||||||
|
source "${DOTFILES}/scripts/shared.sh"
|
||||||
|
|
||||||
|
# Installation variables
|
||||||
|
ASDF_GIT="https://github.com/asdf-vm/asdf.git"
|
||||||
|
ASDF_PATH="${XDG_DATA_HOME}/asdf"
|
||||||
|
|
||||||
|
if [ ! -d "$ASDF_PATH" ]; then
|
||||||
|
git clone --depth 1 "$ASDF_GIT" "$ASDF_PATH" \
|
||||||
|
--branch v0.14.0
|
||||||
|
|
||||||
|
msg_done "asdf ($ASDF_PATH/) installed"
|
||||||
|
else
|
||||||
|
msg_done "asdf ($ASDF_PATH/) already installed"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export PATH="${ASDF_PATH}/bin:$PATH"
|
||||||
|
|
||||||
|
msg "Sourcing asdf in your shell"
|
||||||
|
. "$ASDF_PATH/asdf.sh"
|
||||||
|
|
||||||
|
# Update asdf, and plugins
|
||||||
|
asdf update
|
||||||
|
|
||||||
|
asdf plugin add asdf-plugin-manager https://github.com/asdf-community/asdf-plugin-manager.git
|
||||||
|
asdf install asdf-plugin-manager latest
|
||||||
|
asdf global asdf-plugin-manager "$(asdf latest asdf-plugin-manager)"
|
||||||
|
asdf-plugin-manager version
|
||||||
|
asdf-plugin-manager export > "${ASDF_PLUGIN_MANAGER_PLUGIN_VERSIONS_FILENAME}"
|
||||||
|
asdf-plugin-manager add-all
|
||||||
|
|
||||||
|
asdf install
|
||||||
|
|
||||||
|
# ASDF_INSTALLABLES=(
|
||||||
|
# "nodejs:github.com/asdf-vm/asdf-nodejs.git"
|
||||||
|
# "1password-cli:github.com/NeoHsu/asdf-1password-cli.git"
|
||||||
|
# "age:github.com/threkk/asdf-age.git"
|
||||||
|
# "bottom:github.com/carbonteq/asdf-btm.git"
|
||||||
|
# "dotenv-linter:github.com/wesleimp/asdf-dotenv-linter.git"
|
||||||
|
# "editorconfig-checker:github.com/gabitchov/asdf-editorconfig-checker.git"
|
||||||
|
# "eza:github.com/lwiechec/asdf-eza.git"
|
||||||
|
# "fd:gitlab.com/wt0f/asdf-fd.git"
|
||||||
|
# "github-cli:github.com/bartlomiejdanek/asdf-github-cli.git"
|
||||||
|
# "hadolint:github.com/devlincashman/asdf-hadolint.git"
|
||||||
|
# "kubectl:github.com/asdf-community/asdf-kubectl.git"
|
||||||
|
# "lazygit:github.com/nklmilojevic/asdf-lazygit.git"
|
||||||
|
# "pipx:github.com/yozachar/asdf-pipx.git"
|
||||||
|
# "pre-commit:github.com/jonathanmorley/asdf-pre-commit.git"
|
||||||
|
# "ripgrep:gitlab.com/wt0f/asdf-ripgrep.git"
|
||||||
|
# "semgrep:github.com/brentjanderson/asdf-semgrep.git"
|
||||||
|
# "terraform-ls:github.com/asdf-community/asdf-hashicorp.git"
|
||||||
|
# "vault:github.com/asdf-community/asdf-hashicorp.git"
|
||||||
|
# "shellcheck:github.com/luizm/asdf-shellcheck.git"
|
||||||
|
# "shfmt:github.com/luizm/asdf-shfmt.git"
|
||||||
|
# "terraform-lsp:github.com/bartlomiejdanek/asdf-terraform-lsp.git"
|
||||||
|
# "terragrunt:github.com/ohmer/asdf-terragrunt.git"
|
||||||
|
# "tf-summarize:github.com/adamcrews/asdf-tf-summarize.git"
|
||||||
|
# "yamllint:github.com/ericcornelissen/asdf-yamllint.git"
|
||||||
|
# "yq:github.com/sudermanjr/asdf-yq.git"
|
||||||
|
# )
|
||||||
|
#
|
||||||
|
# msg "Installing asdf plugins, if not already installed"
|
||||||
|
# for item in "${ASDF_INSTALLABLES[@]}"; do
|
||||||
|
# CMD=$(echo "${item}" | awk -F ":" '{print $1}')
|
||||||
|
# URL=$(echo "${item}" | awk -F ":" '{print $2}')
|
||||||
|
# asdf plugin add "${CMD}" "https://${URL}"
|
||||||
|
# asdf install "${CMD}" latest
|
||||||
|
# asdf global "${CMD}" "$(asdf latest "${CMD}")"
|
||||||
|
# done
|
||||||
|
|
||||||
|
msg "Reshim asdf"
|
||||||
|
asdf reshim
|
||||||
@@ -21,12 +21,21 @@ source "$CARGO_HOME/env"
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
rustup default system
|
rustup default stable
|
||||||
|
|
||||||
|
# If we have cargo install-update, use it first
|
||||||
|
x-have cargo-install-update && {
|
||||||
|
msg_run "Updating cargo packages with cargo install-update"
|
||||||
|
cargo install-update -a
|
||||||
|
msg_done "Done with cargo install-update"
|
||||||
|
}
|
||||||
|
|
||||||
packages=(
|
packages=(
|
||||||
|
# A cargo subcommand for checking and applying
|
||||||
|
# updates to installed executables
|
||||||
|
"cargo-update"
|
||||||
|
# Cargo cache management utility
|
||||||
"cargo-cache"
|
"cargo-cache"
|
||||||
# starship.rs
|
|
||||||
# "starship"
|
|
||||||
# An incremental parsing system for programming tools
|
# An incremental parsing system for programming tools
|
||||||
"tree-sitter-cli"
|
"tree-sitter-cli"
|
||||||
# a subprocess caching utility
|
# a subprocess caching utility
|
||||||
@@ -37,9 +46,6 @@ packages=(
|
|||||||
"eza"
|
"eza"
|
||||||
# A simple, fast and user-friendly alternative to 'find'
|
# A simple, fast and user-friendly alternative to 'find'
|
||||||
"fd-find"
|
"fd-find"
|
||||||
# A cargo subcommand for checking and applying
|
|
||||||
# updates to installed executables
|
|
||||||
"cargo-update"
|
|
||||||
# recursively searches directories for a
|
# recursively searches directories for a
|
||||||
# regex pattern while respecting your gitignore
|
# regex pattern while respecting your gitignore
|
||||||
"ripgrep"
|
"ripgrep"
|
||||||
@@ -48,6 +54,9 @@ packages=(
|
|||||||
"bottom"
|
"bottom"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Number of jobs to run in parallel, this helps to keep the system responsive
|
||||||
|
BUILD_JOBS=$(nproc --ignore=2)
|
||||||
|
|
||||||
for pkg in "${packages[@]}"; do
|
for pkg in "${packages[@]}"; do
|
||||||
# Trim spaces
|
# Trim spaces
|
||||||
pkg=${pkg// /}
|
pkg=${pkg// /}
|
||||||
@@ -55,7 +64,7 @@ for pkg in "${packages[@]}"; do
|
|||||||
if [[ ${pkg:0:1} == "#" ]]; then continue; fi
|
if [[ ${pkg:0:1} == "#" ]]; then continue; fi
|
||||||
|
|
||||||
msg_run "Installing cargo package $pkg"
|
msg_run "Installing cargo package $pkg"
|
||||||
cargo install "$pkg"
|
cargo install --jobs $BUILD_JOBS "$pkg"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
done
|
done
|
||||||
@@ -64,10 +73,12 @@ msg_done "Installed cargo packages!"
|
|||||||
|
|
||||||
msg_run "Now doing the next steps for cargo packages"
|
msg_run "Now doing the next steps for cargo packages"
|
||||||
|
|
||||||
# use bob to install nvim
|
# use bob to install latest stable nvim
|
||||||
x-have bob && {
|
x-have bob && {
|
||||||
bob use stable && x-path-append "$XDG_DATA_HOME/bob/nvim-bin"
|
bob use stable && x-path-append "$XDG_DATA_HOME/bob/nvim-bin"
|
||||||
}
|
}
|
||||||
|
|
||||||
msg_run "Removing cargo cache"
|
msg_run "Removing cargo cache"
|
||||||
cargo cache --autoclean
|
cargo cache --autoclean
|
||||||
|
msg_done "Done removing cargo cache"
|
||||||
|
|
||||||
|
|||||||
@@ -29,6 +29,8 @@ packages=(
|
|||||||
github.com/rhysd/actionlint/cmd/actionlint@latest
|
github.com/rhysd/actionlint/cmd/actionlint@latest
|
||||||
# simple terminal UI for git commands
|
# simple terminal UI for git commands
|
||||||
github.com/jesseduffield/lazygit@latest
|
github.com/jesseduffield/lazygit@latest
|
||||||
|
# Cleans up your $HOME from those pesky dotfiles
|
||||||
|
github.com/doron-cohen/antidot@latest
|
||||||
)
|
)
|
||||||
|
|
||||||
for pkg in "${packages[@]}"; do
|
for pkg in "${packages[@]}"; do
|
||||||
@@ -49,6 +51,11 @@ x-have git-profile && {
|
|||||||
&& msg_ok "Installed completions for git-profile"
|
&& msg_ok "Installed completions for git-profile"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
x-have antidot && {
|
||||||
|
antidot update \
|
||||||
|
&& msg_ok "Updated antidot database"
|
||||||
|
}
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
msg_run "Clearing go cache"
|
msg_run "Clearing go cache"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ esac
|
|||||||
|
|
||||||
NTFY_VERSION=2.2.0
|
NTFY_VERSION=2.2.0
|
||||||
NTFY_URL="https://github.com/binwiederhier/ntfy"
|
NTFY_URL="https://github.com/binwiederhier/ntfy"
|
||||||
NTFY_DEST="ntfy_${NTFY_VERSION}_${NTFY_ARCH}"
|
NTFY_DEST="/tmp/ntfy_${NTFY_VERSION}_${NTFY_ARCH}"
|
||||||
|
|
||||||
curl -L "$NTFY_URL/releases/download/v${NTFY_VERSION}/${NTFY_DEST}.tar.gz" \
|
curl -L "$NTFY_URL/releases/download/v${NTFY_VERSION}/${NTFY_DEST}.tar.gz" \
|
||||||
> "${NTFY_DEST}.tar.gz"
|
> "${NTFY_DEST}.tar.gz"
|
||||||
|
|||||||
@@ -7,12 +7,5 @@ source "$HOME/.dotfiles/scripts/shared.sh"
|
|||||||
|
|
||||||
curl -s https://ohmyposh.dev/install.sh | bash -s -- -d ~/.local/bin
|
curl -s https://ohmyposh.dev/install.sh | bash -s -- -d ~/.local/bin
|
||||||
|
|
||||||
OHMYPOSH_CFG="$HOME/.dotfiles/config/oh-my-posh.omp.json"
|
|
||||||
|
|
||||||
eval "$(oh-my-posh init zsh --config $OHMYPOSH_CFG)"
|
eval "$(oh-my-posh init zsh --config $OHMYPOSH_CFG)"
|
||||||
|
|
||||||
#cd ~/.dotfiles || exit
|
|
||||||
#oh-my-posh config export image \
|
|
||||||
# --config "$OHMYPOSH_CFG" \
|
|
||||||
# --output "~/.dotfiles/.github/screenshots/oh-my-posh.png" \
|
|
||||||
# --author "Ismo Vuorinen"
|
|
||||||
|
|||||||
@@ -27,6 +27,9 @@ export XDG_BIN_HOME="$HOME/.local/bin"
|
|||||||
export XDG_CACHE_HOME="$HOME/.cache"
|
export XDG_CACHE_HOME="$HOME/.cache"
|
||||||
export XDG_RUNTIME_DIR="$HOME/.local/run"
|
export XDG_RUNTIME_DIR="$HOME/.local/run"
|
||||||
|
|
||||||
|
# Other variables
|
||||||
|
export OHMYPOSH_CFG="$HOME/.dotfiles/config/omp/own.toml"
|
||||||
|
|
||||||
# Remove directory from the PATH variable
|
# Remove directory from the PATH variable
|
||||||
# usage: path_remove ~/.local/bin
|
# usage: path_remove ~/.local/bin
|
||||||
function path_remove
|
function path_remove
|
||||||
@@ -133,12 +136,12 @@ function get_sha256sum()
|
|||||||
sha256sum "$1" | head -c 64
|
sha256sum "$1" | head -c 64
|
||||||
}
|
}
|
||||||
|
|
||||||
# Replacable file
|
# Replaceable file
|
||||||
#
|
#
|
||||||
# $1 - filename (string)
|
# $1 - filename (string)
|
||||||
# $2 - filename (string)
|
# $2 - filename (string)
|
||||||
#
|
#
|
||||||
# Returns 1 when replacable, 0 when not replacable.
|
# Returns 1 when replaceable, 0 when not replaceable.
|
||||||
function replacable()
|
function replacable()
|
||||||
{
|
{
|
||||||
FILE1="$1"
|
FILE1="$1"
|
||||||
@@ -149,7 +152,7 @@ function replacable()
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
[[ ! -r "$FILE2" ]] && {
|
[[ ! -r "$FILE2" ]] && {
|
||||||
[[ $VERBOSE -eq 1 ]] && msg_err "File 2 ($FILE2) does not exist, replacable"
|
[[ $VERBOSE -eq 1 ]] && msg_err "File 2 ($FILE2) does not exist, replaceable"
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -161,16 +164,16 @@ function replacable()
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
[[ $FILE2_HASH = "" ]] && {
|
[[ $FILE2_HASH = "" ]] && {
|
||||||
[[ $VERBOSE -eq 1 ]] && msg_err "Could not get hash for file 2 ($FILE2), replacable"
|
[[ $VERBOSE -eq 1 ]] && msg_err "Could not get hash for file 2 ($FILE2), replaceable"
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
[[ "$FILE1_HASH" == "$FILE2_HASH" ]] && {
|
[[ "$FILE1_HASH" == "$FILE2_HASH" ]] && {
|
||||||
[[ $VERBOSE -eq 1 ]] && msg_ok "Files match, not replacable: $FILE1"
|
[[ $VERBOSE -eq 1 ]] && msg_ok "Files match, not replaceable: $FILE1"
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
[[ $VERBOSE -eq 1 ]] && msg_warn "Files do not match ($FILE1_HASH != $FILE2_HASH), replacable"
|
[[ $VERBOSE -eq 1 ]] && msg_warn "Files do not match ($FILE1_HASH != $FILE2_HASH), replaceable"
|
||||||
|
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,4 +2,6 @@ Include shared.d/*
|
|||||||
Include local.d/*
|
Include local.d/*
|
||||||
|
|
||||||
Host *
|
Host *
|
||||||
|
ServerAliveInterval 300 # send null packets every 5min to keep connection alive
|
||||||
|
ServerAliveCountMax 2 # if the server doesn't respond 2 times, it's gone so give up
|
||||||
# IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
|
# IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
|
||||||
|
|||||||
15
ssh/shared.d/demons
Normal file
15
ssh/shared.d/demons
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
Host vine
|
||||||
|
User ubuntu
|
||||||
|
HostName vine.antiprocess.net
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
|
||||||
|
Host purson
|
||||||
|
User ubuntu
|
||||||
|
HostName purson.antiprocess.net
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
|
||||||
|
Host paimon
|
||||||
|
User ivuorinen
|
||||||
|
HostName paimon.antiprocess.net
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
|
||||||
17
ssh/shared.d/turingpi
Normal file
17
ssh/shared.d/turingpi
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
Host t1
|
||||||
|
User ubuntu
|
||||||
|
HostName t1.home.antiprocess.net
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
Host t2
|
||||||
|
User ubuntu
|
||||||
|
HostName t2.home.antiprocess.net
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
Host t3
|
||||||
|
User ubuntu
|
||||||
|
HostName t3.home.antiprocess.net
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
Host t4
|
||||||
|
User ubuntu
|
||||||
|
HostName t4.home.antiprocess.net
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
|
||||||
Reference in New Issue
Block a user