diff --git a/vimrc b/vimrc index a5163ed..fcfac73 100755 --- a/vimrc +++ b/vimrc @@ -108,10 +108,8 @@ au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/ highlight BadWhitespace ctermbg=red guibg=red -" F2 and F3 for tabs vs spaces -nnoremap :set et retab -nnoremap :set noet retab! -imap :set et retab -imap :set noet retab! +" F2 to alternate between tabs & spaces +nnoremap :set invet retab! +imap :set invet retab!i