From 0ed05ecfd8754ce207c2a5f594345718246c9e7d Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 9 May 2023 15:17:07 +0100 Subject: [PATCH] Fix TODO and set textwidth --- vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 28d773f..3d38c31 100644 --- a/vimrc +++ b/vimrc @@ -29,8 +29,9 @@ inoremap inoremap ^ inoremap $ inoremap :w -inoremap #*TODO:*# +inoremap TODO: inoremap =strftime('%Y-%m-%dT%H:%M') +inoremap #*TODO:*# inoremap inoremap inoremap @@ -149,10 +150,12 @@ if has('eval') function! ACPToggleMargins() execute "set colorcolumn=" . (&colorcolumn == "0" ? "73,81" : "0") + execute "set textwidth=" . (&textwidth == "0" ? "80" : "0") endfunction function! ACPToggleWideMargins() execute "set colorcolumn=" . (&colorcolumn == "0" ? "121" : "0") + execute "set textwidth=" . (&textwidth == "0" ? "120" : "0") endfunction function! ACPToggleSpellEnUs()