lots of polishing and command mode works again
This commit is contained in:
@@ -36,13 +36,5 @@ return {
|
||||
end,
|
||||
desc = "Treesitter Search",
|
||||
},
|
||||
{
|
||||
"<leader><c-s>",
|
||||
mode = { "c" },
|
||||
function()
|
||||
require("flash").toggle()
|
||||
end,
|
||||
desc = "Toggle Flash Search",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
return { "nvim-neorg/neorg-telescope" }
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user