diff --git a/lua/core/remap.lua b/lua/core/remap.lua index bf7093c..97c7f89 100644 --- a/lua/core/remap.lua +++ b/lua/core/remap.lua @@ -53,4 +53,4 @@ vim.api.nvim_set_keymap("n", "vl", ":exec 'w' loadview ", ":exec 'w'", {silent = true}) -- r for redo -vim.api.nvim_set_keymap("n", "r", ":exec 'w ", {silent = true}) +vim.api.nvim_set_keymap("n", "r", ":exec 'w' ", {silent = true}) diff --git a/lua/plugin/noice.lua b/lua/plugin/noice.lua index 63bd18c..534948f 100644 --- a/lua/plugin/noice.lua +++ b/lua/plugin/noice.lua @@ -5,6 +5,9 @@ return { config = function() require("noice").setup({ lsp = { + progress = { + enabled = false, + }, -- override markdown rendering so that **cmp** and other plugins use **Treesitter** override = { ["vim.lsp.util.convert_input_to_markdown_lines"] = true, @@ -20,6 +23,10 @@ return { inc_rename = false, -- enables an input dialog for inc-rename.nvim lsp_doc_border = false, -- add a border to hover docs and signature help }, + messages = { + enabled = false, + view = "cmdline", + } }) end, dependencies = { diff --git a/lua/plugin/telescope.lua b/lua/plugin/telescope.lua index 84a4353..09a5d2a 100644 --- a/lua/plugin/telescope.lua +++ b/lua/plugin/telescope.lua @@ -4,6 +4,18 @@ return { lazy = true, cmd = "Telescope", version = false, + config = function() + require('telescope').setup({ + pickers = { + find_files = { + layout_config = { + prompt_position = 'top', + }, + sorting_strategy = 'ascending', + }, + }, + }) + end, keys = { { ":", "Telescope command_history", desc = "Command History" }, { ",", "Telescope buffers show_all_buffers=true", desc = "Switch Buffer" }, @@ -11,7 +23,7 @@ return { { "ff", "Telescope find_files", desc = "Find Files" }, { "fb", "Telescope current_buffer_fuzzy_find", desc = "Find Strings in current Buffer" }, { "fg", "Telescope live_grep", desc = "Grep Content in Files" }, - { "/", "Telescope current_buffer_fuzzy_find", desc = "Find Strings in current Buffer" }, + { "/", "Telescope current_buffer_fuzzy_find", desc = "Find Strings in current Buffer" }, { "fh", "Telescope grep_string", desc = "Grep currently hovered String" }, { "fG", "Telescope git_files", desc = "Find Git Files" }, { "fk", "Telescope keymaps", desc = "List Keymaps" },