🪴 my neovim config:)
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: use updated gift-wrap with init loading

robin 3cb3d989 98a3c57d

+12 -17
+6 -10
config/after/plugin/grep.lua config/plugin/grep.lua
··· 1 + if vim.g.loaded_grep then 2 + return 3 + end 4 + 5 + vim.g.loaded_grep = true 6 + 1 7 local function grep(props) 2 8 local grepcmd, n = vim.o.grepprg:gsub("%$%*", props.args) 3 9 if n == 0 then ··· 53 59 local line = string.gsub(lines[1], "<", [[<lt>]]) 54 60 return ":Grep " .. line 55 61 end, { noremap = true, silent = false, expr = true }) 56 - 57 - vim.keymap.set("n", "<leader>/", ":Grep ", { noremap = true, silent = false }) 58 - vim.keymap.set("x", "<leader>/", function() 59 - local lines = vim.fn.getregion(vim.fn.getpos("v"), vim.fn.getpos("."), { type = vim.api.nvim_get_mode().mode }) 60 - if #lines ~= 1 then 61 - return ":Grep " 62 - end 63 - local line = string.gsub(lines[1], "<", [[<lt>]]) 64 - return ":Grep " .. line 65 - end, { noremap = true, silent = false, expr = true })
+3 -3
config/after/plugin/winbar.lua config/plugin/winbar.lua
··· 9 9 } 10 10 vim.g.winbar_config = vim.tbl_deep_extend("force", winbar.default, vim.g.winbar_config or {}) 11 11 12 - if vim.g.winbar_loaded then 12 + if vim.g.loaded_winbar then 13 13 return 14 14 end 15 15 16 - vim.g.winbar_loaded = true 16 + vim.g.loaded_winbar = true 17 17 18 18 vim.api.nvim_create_autocmd( 19 19 { "DirChanged", "CursorMoved", "BufWinEnter", "BufFilePost", "InsertEnter", "BufWritePost" }, ··· 36 36 37 37 local name = vim.api.nvim_buf_get_name(buf) 38 38 local m = string.match(name, "^%w+://") 39 - if m ~= "file://" then 39 + if m and m ~= "file://" then 40 40 return 41 41 end 42 42
-1
config/plugin/init.lua
··· 1 - require("ivy")
+3 -3
flake.lock
··· 28 28 ] 29 29 }, 30 30 "locked": { 31 - "lastModified": 1753903035, 32 - "narHash": "sha256-dWn9oY2kSh6ZtQWH6Bs6UZR+wsLj0Pctj9AB0U4hlRA=", 31 + "lastModified": 1754944253, 32 + "narHash": "sha256-qZI/Q6qkVsypLWGTiDd7S/KNtUw1s5GIYDTWjht03h8=", 33 33 "owner": "tgirlcloud", 34 34 "repo": "gift-wrap", 35 - "rev": "48a6f04e6fa2d2dd150118a9dff73b30eb42df87", 35 + "rev": "355a1147070d80daa66f7a66904d08d048f80676", 36 36 "type": "github" 37 37 }, 38 38 "original": {