From e69fce27eeae3419bd33ace5e514efd910e4e2ac Mon Sep 17 00:00:00 2001 From: kkard2 Date: Thu, 7 May 2026 18:00:21 +0200 Subject: cleanup --- nvim/ftplugin/php.lua | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 nvim/ftplugin/php.lua (limited to 'nvim/ftplugin') diff --git a/nvim/ftplugin/php.lua b/nvim/ftplugin/php.lua deleted file mode 100644 index 8d7c165..0000000 --- a/nvim/ftplugin/php.lua +++ /dev/null @@ -1,11 +0,0 @@ -local copy_indent_macro = "^\"_d0" -- clear current indentation - .. "?." -- find first non-empty line above - .. "noh" -- clear highlight - .. "^\"yy0" -- copy indentation to y register - .. "0" -- return to original line - .. "\"yP" -- paste y register - .. "a" -- enter insert mode - -vim.keymap.set({ "n" }, "o", "o" .. copy_indent_macro, { buffer = 0 }) -vim.keymap.set({ "n" }, "O", "O" .. copy_indent_macro, { buffer = 0 }) -vim.keymap.set({ "i" }, "", "" .. copy_indent_macro, { buffer = 0 }) -- cgit v1.3.1