From: Samir Benmendil Date: Thu, 15 Sep 2016 14:28:54 +0000 (+0100) Subject: vim: co# should be local X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/c0b598b6e64399bf684b6ff0e2cc4adae2c479f2?ds=sidebyside vim: co# should be local --- 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