diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-11 17:48:42 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-11 17:48:42 +0200 |
commit | 0b3dfbfd98b311c6228f75e6d71d917fa9aa3785 (patch) | |
tree | 0a698b1ce8147542ee6930f0066adb0296dbd0d6 /after/ftplugin/c.lua | |
parent | d7a6755c559c9a5b296bdf65ce67112adef93edb (diff) |
checkpoint
Diffstat (limited to 'after/ftplugin/c.lua')
-rw-r--r-- | after/ftplugin/c.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/after/ftplugin/c.lua b/after/ftplugin/c.lua new file mode 100644 index 0000000..f3fcd6f --- /dev/null +++ b/after/ftplugin/c.lua @@ -0,0 +1,2 @@ +local map = vim.keymap.set +map("n", ",p", [[<cmd>s/\(\s*\)\(.\+\)/\1printf("\2: %d\\n", \2);<cr>]], { desc = "Surround var with printf" }) |