summaryrefslogtreecommitdiffstats
path: root/runtime/defaults.vim
AgeCommit message (Collapse)Author
2023-08-13Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)Christian Brabandt
* Dedicate upcoming Vim 9.1 to Bram Also replace in a few more places Brams email address and mention new maintainers. * Remove Bram from any Maintainer role * runtime: Align Header * it's mailing list not mailinglist
2023-08-10Update the vimscript code for restoring cursor positionDragan Simic' via vim_dev
Using xxd(1) to filter and edit binary files causes the input files to have dual nature, so to speak, which effectively makes restoring the cursor position broken. Fix that by ignoring the "xxd" file type in the code that restores the cursor position. Interactive rebasing in git causes files to be edited in vim, which, similarly to commit messages, are rarely the same as the last one edited. Thus, also add "gitrebase" to the list of file types for which the cursor position isn't restored. While there, refactor the code a bit to possibly save a few CPU cycles and to keep the line lengths in check, and use the long form of the commands and variables, to make the code slightly more consistent and more understandable to newcomers. Update the relevant comments in the code and the associated parts of the documentation, to keep them in sync with the updated code. Remove some redundant trailing whitespace as well, as spotted.
2023-08-09defaults.vim: Update comment to simplify reverting augroupBalki
closes: #12673
2023-05-14Update runtime filesBram Moolenaar
2023-05-10patch 9.0.1537: message for opening the cmdline window is not translatedv9.0.1537Bram Moolenaar
Problem: Message for opening the cmdline window is not translated. Solution: Add gettext() and scan the defaults script for text to be translated. (closes #12371)
2022-03-08Update runtime filesBram Moolenaar
2021-11-21Update runtime filesBram Moolenaar
2021-11-17patch 8.2.3608: users who type "q:" instead of ":q" are confusedv8.2.3608Egor Zvorykin
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)
2020-10-11Update runtime files.Bram Moolenaar
2020-09-30patch 8.2.1776: filetype.vim may be loaded twicev8.2.1776Bram Moolenaar
Problem: Filetype.vim may be loaded twice. Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz, closes #7049)
2019-11-02Update runtime files.Bram Moolenaar
2019-10-27patch 8.1.2226: cannot use system copy/paste in non-xterm terminalsv8.1.2226Bram Moolenaar
Problem: Cannot use system copy/paste in non-xterm terminals. Solution: Instead of setting 'mouse' to "a" set it to "nvi" in defaults.vim.
2019-10-16Update runtime files.Bram Moolenaar
2019-02-18patch 8.1.0948: when built without +eval "Vim --clean" produces errorsv8.1.0948Bram Moolenaar
Problem: When built without +eval "Vim --clean" produces errors. (James McCoy) Solution: Do not enable filetype detection.
2019-02-03Update runtime files.Bram Moolenaar
2017-06-13patch 8.0.0639: the cursor position is set when editing a new commit messagev8.0.0639Bram Moolenaar
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)
2017-04-15patch 8.0.0566: setting nocompatible for the tiny version moves the cursorv8.0.0566Bram Moolenaar
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)
2017-04-01patch 8.0.0534: defaults.vim does not work well with tiny featuresv8.0.0534Bram Moolenaar
Problem: Defaults.vim does not work well with tiny features. (crd477) Solution: When the +eval feature is not available always reset 'compatible'.
2017-03-16patch 8.0.0463: side effects from resetting 'compatible' in defaults.vimv8.0.0463Bram Moolenaar
Problem: Resetting 'compatible' in defaults.vim has unexpected side effects. (David Fishburn) Solution: Only reset 'compatible' if it was set.
2016-09-03patch 7.4.2319v7.4.2319Bram Moolenaar
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.
2016-08-30Updated runtime files. Remove version checks for Vim older than 6.0.Bram Moolenaar
2016-08-28patch 7.4.2278v7.4.2278Bram Moolenaar
Problem: New users have no idea of the 'scrolloff' option. Solution: Set 'scrolloff' in defaults.vim.
2016-08-21patch 7.4.2236v7.4.2236Bram Moolenaar
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.
2016-08-20patch 7.4.2232v7.4.2232Bram Moolenaar
Problem: The default ttimeoutlen is very long. Solution: Use "100". (Hirohito Higashi)
2016-07-29patch 7.4.2115v7.4.2115Bram Moolenaar
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".
2016-07-28patch 7.4.2111v7.4.2111Bram Moolenaar
Problem: Defaults are very conservative. Solution: Move settings from vimrc_example.vim to defaults.vim. Load defaults.vim if no .vimrc was found.