summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/tjk/keybindings.lua3
1 files changed, 3 insertions, 0 deletions
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 .<CR>]])
-- save files with root permissions with command `w!!`
key("c", "w!!", [[execute 'silent! write !doas tee % >/dev/null' <bar> edit!]])
+
+-- command mode delete entire line with ctrl+d
+key("c", "<C-d>", [[<C-E><C-U>]])