From 9b4fcca0cef6cd58f930697b8ce9934fe7035a02 Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Tue, 31 May 2022 09:56:37 +0200 Subject: [PATCH] put comment to ctrl slash --- lua/setup/my_command_center.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lua/setup/my_command_center.lua b/lua/setup/my_command_center.lua index 9d8eb91..e4a794f 100644 --- a/lua/setup/my_command_center.lua +++ b/lua/setup/my_command_center.lua @@ -204,6 +204,20 @@ command_center.add({ description = 'Github open PR in browser', cmd = 'Octo pr browser', }, + { + description = 'Comment line', + cmd = '(comment_toggle_current_linewise)', + keybindings = { + { 'n', '', silent_noremap }, + }, + }, + { + description = 'Comment line', + cmd = '(comment_toggle_linewise_visual)gv', + keybindings = { + { 'v', '', silent_noremap }, + }, + }, })