diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-08-29 18:49:00 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-08-29 18:49:00 +0900 |
| commit | 4c2e322fcd11c88a65e743d77b7e5d5d8f18be5b (patch) | |
| tree | e5c0c50b49cbe45dabc02df8b559292086cc963f | |
| parent | 86cff1f2b16670e1cfc2d40b359c057c29025165 (diff) | |
modified core/options.lua, modified plugins/telescope.lua, modified plugins/wiki.lua, modified aerospace/aerospace.toml, modified bin/rgafiles
| -rw-r--r-- | mac/.config/TheSiahxyz/lua/TheSiahxyz/core/options.lua | 1 | ||||
| -rw-r--r-- | mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/telescope.lua | 8 | ||||
| -rw-r--r-- | mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/wiki.lua | 1 | ||||
| -rw-r--r-- | mac/.config/aerospace/aerospace.toml | 2 | ||||
| -rwxr-xr-x | mac/.local/bin/rgafiles | 4 |
5 files changed, 13 insertions, 3 deletions
diff --git a/mac/.config/TheSiahxyz/lua/TheSiahxyz/core/options.lua b/mac/.config/TheSiahxyz/lua/TheSiahxyz/core/options.lua index a4b373f..895f9ee 100644 --- a/mac/.config/TheSiahxyz/lua/TheSiahxyz/core/options.lua +++ b/mac/.config/TheSiahxyz/lua/TheSiahxyz/core/options.lua @@ -9,6 +9,7 @@ vim.g.have_nerd_font = true -- vim.g.loaded_netrwPlugin = 1 vim.g.mapleader = " " vim.g.maplocalleader = "\\" +vim.g.python3_host_prog = vim.fn.expand("~/.local/share/venvs/nvim/bin/python") vim.o.sessionoptions = "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions" vim.opt.backup = false vim.opt.breakindent = true diff --git a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/telescope.lua b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/telescope.lua index 9e60e98..b7d87c6 100644 --- a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/telescope.lua +++ b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/telescope.lua @@ -660,6 +660,14 @@ return { "--follow", "--hidden", "--sortr=modified", + "--glob", + "!**/.cache/*/*/*", + "--glob", + "!**/.git/*/*/*", + "--glob", + "!**/.next/*/*/*", + "--glob", + "!**/node_modules/*/*/*", }, }, }, diff --git a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/wiki.lua b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/wiki.lua index e856256..07a115c 100644 --- a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/wiki.lua +++ b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/wiki.lua @@ -1,6 +1,7 @@ return { { "vimwiki/vimwiki", + cmd = { "VimwikiIndex" }, init = function() local wk = require("which-key") wk.add({ diff --git a/mac/.config/aerospace/aerospace.toml b/mac/.config/aerospace/aerospace.toml index cf05f08..0ff9551 100644 --- a/mac/.config/aerospace/aerospace.toml +++ b/mac/.config/aerospace/aerospace.toml @@ -115,7 +115,7 @@ on-focus-changed = ['move-mouse window-lazy-center'] alt-e = 'exec-and-forget kitty -o close_on_child_death=yes -o confirm_os_window_close=0 --title "neomutt" -e env EDITOR="nvim -u ~/.config/nvim/init.lua" neomutt' alt-shift-e = 'exec-and-forget open -na "Microsoft Outlook"' alt-m = 'exec-and-forget open -na "YouTube Music"' - alt-o = 'exec-and-forget open -na Docker' + alt-o = 'exec-and-forget open -na Docker Desktop' alt-r = 'exec-and-forget kitty -o close_on_child_death=yes -o confirm_os_window_close=0 --title "htop" -e htop' alt-s = 'exec-and-forget kitty -o close_on_child_death=yes -o confirm_os_window_close=0 --title "newsboat" -e newsboat' alt-t = 'exec-and-forget open -na "Microsoft Teams"' diff --git a/mac/.local/bin/rgafiles b/mac/.local/bin/rgafiles index ea02fc9..b7af594 100755 --- a/mac/.local/bin/rgafiles +++ b/mac/.local/bin/rgafiles @@ -32,7 +32,7 @@ search_term() { # Construct the preview command preview_cmd=$(printf "rga %s --pretty --context 10 '%s' {}" "$case_flag" "$*") - rga_output=$(rga --follow --no-ignore --hidden --text --max-count=1 ${case_flag:+$case_flag} --files-with-matches --no-messages --glob '!**/.git/*' "$*") + rga_output=$(rga --follow --no-ignore --hidden --text --max-count=1 ${case_flag:+$case_flag} --files-with-matches --no-messages --glob '!**/.git/*' --glob '!**/.next/*' --glob '!**/node_modules/*' "$*") # Use fzf to select files files=$(echo "$rga_output" | fzf-tmux +m --preview="$preview_cmd" --reverse --multi --select-1 --exit-0) || return 1 @@ -64,7 +64,7 @@ list_or_open_project_files() { rga_output="" for path in $project_paths; do if [ -d "$path" ]; then - rga_result=$(rga --follow --no-ignore --hidden --text --max-count=1 --files-with-matches --no-messages --glob '!**/.git/*' "$project_tag" "$path") + rga_result=$(rga --follow --no-ignore --hidden --text --max-count=1 --files-with-matches --no-messages --glob '!**/.git/*' --glob '!**/.next/*' --glob '!**/node_modules/*' "$project_tag" "$path") rga_output="$rga_output $rga_result" fi done |
