From 759c16b101c2c9bdd359a79971e577c488ef1ff7 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 25 Dec 2023 10:40:56 -0600 Subject: [PATCH] refactor(nvim): remove toggle cmdline binding --- dots/.config/nvim/lua/core/mappings.lua | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/dots/.config/nvim/lua/core/mappings.lua b/dots/.config/nvim/lua/core/mappings.lua index 4817030c..4fe353af 100755 --- a/dots/.config/nvim/lua/core/mappings.lua +++ b/dots/.config/nvim/lua/core/mappings.lua @@ -64,16 +64,6 @@ M.setup = function() end end, { silent = true, desc = "LSP: Toggle Diagnostics" }) - -- Toggle showing command bar - vim.keymap.set("n", "sc", function() - local current_cmdheight = vim.opt.cmdheight:get() - if current_cmdheight > 0 then - vim.opt.cmdheight = 0 - else - vim.opt.cmdheight = 1 - end - end, { silent = true, desc = "Toggle Cmdline" }) - -- Toggle relativenumber vim.keymap.set("n", "sn", function() vim.opt.relativenumber = not vim.opt.relativenumber:get()