Skip to content

Commit

Permalink
clenaup
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Dec 9, 2024
1 parent 607fff1 commit 354c1b6
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 15 deletions.
6 changes: 4 additions & 2 deletions lua/config/keymap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ local function toggle_conceal()
end
end


-- eval "$(tmux showenv -s DISPLAY)"
-- normal mode with <leader>
wk.add({
{
Expand All @@ -335,6 +335,8 @@ wk.add({
{ "<leader>d", group = "[d]ebug" },
{ "<leader>dt", group = "[t]est" },
{ "<leader>e", group = "[e]dit" },
{ "<leader>e", group = "[t]mux" },
{ "<leader>fd", [[eval "$(tmux showenv -s DISPLAY)"]], desc = "[d]isplay fix" },
{ "<leader>f", group = "[f]ind (telescope)" },
{ "<leader>f<space>", "<cmd>Telescope buffers<cr>", desc = "[ ] buffers" },
{ "<leader>fM", "<cmd>Telescope man_pages<cr>", desc = "[M]an pages" },
Expand Down Expand Up @@ -363,7 +365,7 @@ wk.add({
{ "<leader>gws", ":lua require('telescope').extensions.git_worktree.git_worktrees()<cr>", desc = "worktree switch" },
{ "<leader>h", group = "[h]elp / [h]ide / debug" },
{ "<leader>hc", group = "[c]onceal" },
{ "<leader>hc", toggle_conceal, desc = "[c]onceal toggle" },
{ "<leader>hc", toggle_conceal, desc = "[c]onceal toggle" },
{ "<leader>ht", group = "[t]reesitter" },
{ "<leader>htt", vim.treesitter.inspect_tree, desc = "show [t]ree" },
{ "<leader>i", group = "[i]mage" },
Expand Down
4 changes: 2 additions & 2 deletions lua/plugins/common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down
12 changes: 6 additions & 6 deletions lua/plugins/completion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ return {
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
})
-- vim.api.nvim_create_autocmd('FileType', {
-- pattern = { "markdown", "quarto", "rmarkdown" },
-- callback = function()
-- require('cmp-pandoc-references.lsp').start()
-- end
-- })
end
},
{ 'hrsh7th/cmp-emoji' },
Expand Down
13 changes: 8 additions & 5 deletions lua/plugins/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -229,7 +232,7 @@ return {
'nvim-tree/nvim-tree.lua',
enabled = true,
keys = {
{ '<c-b>', ':NvimTreeToggle<cr>', desc = 'toggle nvim-tree' },
{ '<leader>ft', ':NvimTreeToggle<cr>', desc = 'toggle file [t]ree' },
},
config = function()
require('nvim-tree').setup {
Expand Down

0 comments on commit 354c1b6

Please sign in to comment.