31 lines
1.1 KiB
Lua
31 lines
1.1 KiB
Lua
return {
|
|
{
|
|
"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.
|
|
}
|
|
},
|
|
}
|
|
}
|