small config and plugin changes

This commit is contained in:
Alexander Gehrke 2025-07-31 11:24:50 +02:00
parent 523fedae4e
commit e317dca789
8 changed files with 60 additions and 36 deletions

View file

@ -1,7 +1,31 @@
return {
"euclio/vim-markdown-composer",
build = "cargo build --release",
enabled = function()
return vim.fn.executable("cargo")
end,
{
"euclio/vim-markdown-composer",
build = "cargo build --release",
enabled = function()
return vim.fn.executable("cargo")
end,
},
{
'SCJangra/table-nvim',
ft = 'markdown',
opts = {
mappings = {
next = '<TAB>', -- Go to next cell.
prev = '<S-TAB>', -- Go to previous cell.
insert_row_up = '<A-t>k', -- Insert a row above the current row.
insert_row_down = '<A-t>j', -- Insert a row below the current row.
move_row_up = '<A-t>K', -- Move the current row up.
move_row_down = '<A-t>J', -- Move the current row down.
insert_column_left = '<A-t>h', -- Insert a column to the left of current column.
insert_column_right = '<A-t>l', -- Insert a column to the right of current column.
move_column_left = '<A-t>H', -- Move the current column to the left.
move_column_right = '<A-t>L', -- Move the current column to the right.
insert_table = '<A-t>t', -- Insert a new table.
insert_table_alt = '<A-t>T', -- Insert a new table that is not surrounded by pipes.
delete_column = '<A-t>d', -- Delete the column under cursor.
}
},
}
}