🪴 my neovim config:)
1
fork

Configure Feed

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

plugins: purge fzf

robin e722ea25 b47bca9c

+1 -164
+1
config/config/artio.lua
··· 25 25 vim.keymap.set("n", "<leader>fb", "<Plug>(artio-buffers)") 26 26 vim.keymap.set("n", "<leader>f/", "<Plug>(artio-buffergrep)") 27 27 vim.keymap.set("n", "<leader>fC", "<Plug>(artio-colorschemes)") 28 + vim.keymap.set("n", "<leader>fq", "<Plug>(artio-quickfix)") 28 29 29 30 vim.keymap.set("n", "<leader>fz", function() 30 31 local lst = require("artio.utils").make_cmd("zoxide query -l")()
-145
config/config/fzf.lua
··· 1 - local theme = { 2 - { "default-title" }, 3 - winopts = { 4 - row = 1, 5 - col = 0, 6 - width = 1, 7 - height = 0.4, 8 - backdrop = 100, 9 - title_pos = "left", 10 - border = { "", "─", "", "", "", "", "", "" }, 11 - preview = { 12 - layout = "horizontal", 13 - title_pos = "right", 14 - border = function(_, m) 15 - if m.type == "fzf" then 16 - return "single" 17 - else 18 - assert(m.type == "nvim" and m.name == "prev" and type(m.layout) == "string", "no border set") 19 - local b = { "┌", "─", "┐", "│", "┘", "─", "└", "│" } 20 - if m.layout == "down" then 21 - b[1] = "├" --top right 22 - b[3] = "┤" -- top left 23 - elseif m.layout == "up" then 24 - b[7] = "├" -- bottom left 25 - b[6] = "" -- remove bottom 26 - b[5] = "┤" -- bottom right 27 - elseif m.layout == "left" then 28 - b[3] = "┬" -- top right 29 - b[5] = "┴" -- bottom right 30 - b[6] = "" -- remove bottom 31 - else -- right 32 - b[1] = "┬" -- top left 33 - b[7] = "┴" -- bottom left 34 - b[6] = "" -- remove bottom 35 - end 36 - return b 37 - end 38 - end, 39 - }, 40 - }, 41 - } 42 - 43 - local up = { 44 - row = 1, 45 - col = 0, 46 - width = 1, 47 - height = theme.winopts.height * 2, 48 - preview = { 49 - layout = "vertical", 50 - vertical = "up:50%", 51 - border = vim.o.winborder, 52 - }, 53 - } 54 - 55 - theme.blines = { winopts = up, previewer = { toggle_behavior = "extend" } } 56 - theme.lines = theme.blines 57 - theme.grep = theme.blines 58 - theme.grep_curbuf = theme.blines 59 - theme.git = { blame = { winopts = up }, commits = { winopts = up } } 60 - theme.quickfix = theme.blines 61 - theme.builtin = { winopts = theme.winopts } 62 - theme.colorschemes = { winopts = vim.tbl_deep_extend("force", theme.winopts, { 63 - height = 6, 64 - }) } 65 - 66 - local opts = { 67 - fzf_opts = { 68 - ["--layout"] = "reverse-list", 69 - ["--info"] = "inline-right", 70 - ["--no-separator"] = "", 71 - ["--padding"] = "0", 72 - }, 73 - fzf_colors = true, 74 - file_icon_padding = " ", 75 - prompt = " ", 76 - previewer = "builtin", 77 - files = { 78 - cwd_prompt = false, 79 - previewer = false, 80 - git_icons = false, 81 - }, 82 - grep_curbuf = { 83 - winopts = { 84 - treesitter = true, 85 - }, 86 - }, 87 - keymaps = { 88 - previewer = false, 89 - }, 90 - file_ignore_patterns = { 91 - "%.age", 92 - "%.cache", 93 - "%.class", 94 - "%.dart_tool/", 95 - "%.dll", 96 - "%.docx", 97 - "%.dylib", 98 - "%.exe", 99 - "%.git/", 100 - "%.gradle/", 101 - "%.ico", 102 - "%.idea/", 103 - "%.ipynb", 104 - "%.jar", 105 - "%.jpeg", 106 - "%.jpg", 107 - "%.lock", 108 - "%.luac", 109 - "%.met", 110 - "%.min.js", 111 - "%.npz", 112 - "%.otf", 113 - "%.pdb", 114 - "%.pdf", 115 - "%.png", 116 - "%.pyc", 117 - "%.settings/", 118 - "%.so", 119 - "%.sqlite3", 120 - "%.ttf", 121 - "%.vale/", 122 - "%.vscode/", 123 - "%.webp", 124 - ".direnv/", 125 - ".direnv/*", 126 - "__pycache__/", 127 - "__pycache__/*", 128 - "_sources/", 129 - "build/", 130 - "env/", 131 - "gradle/", 132 - "node_modules/", 133 - "node_modules/*", 134 - "smalljre_*/*", 135 - "target/", 136 - "tmp/", 137 - "vendor/*", 138 - }, 139 - } 140 - 141 - require("fzf-lua").setup(vim.tbl_deep_extend("force", theme, opts)) 142 - 143 - vim.keymap.set("n", "<leader>ff", require("fzf-lua").files, { desc = "find files" }) 144 - vim.keymap.set("n", "<leader>fq", require("fzf-lua").quickfix, { desc = "search quick fix list" }) 145 - vim.keymap.set("n", "<leader>fc", require("fzf-lua").git_commits, { desc = "git commits" })
-4
config/lua/ivy/plugins/init.lua
··· 21 21 }, 22 22 23 23 { 24 - "fzf-lua", 25 - event = "UIEnter", 26 - }, 27 - { 28 24 "artio", 29 25 lazy = false, 30 26 deps = { "mini" },
-13
pkgs/ivy-plugins/npins/sources.json
··· 146 146 "url": "https://github.com/tpope/vim-fugitive/archive/61b51c09b7c9ce04e821f6cf76ea4f6f903e3cf4.tar.gz", 147 147 "hash": "sha256-u39oObHCXk8uew5HyVdV1Z69Viilv3B7x1SUJxYXYLo=" 148 148 }, 149 - "fzf": { 150 - "type": "Git", 151 - "repository": { 152 - "type": "GitHub", 153 - "owner": "ibhagwan", 154 - "repo": "fzf-lua" 155 - }, 156 - "branch": "main", 157 - "submodules": false, 158 - "revision": "b56cd2ffbce57bfd9133a645bd02cd86895a7e3f", 159 - "url": "https://github.com/ibhagwan/fzf-lua/archive/b56cd2ffbce57bfd9133a645bd02cd86895a7e3f.tar.gz", 160 - "hash": "sha256-yJDCvEqrQI2iIVLrjBVjK4WrfXuI9Yj+dtrj368mA5Q=" 161 - }, 162 149 "jamjar": { 163 150 "type": "Git", 164 151 "repository": {
-2
pkgs/ivy/package.nix
··· 9 9 10 10 # path, see there explanation below 11 11 fd, 12 - fzf, 13 12 ripgrep, 14 13 inotify-tools, 15 14 ··· 218 217 extraPackages = flatten [ 219 218 [ 220 219 # external deps 221 - fzf 222 220 fd 223 221 ripgrep 224 222 ]