summaryrefslogtreecommitdiff
path: root/lua/tjk
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2025-01-15 17:52:01 -0600
committerTim Keller <tjkeller.xyz>2025-01-15 17:52:01 -0600
commit9107047ab4db65f071a58f31b836a345e0e65907 (patch)
tree1f9f32a550733a552828c2361057e124be97d91f /lua/tjk
parent1e970a0b7faa5791b4f58c13c4c59063cc63cf6e (diff)
downloadnvim-master.tar.xz
nvim-master.zip
add keybind for deleting line in command modeHEADmaster
Diffstat (limited to 'lua/tjk')
-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>]])