From c0b598b6e64399bf684b6ff0e2cc4adae2c479f2 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Thu, 15 Sep 2016 15:28:54 +0100 Subject: [PATCH] vim: co# should be local --- vim/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/vimrc b/vim/vimrc index cd91036..de47d4c 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -468,7 +468,7 @@ nnoremap [oe :set expandtab nnoremap ]oe :set noexpandtab for idt in range(1,8) - exe 'nnoremap co'.idt.' :set tabstop='.idt.' shiftwidth='.idt.' softtabstop='.idt.'' + exe 'nnoremap co'.idt.' :setlocal tabstop='.idt.' shiftwidth='.idt.' softtabstop='.idt.'' endfor " toggle auto format of text -- 2.48.1