From 5f39958f598bd5a4a961e5eb7c41a23484ba28f6 Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Sun, 12 May 2024 21:32:24 +0200 Subject: [PATCH] Adding sections is now less of a pain in the ass --- viml/automacro.vim | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/viml/automacro.vim b/viml/automacro.vim index afa6fc9..7858399 100644 --- a/viml/automacro.vim +++ b/viml/automacro.vim @@ -1 +1,9 @@ " predefined macros in functions +function SpacedLine() + normal o + normal O + normal O + normal j +endfunction + +nnoremap o :call SpacedLine()