Age | Commit message (Collapse) | Author |
|
|
|
|
|
Problem: Users who type "q:" instead of ":q" are confused.
Solution: Add an autocmd to give a message that explains this is the
command-line window. (Egor Zvorykin, closes #9146)
|
|
|
|
Problem: Filetype.vim may be loaded twice.
Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz,
closes #7049)
|
|
|
|
Problem: Cannot use system copy/paste in non-xterm terminals.
Solution: Instead of setting 'mouse' to "a" set it to "nvi" in defaults.vim.
|
|
|
|
Problem: When built without +eval "Vim --clean" produces errors. (James
McCoy)
Solution: Do not enable filetype detection.
|
|
|
|
Problem: The cursor position is set to the last position in a new commit
message.
Solution: Don't set the position if the filetype matches "commit".
(Christian Brabandt)
|
|
Problem: Setting nocompatible for the tiny version moves the cursor.
Solution: Use another trick to skip commands when the +eval feature is
present. (Christian Brabandt, closes #1630)
|
|
Problem: Defaults.vim does not work well with tiny features. (crd477)
Solution: When the +eval feature is not available always reset 'compatible'.
|
|
Problem: Resetting 'compatible' in defaults.vim has unexpected side
effects. (David Fishburn)
Solution: Only reset 'compatible' if it was set.
|
|
Problem: No way for a system wide vimrc to stop loading defaults.vim.
(Christian Hesse)
Solution: Bail out of defaults.vim if skip_defaults_vim was set.
|
|
|
|
Problem: New users have no idea of the 'scrolloff' option.
Solution: Set 'scrolloff' in defaults.vim.
|
|
Problem: The 'langnoremap' option leads to double negatives. And it does
not work for the last character of a mapping.
Solution: Add 'langremap' with the opposite value. Keep 'langnoremap' for
backwards compatibility. Make it work for the last character of a
mapping. Make the test work.
|
|
Problem: The default ttimeoutlen is very long.
Solution: Use "100". (Hirohito Higashi)
|
|
Problem: Loading defaults.vim with -C argument.
Solution: Don't load the defaults script with -C argument. Test sourcing
the defaults script. Set 'display' to "truncate".
|
|
Problem: Defaults are very conservative.
Solution: Move settings from vimrc_example.vim to defaults.vim. Load
defaults.vim if no .vimrc was found.
|