diff --git a/.config/nvim/lua/plugins/editing.lua b/.config/nvim/lua/plugins/editing.lua index e8cdc9f..21fa183 100644 --- a/.config/nvim/lua/plugins/editing.lua +++ b/.config/nvim/lua/plugins/editing.lua @@ -52,9 +52,9 @@ return { }, }, - { - "m4xshen/hardtime.nvim", - dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" }, - opts = {} - }, + -- { + -- "m4xshen/hardtime.nvim", + -- dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" }, + -- opts = {} + -- }, } diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index 3986e98..c7460f1 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua @@ -19,6 +19,17 @@ return { save_in_cmdline_history = false, } }, + { + "ThePrimeagen/refactoring.nvim", + dependencies = { + "nvim-lua/plenary.nvim", + "nvim-treesitter/nvim-treesitter", + }, + lazy = false, + config = function() + require("refactoring").setup() + end, + }, { "williamboman/mason.nvim", event = "VeryLazy", @@ -287,11 +298,15 @@ return { config = function() if vim.loop.os_uname().sysname == "Darwin" then vim.g.vimtex_view_method = 'skim' + vim.g.vimtex_view_skim_sync = 1 + vim.g.vimtex_view_skim_activate = 1 else vim.g.vimtex_view_method = 'zathura' end - vim.g.vimtex_compiler_method = 'generic' - vim.g.vimtex_compiler_generic = { command = 'ls *.tex | entr -n -c tectonic /_ --synctex --keep-logs' } + vim.g.vimtex_compiler_method = 'latexmk' + vim.g.vimtex_view_automatic = 0 + -- vim.g.vimtex_compiler_generic = { command = + -- 'ls *.tex | entr -n -c tectonic /_ --synctex --keep-intermediates --reruns 0' } end, }, { diff --git a/.config/nvim/lua/plugins/ui.lua b/.config/nvim/lua/plugins/ui.lua index 0ef0c75..d7b6034 100644 --- a/.config/nvim/lua/plugins/ui.lua +++ b/.config/nvim/lua/plugins/ui.lua @@ -26,7 +26,7 @@ return { }, size = { min_width = 60, - width = "auto", + width = "97%", height = "auto", }, }, @@ -46,6 +46,7 @@ return { }, }, presets = { + command_palette = true, long_message_to_split = true, -- long messages will be sent to a split inc_rename = true, -- enables an input dialog for inc-rename.nvim },