From 9107047ab4db65f071a58f31b836a345e0e65907 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Wed, 15 Jan 2025 17:52:01 -0600 Subject: add keybind for deleting line in command mode --- lua/tjk/keybindings.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lua/tjk/keybindings.lua') diff --git a/lua/tjk/keybindings.lua b/lua/tjk/keybindings.lua index 563d843..4070949 100644 --- a/lua/tjk/keybindings.lua +++ b/lua/tjk/keybindings.lua @@ -44,3 +44,6 @@ key("v", ".", [[:normal .]]) -- save files with root permissions with command `w!!` key("c", "w!!", [[execute 'silent! write !doas tee % >/dev/null' edit!]]) + +-- command mode delete entire line with ctrl+d +key("c", "", [[]]) -- cgit v1.2.3