> 1) When working with multiple files (buffers) and switching away from > modified buffer, we usually get E37. Unless one of the following is > used: > - :hide <command_to_switch_buffer> > - :set hidden > - :set bufhidden=hide > - :set autowriteall > Which one of these methods is preferred?
It's a personal preference. Personally, I don't trust myself to use 'autowriteall'. When I want to leave buffers but keep their info, I personally use ":set hidden". However, most of the time I fly in the default setup and prefer to be cautioned that I've not saved a file. > 2) What tips do you have from own experience when working with > multiple files? Perhaps some comments on work approach? Having used vim since before tabs were added, I tend to just split off windows. I suspect (1) I'd use tabs more if I started out with them available and (2) that I use separate Vim-instance windows the way other folks use tabs. I juggle a mountain of projects/tasks, so each one runs in its own Vim, with its respective windows open as needed. Again, it's mostly a personal preference of working styles you tend to develop as you experiment. -tim --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
