From e0d1f648f8a905d9a3d71541684a6e36ed0a02d6 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 1 Sep 2022 20:23:38 +0200 Subject: [PATCH] nvim: add table-mode --- .config/nvim/lua/my/plugins.lua | 4 ++++ .config/nvim/lua/my/tools.lua | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.config/nvim/lua/my/plugins.lua b/.config/nvim/lua/my/plugins.lua index 8a8b8c0..e662e62 100644 --- a/.config/nvim/lua/my/plugins.lua +++ b/.config/nvim/lua/my/plugins.lua @@ -119,6 +119,10 @@ require('packer').startup({ function(use) 'https://github.com/kylechui/nvim-surround', tag = '*' } + use { + 'https://github.com/dhruvasagar/vim-table-mode', + tag = '*' + } -- coding use { diff --git a/.config/nvim/lua/my/tools.lua b/.config/nvim/lua/my/tools.lua index b06cf23..5933d4f 100644 --- a/.config/nvim/lua/my/tools.lua +++ b/.config/nvim/lua/my/tools.lua @@ -121,3 +121,5 @@ map('n', '', mind.open_main, 'Open main mind') map('n', '', mind.open_project, 'Open project mind') -- = require('nvim-surround').setup({}) + +vim.g.table_mode_map_prefix = nil -- disable keymaps