lots of polishing and command mode works again

This commit is contained in:
2026-02-14 13:59:36 +00:00
parent ea9e351c83
commit 83e835bf41
7 changed files with 25 additions and 14 deletions

View File

@@ -36,13 +36,5 @@ return {
end,
desc = "Treesitter Search",
},
{
"<leader><c-s>",
mode = { "c" },
function()
require("flash").toggle()
end,
desc = "Toggle Flash Search",
},
},
}

View File

@@ -28,6 +28,11 @@ return {
require("mini.notify").setup({
window = { winblend = 0 },
}) -- Better Notifications
vim.notify = MiniNotify.make_notify({
ERROR = { duration = 5000 },
WARN = { duration = 4000 },
INFO = { duration = 3000 },
})
require("mini.surround").setup() -- Suround selections with characters
require("mini.move").setup({
mappings = {

View File

@@ -1 +0,0 @@
return { "nvim-neorg/neorg-telescope" }

View File

@@ -10,7 +10,6 @@ return {
extensions = {
file_browser = {
theme = "ivy",
-- disables netrw and use telescope-file-browser in its place
hijack_netrw = true,
},
["ui-select"] = {
@@ -27,7 +26,11 @@ return {
end, { desc = "Telescope find files (current file dir)" })
vim.keymap.set("n", "<space>fn", function()
require("telescope").extensions.file_browser.file_browser()
local full_path = vim.api.nvim_buf_get_name(0)
local dir = vim.fn.fnamemodify(full_path, ":h")
require("telescope").extensions.file_browser.file_browser({
path = dir,
})
end)
vim.keymap.set("n", "<space>fs", function() -- select sessions