On 2016-07-24 15:02, Bram Moolenaar wrote:
> " For all text files set 'textwidth' to 78 characters.
> autocmd FileType text setlocal textwidth=78
I'd object to that, autocommands are executed after ftplugins and would
overwrite user settings (unless the user creates an au to change it).
So a user who wants a different textwidth would have to riddle the vimrc
with autocommands or place them in a plugin/ file.
> Probably not:
>
> " these two leave files behind
> set backup
> set undofile
These two would be handy by default, imho, but with the addition of
a new default for &backupdir and &undodir:
set backupdir=~/tmp,~/.vim/backup,/tmp/vim-backup
set undodir=~/tmp,~/.vim/undo,/tmp/vim-undo
Or similar - as long as it doesn't include the pwd by default anymore,
since that is causing a lot of confusion with new users.
The same would be nice for the default &dir, which also puts the
swapfiles into the pwd instead of somewhere where it doesn't annoy the
user.
--
Viktoriastrasse 22
76133 Karlsruhe
Nr.: 0721 / 96 55 63 95
Mobile: 0178 / 53 17 067
Web: https://nelo.wallus.de/
/"\ ASCII Ribbon Campaign
\ / - against HTML emails
X - against proprietory attachments
/ \ http://en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.