You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A minimal, nature-infused file picker for Neovim using the new extui window.
Inspired by forest spirits and the calm intuition of hunting, Artio helps you gently select files without the weight of heavy fuzzy-finder dependencies.
features
Requires Neovim >= 0.12
Lightweight picker window built on Neovim's extui
Prompt + list UI components - minimal and focused
Fuzzy filtering using matchfuzzy (built-in)
Icon support for common filetypes through mini.icons(optional)
require("artio").setup({
opts= {
preselect=true, -- whether to preselect the first matchbottom=true, -- whether to draw the prompt at the bottomshrink=true, -- whether the window should shrink to fit the matchespromptprefix="", -- prefix for the promptprompt_title=true, -- whether to draw the prompt titlepointer="", -- pointer for the selected matchuse_icons=true, -- requires mini.icons
},
win= {
height=12,
hidestatusline=false, -- works best with laststatus=3
},
-- NOTE: if you override the mappings, make sure to provide keys for all actionsmappings= {
["<down>"] ="down",
["<up>"] ="up",
["<cr>"] ="accept",
["<esc>"] ="cancel",
["<tab>"] ="mark",
["<c-l>"] ="togglepreview",
["<c-q>"] ="setqflist",
["<m-q>"] ="setqflistmark",
},
})
-- override built-in ui select with artiovim.ui.select=require("artio").selectvim.keymap.set("n", "<leader><leader>", "<Plug>(artio-files)")
vim.keymap.set("n", "<leader>fg", "<Plug>(artio-grep)")
-- smart file pickervim.keymap.set("n", "<leader>ff", "<Plug>(artio-smart)")
-- general built-in pickersvim.keymap.set("n", "<leader>fh", "<Plug>(artio-helptags)")
vim.keymap.set("n", "<leader>fb", "<Plug>(artio-buffers)")
vim.keymap.set("n", "<leader>f/", "<Plug>(artio-buffergrep)")
vim.keymap.set("n", "<leader>fo", "<Plug>(artio-oldfiles)")