diff --git a/lua/config/keymap.lua b/lua/config/keymap.lua index 3c1911b..495eaa4 100644 --- a/lua/config/keymap.lua +++ b/lua/config/keymap.lua @@ -321,7 +321,7 @@ local function toggle_conceal() end end - +-- eval "$(tmux showenv -s DISPLAY)" -- normal mode with wk.add({ { @@ -335,6 +335,8 @@ wk.add({ { "d", group = "[d]ebug" }, { "dt", group = "[t]est" }, { "e", group = "[e]dit" }, + { "e", group = "[t]mux" }, + { "fd", [[eval "$(tmux showenv -s DISPLAY)"]], desc = "[d]isplay fix" }, { "f", group = "[f]ind (telescope)" }, { "f", "Telescope buffers", desc = "[ ] buffers" }, { "fM", "Telescope man_pages", desc = "[M]an pages" }, @@ -363,7 +365,7 @@ wk.add({ { "gws", ":lua require('telescope').extensions.git_worktree.git_worktrees()", desc = "worktree switch" }, { "h", group = "[h]elp / [h]ide / debug" }, { "hc", group = "[c]onceal" }, - { "hc", toggle_conceal, desc = "[c]onceal toggle" }, + { "hc", toggle_conceal, desc = "[c]onceal toggle" }, { "ht", group = "[t]reesitter" }, { "htt", vim.treesitter.inspect_tree, desc = "show [t]ree" }, { "i", group = "[i]mage" }, diff --git a/lua/plugins/common.lua b/lua/plugins/common.lua index 6b341f6..5325ac4 100644 --- a/lua/plugins/common.lua +++ b/lua/plugins/common.lua @@ -7,8 +7,8 @@ return { lazy = false, opts = { styles = {}, - bigfile = { enabled = true }, - notifier = { enabled = true }, + bigfile = { enabled = true, notify = false }, + notifier = { enabled = false }, quickfile = { enabled = true }, statuscolumn = { enabled = false }, words = { enabled = false }, diff --git a/lua/plugins/completion.lua b/lua/plugins/completion.lua index 0c4ff8d..09b743a 100644 --- a/lua/plugins/completion.lua +++ b/lua/plugins/completion.lua @@ -27,14 +27,14 @@ return { 'jmbuhr/cmp-pandoc-references', dev = false, ft = { 'quarto', 'markdown', 'rmarkdown' }, - -- config = function() - -- vim.api.nvim_create_autocmd('FileType', { - -- pattern = { "markdown", "quarto", "rmarkdown" }, - -- callback = function() - -- require('cmp-pandoc-references.lsp').start() - -- end - -- }) - -- end + config = function() + -- vim.api.nvim_create_autocmd('FileType', { + -- pattern = { "markdown", "quarto", "rmarkdown" }, + -- callback = function() + -- require('cmp-pandoc-references.lsp').start() + -- end + -- }) + end }, { 'hrsh7th/cmp-emoji' }, { 'kdheepak/cmp-latex-symbols' }, diff --git a/lua/plugins/ui.lua b/lua/plugins/ui.lua index c889450..68c97e5 100644 --- a/lua/plugins/ui.lua +++ b/lua/plugins/ui.lua @@ -3,11 +3,14 @@ return { { -- nice quickfix list 'stevearc/quicker.nvim', event = "FileType qf", - opts = {}, - }, - { -- more qf improvements - 'romainl/vim-qf' + opts = { + winfixheight = false, + wrap = true, + }, }, + -- { -- more qf improvements + -- 'romainl/vim-qf' + -- }, -- telescope -- a nice seletion UI also to find and open files @@ -229,7 +232,7 @@ return { 'nvim-tree/nvim-tree.lua', enabled = true, keys = { - { '', ':NvimTreeToggle', desc = 'toggle nvim-tree' }, + { 'ft', ':NvimTreeToggle', desc = 'toggle file [t]ree' }, }, config = function() require('nvim-tree').setup {