<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ports/editors/vim/files, branch main</title>
<subtitle>FreeBSD ports tree</subtitle>
<id>https://cgit-dev.freebsd.org/ports/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/ports/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/'/>
<updated>2025-05-10T18:09:22Z</updated>
<entry>
<title>editors/vim: Update to 9.1.1378</title>
<updated>2025-05-10T18:09:22Z</updated>
<author>
<name>Adam Weinberger</name>
<email>adamw@FreeBSD.org</email>
</author>
<published>2025-05-10T18:09:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=4af95301c1c2b539d9cd59c14b14224d6b09525a'/>
<id>urn:sha1:4af95301c1c2b539d9cd59c14b14224d6b09525a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>editors/vim: Update to 9.0.1857</title>
<updated>2023-09-03T18:45:40Z</updated>
<author>
<name>Adam Weinberger</name>
<email>adamw@FreeBSD.org</email>
</author>
<published>2023-09-03T18:41:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=e1c732e1da80676cad7f322712c447541f96afa7'/>
<id>urn:sha1:e1c732e1da80676cad7f322712c447541f96afa7</id>
<content type='text'>
On 5 August, 2023, Bram Moolenaar, the long-time maintainer and
architect of Vim, passed away. In addition to being a legendary
software engineer and open-source advocate, he was a major
philanthropist. His impact on the OSS world was immense, as was
his dedication to speaking out for those whose voices are too
often missed.. The Vim project remains in good hands with the
Vim community.
</content>
</entry>
<entry>
<title>editors/vim: Update to 9.0.0981</title>
<updated>2022-12-01T13:22:01Z</updated>
<author>
<name>Adam Weinberger</name>
<email>adamw@FreeBSD.org</email>
</author>
<published>2022-12-01T13:22:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=0346db4debaa6b29513f935c2c236441c5a3fbe2'/>
<id>urn:sha1:0346db4debaa6b29513f935c2c236441c5a3fbe2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>editors/vim: Update to 9.0.0823</title>
<updated>2022-11-01T04:57:45Z</updated>
<author>
<name>Adam Weinberger</name>
<email>adamw@FreeBSD.org</email>
</author>
<published>2022-11-01T04:57:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=90eac1c42caf72dcb1d493c24d270d7cd4bb4864'/>
<id>urn:sha1:90eac1c42caf72dcb1d493c24d270d7cd4bb4864</id>
<content type='text'>
Also, update the sshd syntax file to recognize the preferred
UseBlocklist in addition to UseBlacklist.

PR:		267353
</content>
</entry>
<entry>
<title>editors/vim: Allow system vimrc, and include defaults.vim for vim-tiny</title>
<updated>2022-09-04T16:07:01Z</updated>
<author>
<name>Adam Weinberger</name>
<email>adamw@FreeBSD.org</email>
</author>
<published>2022-09-04T16:00:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=91ef78b58bbb458e079b717826f692984fc8100c'/>
<id>urn:sha1:91ef78b58bbb458e079b717826f692984fc8100c</id>
<content type='text'>
Two changes here (along with bumping to the latest upstream patch):

1) In the previous Vim commit, support for the system-wide vimrc/gvimrc
   was dropped because we went through contortions to fix loading order
   and monkey around with various defaults.

   However, many people used that file for their system. This commit
   re-adds support for loading it. All work for untangling the mess of
   loading defaults.vim and preventing circular loads is left to the
   user. We just support loading that file; what you do with it is your
   call.

2) vim-tiny is supposed to be the smallest possible Vim experience,
   being just the binary and no runtime library. However, without a
   viable defaults.vim, it's essentially just a larger, slower Vi.
   The vim-tiny package now ships with defaults.vim, which is patched
   to prevent errors from Vim loading the syntax library (which is not
   installed).
</content>
</entry>
<entry>
<title>editors/vim: Update to 9.0.0369, and drop the FreeBSD vimrc</title>
<updated>2022-09-03T18:03:52Z</updated>
<author>
<name>Adam Weinberger</name>
<email>adamw@FreeBSD.org</email>
</author>
<published>2022-09-03T17:56:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=a058c61ea36c0cb64a61c83563b55a157cf549f4'/>
<id>urn:sha1:a058c61ea36c0cb64a61c83563b55a157cf549f4</id>
<content type='text'>
Our FreeBSD vimrc has caused a lot of trouble. It seriously mangles
config loading order (see below PR for the 21 comments it took before
I could get my head around it), clobbers defaults, duplicates defaults,
and simply isn't how Vim does things.

In this patch, the system vimrc is dropped entirely. Instead,
$VIMRUNTIME/defaults.vim sources $VIMRUNTIME/defaults_freebsd.vim, which
contains only FreeBSD-specific settings (today, a convenience augroup
for port creation, and a flag to let syntax/sh.vim know that /bin/sh
isn't bash).

There is no perfect solution here, but by not clobbering anything
anymore, we at least don't *prevent* other solutions. You now get Vim's
defaults, and you are free to override them in your ~/.vimrc.

PR:		251420
</content>
</entry>
<entry>
<title>editors/vim: Add some explanatory comments to the vimrc</title>
<updated>2022-08-01T13:47:55Z</updated>
<author>
<name>Adam Weinberger</name>
<email>adamw@FreeBSD.org</email>
</author>
<published>2022-08-01T13:44:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=8380febbf30620bc0833a9eac823b54f4799ad49'/>
<id>urn:sha1:8380febbf30620bc0833a9eac823b54f4799ad49</id>
<content type='text'>
Our vimrc duplicates settings from $VIMRUNTIME/defaults.vim, which
appears odd.

However, it's actually required because of vim-tiny. vim-tiny installs
an empty defaults.vim stub, meaning that it only gets the settings that
appear in our vimrc.

PR:		265502
</content>
</entry>
<entry>
<title>editors/vim: Update to 8.2.5052 and fix vimrc clobbering</title>
<updated>2022-06-02T17:41:47Z</updated>
<author>
<name>Adam Weinberger</name>
<email>adamw@FreeBSD.org</email>
</author>
<published>2022-06-02T17:36:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=f27ea6b18516fad5be76ba20ce8f53f5ba9c1081'/>
<id>urn:sha1:f27ea6b18516fad5be76ba20ce8f53f5ba9c1081</id>
<content type='text'>
Vim runtime's defaults.vim will clobber global vimrc settings. It's
fine for the settings we provide, but other edits to that file can
get lost.

To work around this, defaults.vim is now directly sourced and a flag
is set to stop that file from getting loaded a second time. Thanks go
to Anton Saietskii for that bit of magic.

PR:	251420
</content>
</entry>
<entry>
<title>all: Remove all other $FreeBSD keywords.</title>
<updated>2021-04-06T14:31:13Z</updated>
<author>
<name>Mathieu Arnold</name>
<email>mat@FreeBSD.org</email>
</author>
<published>2021-04-06T14:21:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=135fdeebb99c3569e42d8162b265e15d29bd937d'/>
<id>urn:sha1:135fdeebb99c3569e42d8162b265e15d29bd937d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vim: Simplify patch</title>
<updated>2019-08-03T17:33:02Z</updated>
<author>
<name>Adam Weinberger</name>
<email>adamw@FreeBSD.org</email>
</author>
<published>2019-08-03T17:33:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=24478a28af09fbe674ad8f19ded48a128af6f4b6'/>
<id>urn:sha1:24478a28af09fbe674ad8f19ded48a128af6f4b6</id>
<content type='text'>
</content>
</entry>
</feed>
