From 454f6d833fe074c5165051998b55e3058cbaaefa Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 29 Aug 2019 11:05:30 +0200 Subject: [bindings] quickkeys for textwidth --- vimrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index e5a38f8..d378f2e 100644 --- a/vimrc +++ b/vimrc @@ -179,8 +179,9 @@ nmap :windo set invrelativenumber "nmap :setlocal foldcolumn+=1:execute 'setlocal foldlevel='.(&foldcolumn - 2) "nmap :windo set foldcolumn-=1 "nmap :windo set foldcolumn+=1 -nmap :set textwidth-=1 -nmap :set textwidth+=1 +nmap :set textwidth-=1\|set tw() +nmap :set textwidth=80\|set tw +nmap :set textwidth+=1\|set tw " open all "nmap zR " close all -- cgit v1.2.3