2
0
mirror of https://github.com/webgefrickel/dotfiles synced 2024-11-09 13:10:27 +00:00
This commit is contained in:
Steffen Rademacker 2024-09-17 17:23:54 +02:00
parent 5d3c0b7769
commit 261bd6ddda
9 changed files with 1936 additions and 17 deletions

1
.asdfrc Normal file
View File

@ -0,0 +1 @@
legacy_version_file = yes

View File

@ -1,6 +1,6 @@
{ {
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" }, "Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"CopilotChat.nvim": { "branch": "canary", "commit": "d43fab67c328946fbf8e24fdcadfdb5410517e1f" }, "CopilotChat.nvim": { "branch": "canary", "commit": "b70d043e8ddf8e67f9308c0f444223a0708d985c" },
"Navigator.nvim": { "branch": "master", "commit": "91d86506ac2a039504d5205d32a1d4bc7aa57072" }, "Navigator.nvim": { "branch": "master", "commit": "91d86506ac2a039504d5205d32a1d4bc7aa57072" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-calc": { "branch": "main", "commit": "5947b412da67306c5b68698a02a846760059be2e" }, "cmp-calc": { "branch": "main", "commit": "5947b412da67306c5b68698a02a846760059be2e" },
@ -15,7 +15,7 @@
"friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" },
"gitsigns.nvim": { "branch": "main", "commit": "1ef74b546732f185d0f806860fa5404df7614f28" }, "gitsigns.nvim": { "branch": "main", "commit": "1ef74b546732f185d0f806860fa5404df7614f28" },
"gruvbox-material": { "branch": "master", "commit": "559b4a9abb6781699404dfd98fb7d6ec83113337" }, "gruvbox-material": { "branch": "master", "commit": "559b4a9abb6781699404dfd98fb7d6ec83113337" },
"lazy.nvim": { "branch": "main", "commit": "48b52b5cfcf8f88ed0aff8fde573a5cc20b1306d" }, "lazy.nvim": { "branch": "main", "commit": "460e1cd8f24e364d54543a4b0e83f6f4ec1f65fb" },
"lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" }, "lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" },
"markview.nvim": { "branch": "main", "commit": "f16486e49561740f33b6773df43c9bc2c3c34c7b" }, "markview.nvim": { "branch": "main", "commit": "f16486e49561740f33b6773df43c9bc2c3c34c7b" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "25c11854aa25558ee6c03432edfa0df0217324be" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "25c11854aa25558ee6c03432edfa0df0217324be" },
@ -23,19 +23,19 @@
"nvim-bqf": { "branch": "main", "commit": "1b24dc6050c34e8cd377b6b4cd6abe40509e0187" }, "nvim-bqf": { "branch": "main", "commit": "1b24dc6050c34e8cd377b6b4cd6abe40509e0187" },
"nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" },
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" }, "nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
"nvim-lspconfig": { "branch": "master", "commit": "bb682c167a0878338b4313b55538953d1c039085" }, "nvim-lspconfig": { "branch": "master", "commit": "46ce5fd8c081f179a509da423077f8372e63ffc4" },
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
"nvim-spectre": { "branch": "master", "commit": "ba7fb777edff6c1fbbeffd343e113af64c04e90a" }, "nvim-spectre": { "branch": "master", "commit": "ba7fb777edff6c1fbbeffd343e113af64c04e90a" },
"nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" }, "nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" },
"nvim-treesitter": { "branch": "master", "commit": "e0338f2b74fbad808f2569c7d4eadd8796af2118" }, "nvim-treesitter": { "branch": "master", "commit": "b9002f6fe679e2b8025a46116081c0da629a6b8c" },
"nvim-treesitter-pairs": { "branch": "master", "commit": "f8c195d4d8464cba6971bf8de2d6a5c8c109b37a" }, "nvim-treesitter-pairs": { "branch": "master", "commit": "f8c195d4d8464cba6971bf8de2d6a5c8c109b37a" },
"nvim-treesitter-refactor": { "branch": "master", "commit": "65ad2eca822dfaec2a3603119ec3cc8826a7859e" }, "nvim-treesitter-refactor": { "branch": "master", "commit": "d8b74fa87afc6a1e97b18da23e762efb032dc270" },
"nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" },
"nvim-web-devicons": { "branch": "master", "commit": "9154484705968658e9aab2b894d1b2a64bf9f83d" }, "nvim-web-devicons": { "branch": "master", "commit": "9154484705968658e9aab2b894d1b2a64bf9f83d" },
"plenary.nvim": { "branch": "master", "commit": "ec289423a1693aeae6cd0d503bac2856af74edaa" }, "plenary.nvim": { "branch": "master", "commit": "ec289423a1693aeae6cd0d503bac2856af74edaa" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" },
"telescope.nvim": { "branch": "master", "commit": "927c10f748e49c543b2d544c321a1245302ff324" }, "telescope.nvim": { "branch": "master", "commit": "927c10f748e49c543b2d544c321a1245302ff324" },
"todo-comments.nvim": { "branch": "main", "commit": "319c01b99b7a8c9ac2066bf0efd4d6ec68fef444" }, "todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
"treesj": { "branch": "main", "commit": "0d81326b5afd36babe7dd480aabbb0b05f33e688" }, "treesj": { "branch": "main", "commit": "0d81326b5afd36babe7dd480aabbb0b05f33e688" },
"trouble.nvim": { "branch": "main", "commit": "6efc446226679fda0547c0fd6a7892fd5f5b15d8" }, "trouble.nvim": { "branch": "main", "commit": "6efc446226679fda0547c0fd6a7892fd5f5b15d8" },
"twilight.nvim": { "branch": "main", "commit": "1584c0b0a979b71fd86b18d302ba84e9aba85b1b" }, "twilight.nvim": { "branch": "main", "commit": "1584c0b0a979b71fd86b18d302ba84e9aba85b1b" },

View File

@ -41,11 +41,12 @@ return {
{ 'ge', '<cmd>lua vim.diagnostic.goto_next()<cr>', desc = 'go to next error in file' }, { 'ge', '<cmd>lua vim.diagnostic.goto_next()<cr>', desc = 'go to next error in file' },
{ 'gh', '<cmd>lua vim.lsp.buf.hover()<cr>', desc = 'show hover info' }, { 'gh', '<cmd>lua vim.lsp.buf.hover()<cr>', desc = 'show hover info' },
{ 'gs', '<cmd>Gitsigns stage_hunk<cr>', desc = 'git stage hunk' }, { 'gs', '<cmd>Gitsigns stage_hunk<cr>', desc = 'git stage hunk' },
{ 'gt', '<cmd>lua vim.lsp.buf.type_definition()<cr>', desc = 'show/go to type definition' },
{ 'gD', '<cmd>lua vim.lsp.buf.declaration()<cr>', desc = 'show/go to declaration' }, { 'gD', '<cmd>lua vim.lsp.buf.declaration()<cr>', desc = 'show/go to declaration' },
{ 'gF', '<cmd>lua vim.lsp.buf.format()<cr>', desc = 'format file with LSP' }, { 'gF', '<cmd>lua vim.lsp.buf.format()<cr>', desc = 'format file with LSP' },
{ 'gI', '<cmd>lua vim.lsp.buf.implementation()<cr>', desc = 'show/go to implementation' }, { 'gI', '<cmd>lua vim.lsp.buf.implementation()<cr>', desc = 'show/go to implementation' },
{ 'gJ', '<cmd>TSJToggle<cr>', desc = 'split/join lines of code' }, { 'gJ', '<cmd>TSJToggle<cr>', desc = 'split/join lines of code' },
{ 'gL', '<cmd>lua vim.lsp.buf.references()<cr>', desc = 'show/go to referennces' }, { 'gR', '<cmd>lua vim.lsp.buf.references()<cr>', desc = 'show/go to referennces' },
{ 'gX', "<cmd>execute '/\\v^[<\\|=>]{7}/'<cr>", desc = 'find git conflicts in file' }, { 'gX', "<cmd>execute '/\\v^[<\\|=>]{7}/'<cr>", desc = 'find git conflicts in file' },
{ '<leader><Space>', '<cmd>e #<cr>', desc = 'alternate between last two buffers' }, { '<leader><Space>', '<cmd>e #<cr>', desc = 'alternate between last two buffers' },

View File

@ -22,9 +22,9 @@ alias vup='nvim --headless "+TSUpdateSync" +qa && nvim --headless "+Lazy! sync"
# work / dev related # work / dev related
alias nb='npm run build' alias nb='npm run build'
alias np='npm run lint && npm run production' alias np='npm run lint && npm run production'
alias nre='n engine > /dev/null && rm -f package-lock.json && rm -rf node_modules && npm install' alias nre='rm -f package-lock.json && rm -rf node_modules && npm install'
alias ns='npm start' alias ns='npm start'
alias yb='yarn build' alias yb='yarn build'
alias yp='yarn lint && yarn production' alias yp='yarn lint && yarn production'
alias yre='n engine > /dev/null && rm -f yarn.lock && rm -rf node_modules && yarn' alias yre='rm -f yarn.lock && rm -rf node_modules && yarn'
alias ys='yarn start' alias ys='yarn start'

View File

@ -20,7 +20,6 @@ export PAGER="less -F -i -J -M -R -W -x2 -X -z-4"
export HOMEBREW_CASK_OPTS="--appdir=/Applications" export HOMEBREW_CASK_OPTS="--appdir=/Applications"
export HOMEBREW_NO_ENV_HINTS=true export HOMEBREW_NO_ENV_HINTS=true
export FZF_DEFAULT_COMMAND="rg --files --hidden --follow --glob '!.git'" export FZF_DEFAULT_COMMAND="rg --files --hidden --follow --glob '!.git'"
export N_PREFIX="$HOME/n"; [[ :$PATH: == *":$N_PREFIX/bin:"* ]] || PATH+=":$N_PREFIX/bin"
export RIPGREP_CONFIG_PATH="$HOME/.ripgreprc" export RIPGREP_CONFIG_PATH="$HOME/.ripgreprc"
# Paths # Paths
@ -30,4 +29,3 @@ export PATH=/opt/homebrew/bin:$PATH
export PATH=/opt/homebrew/sbin:$PATH export PATH=/opt/homebrew/sbin:$PATH
export PATH=/opt/homebrew/opt/curl/bin:$PATH export PATH=/opt/homebrew/opt/curl/bin:$PATH
export PATH=/.local/bin:$PATH export PATH=/.local/bin:$PATH
export PATH=/.composer/vendor/bin:$PATH

1
.zshrc
View File

@ -31,3 +31,4 @@ source ~/.zsh/aliases.sh
source <(fzf --zsh) source <(fzf --zsh)
source <(starship init zsh) source <(starship init zsh)
source <(zoxide init zsh) source <(zoxide init zsh)
. /opt/homebrew/opt/asdf/libexec/asdf.sh

View File

@ -1,16 +1,20 @@
tap "homebrew/services" tap "homebrew/services"
tap "buo/cask-upgrade" tap "buo/cask-upgrade"
brew "asdf"
brew "bat" brew "bat"
brew "btop" brew "btop"
brew "coreutils"
brew "curl" brew "curl"
brew "fastfetch" brew "fastfetch"
brew "fd" brew "fd"
brew "ffmpeg" brew "ffmpeg"
brew "ffmpegthumbnailer" brew "ffmpegthumbnailer"
brew "fzf" brew "fzf"
brew "gawk"
brew "git" brew "git"
brew "git-delta" brew "git-delta"
brew "gpg"
brew "imagemagick" brew "imagemagick"
brew "isync" brew "isync"
brew "jq" brew "jq"
@ -18,7 +22,6 @@ brew "lazygit"
brew "mpv" brew "mpv"
brew "msmtp" brew "msmtp"
brew "mu" brew "mu"
brew "n"
brew "neomutt" brew "neomutt"
brew "neovim" brew "neovim"
brew "ocrmypdf" brew "ocrmypdf"
@ -41,13 +44,11 @@ brew "zsh"
cask "affinity-designer" cask "affinity-designer"
cask "affinity-photo" cask "affinity-photo"
cask "bambu-studio" cask "bambu-studio"
cask "citrix-workspace"
cask "firefox@esr" cask "firefox@esr"
cask "font-monaspace-nerd-font" cask "font-monaspace-nerd-font"
cask "font-symbols-only-nerd-font" cask "font-symbols-only-nerd-font"
cask "google-chrome" cask "google-chrome"
cask "hammerspoon" cask "hammerspoon"
cask "imageoptim"
cask "karabiner-elements" cask "karabiner-elements"
cask "microsoft-teams" cask "microsoft-teams"
cask "mountain-duck" cask "mountain-duck"
@ -62,7 +63,9 @@ cask "zen-browser"
# cask "blackhole-2ch" # cask "blackhole-2ch"
# cask "bruno" # cask "bruno"
# cask "carbon-copy-cloner" # cask "carbon-copy-cloner"
# cask "citrix-workspace"
# cask "forklift" # cask "forklift"
# cask "imageoptim"
# cask "kap" # cask "kap"
# cask "reaper" # cask "reaper"
# cask "sequel-ace" # cask "sequel-ace"

1914
scripts/Brewfile.lock.json Normal file

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,7 @@
# ------------------------------------------------------------- # # ------------------------------------------------------------- #
xcode-select --install xcode-select --install
sudo xcodebuild -license sudo xcodebuild -license accept
# set name of new computer # set name of new computer
sudo scutil --set ComputerName "mausohr" sudo scutil --set ComputerName "mausohr"
@ -49,8 +49,9 @@ exit
# ------------------------------------------------------------- # # ------------------------------------------------------------- #
# node, global tools and custom scripts # node, global tools and custom scripts
n lts asdf install nodejs latest
npm install -g neovim fkill-cli npm-check trash-cli yarn asdf global nodejs latest
npm install -g fkill-cli neovim npm npm-check trash-cli yarn
cd ~/Dotfiles/scripts/out && npm i -g cd ~/Dotfiles/scripts/out && npm i -g
cd ~/Dotfiles/scripts/gallery && npm i -g cd ~/Dotfiles/scripts/gallery && npm i -g