···1515vim.keymap.set('n', 'sS', ':Telescope lsp_document_symbols<CR>')
1616vim.keymap.set('n', 'so', ':Telescope lsp_document_symbols<CR>')
1717vim.keymap.set('n', 'go', ':Telescope lsp_document_symbols<CR>')
1818-vim.keymap.set('n', 'sg', ':GFiles<CR>')
1818+vim.keymap.set('n', 'sg', function()
1919+ vim.ui.input({ prompt = "File filter (e.g. *.md, hypr/): " }, function(input)
2020+ if not input or input == "" then return end
2121+ local pattern = input
2222+ if input:match("/$") then
2323+ pattern = input .. "**"
2424+ end
2525+ require("telescope.builtin").live_grep({ glob_pattern = pattern })
2626+ end)
2727+end, { desc = "Filtered grep (file pattern first, then search)" })
1928vim.keymap.set('n', 'sG', ':GFiles?<CR>')
2029vim.keymap.set('n', 'sr', ':History<CR>')
2130vim.keymap.set('n', 'gr', ':Telescope lsp_references<CR>')
···3847-- vim.keymap.set('n', 'sp', function() Snacks.picker.smart() end, { desc = "Grep" })
3948vim.keymap.set('n', 'sf', function() Snacks.picker.grep() end, { desc = "Grep" })
4049-- Two-step grep: specify file/dir filter, then live search within matches
4141-vim.keymap.set('n', 'sG', function()
4242- vim.ui.input({ prompt = "File filter (e.g. *.md, hypr/): " }, function(input)
4343- if not input or input == "" then return end
4444- local pattern = input
4545- if input:match("/$") then
4646- pattern = input .. "**"
4747- end
4848- require("telescope.builtin").live_grep({ glob_pattern = pattern })
4949- end)
5050-end, { desc = "Filtered grep (file pattern first, then search)" })
5150vim.keymap.set('n', '<leader>ft', function() Snacks.picker.resume() end, { desc = "Resume Find" })
5251-- vim.keymap.set('n', 'sf', ':Telescope live_grep<CR>') --search for typing string
5352vim.keymap.set('n', 'sw', ':Telescope grep_string<CR>') --search for word/string under cursor
+2-2
zsh/.dotfiles/zsh/configs.shrc
···6363eval "$(mise activate)"
64646565# Custom FZF keybindings - must be AFTER fzf is sourced to override defaults
6666-# Ctrl+f to fuzzy find files by name and open in nvim
6666+# C-F: Ctrl+f to fuzzy find files by name and open in nvim
6767fzf-file-widget() {
6868 local file
6969 file=$(find . -type f 2>/dev/null | fzf) && nvim "$file"
···7171zle -N fzf-file-widget
7272bindkey '^F' fzf-file-widget
73737474-# Ctrl+g to search file contents with fzf and open in nvim at the line
7474+# C-G: Ctrl+g to search file contents with fzf and open in nvim at the line
7575fzfvim-widget() {
7676 local result file line
7777 result=$(rg --line-number --color=always . | fzf --ansi)