diff --git a/vimrc b/vimrc index 3be65c0..32a9192 100644 --- a/vimrc +++ b/vimrc @@ -41,6 +41,7 @@ nnoremap :call ACPToggleMargins() nnoremap :w nnoremap :call ACPActodoTodo() nnoremap :call ACPToggleSpellEnUs() +nnoremap :call ACPToggleWideMargins() nnoremap :call ACPAdocTodo() nnoremap :call ACPToggleSpellEnGb() nnoremap @@ -150,6 +151,10 @@ if has('eval') execute "set colorcolumn=" . (&colorcolumn == "0" ? "73,81" : "0") endfunction + function! ACPToggleWideMargins() + execute "set colorcolumn=" . (&colorcolumn == "0" ? "121" : "0") + endfunction + function! ACPToggleSpellEnUs() if &spell == 0 setlocal spell spelllang=en_us