From aeabdffa8870c2b90a32f53c1d0e5b63367a6e27 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Sun, 30 Jun 2024 17:20:44 -0500 Subject: Vim --- vim/downloads/opt/snippets/snippets.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 vim/downloads/opt/snippets/snippets.vim (limited to 'vim/downloads/opt') diff --git a/vim/downloads/opt/snippets/snippets.vim b/vim/downloads/opt/snippets/snippets.vim new file mode 100644 index 0000000..de15141 --- /dev/null +++ b/vim/downloads/opt/snippets/snippets.vim @@ -0,0 +1,6 @@ +autocmd FileType go + \ :iabbrev err@ if err != nil {} + +autocmd FileType go + \ :iabbrev fat@ log.Fatal(" %v", err)F%i + -- cgit v1.2.3