From 0ba5b094d199bd06f42f96c3c8904bfe2589c05c Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 31 Oct 2023 07:12:24 -0500 Subject: [PATCH] feat(nvim): add keybind to realign tables --- dots/.config/nvim/lua/plugins/configs/vim-table-mode.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dots/.config/nvim/lua/plugins/configs/vim-table-mode.lua b/dots/.config/nvim/lua/plugins/configs/vim-table-mode.lua index 652a5cac..b24a30cd 100644 --- a/dots/.config/nvim/lua/plugins/configs/vim-table-mode.lua +++ b/dots/.config/nvim/lua/plugins/configs/vim-table-mode.lua @@ -1,7 +1,10 @@ return { { "dhruvasagar/vim-table-mode", - init = function () + keys = { + { ";;", "TableModeRealign", desc = "Table Mode: Realign" } + }, + init = function() vim.g.table_mode_always_active = 1 vim.g.table_mode_header_fillchar = '-' end