From 3dc493ff7e889bcf82884921ca64ebae57201f7c Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Wed, 13 Apr 2022 22:41:05 +0200 Subject: [PATCH] command center added --- lua/my_plugins.lua | 7 ++++++- lua/setup/my_command_center.lua | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 lua/setup/my_command_center.lua diff --git a/lua/my_plugins.lua b/lua/my_plugins.lua index 136d2bd..9328926 100644 --- a/lua/my_plugins.lua +++ b/lua/my_plugins.lua @@ -165,7 +165,12 @@ return require('packer').startup(function() }) use({ 'akinsho/toggleterm.nvim', - config = get_setup('toggleterm') + config = get_setup('toggleterm'), + }) + use({ + 'gfeiyou/command-center.nvim', + requires = { 'nvim-telescope/telescope.nvim' }, + config = get_setup('my_command_center'), }) if packer_bootstrap then require('packer').sync() diff --git a/lua/setup/my_command_center.lua b/lua/setup/my_command_center.lua new file mode 100644 index 0000000..4be83c3 --- /dev/null +++ b/lua/setup/my_command_center.lua @@ -0,0 +1,5 @@ +require("telescope").load_extension('command_center') + +local command_center = require("command_center") +local noremap = {noremap = true} +local silent_noremap = {noremap = true, silent = true}