IIUC, you should use :setlocal noexpandtab
or, if you prefer it in every file you can :set noexpandtab in your ~/.vimrc Please, read this as well: :help set :help setlocal :help expandtab Anton. 2008/10/6, pwnb0t <[EMAIL PROTECTED]>: > > I searched and did not find a valid answer to what I'm trying to do. > > When I press enter on an indented line (say, line 1), it takes me to > line 2 with the proper indentation. If I press enter again without > changing line 2, it takes me to line 3 with the proper indentation on > line 3, but the problem is that all tabs are now missing on line 2. > How do I get vim to leave the tabs rather than deleting them? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
