-
-
Notifications
You must be signed in to change notification settings - Fork 688
Fix macOS services no longer able to insert texts in non-Visual modes #1571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ychin
merged 1 commit into
macvim-dev:master
from
ychin:fix-shortcut-services-text-input
Mar 28, 2025
Merged
Fix macOS services no longer able to insert texts in non-Visual modes #1571
ychin
merged 1 commit into
macvim-dev:master
from
ychin:fix-shortcut-services-text-input
Mar 28, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closed
7 tasks
Interactions with OS services that insert texts were improved in macvim-dev#1552 to make it work in a more integrated fashion instead of a hacky injection of 's' followed by the text. However, it only accounted for services that replaces selected texts in visual mode. In other modes, MacVim would simply ignore the service. This was a regression as previously it would work everywhere (albeit often times in a non-intuitive manner since if used in insert mode the user would see an 's' in the beginning). This also affects Shortcuts that a user may have made that could be invoked from the Services menu or bound to a hotkey. Fix this properly by allowing this to be used in Normal / Insert / Cmdline modes in addition to Visual mode. Even with this fix, there is still a slight difference between the new behavior and the old hacky solution - the old method would leave the user in Insert mode, whereas the new method would stay in Normal mode. I think this is an improvement so no need to fix. Fix macvim-dev#1569
ebb9518 to
7cb3ab5
Compare
ychin
added a commit
that referenced
this pull request
Oct 29, 2025
Updated to Vim 9.1.1887 This update is still built against macOS 15 Sequoia, and does not contain any specific fixes or improvements for macOS 26 Tahoe. That will come in a future update. Announcements ==================== Moving macOS 10.13 - 10.15 support to legacy release -------------------- Currently, MacVim binary releases are available in two versions: a normal version (macOS 10.13 or above), and a legacy version (macOS 10.9-10.12). Starting next release (r183), the normal version will require macOS 11 or above (due to Xcode 26 requirements), and macOS 10.13-10.15 users will need to use the legacy version instead. This will mostly be a transparent change, and the updater will automatically update to the right version. The legacy version should be almost identical to said users as they are using older versions of macOS that can't make use of newer OS features to begin with. In the future we may remove support for macOS 10.9-10.12 but for now they are still supported. Features ==================== Better mouse support -------------------- - Scroll wheels should feel much better to use in MacVim. A small scroll is now guaranteed to scroll at least one line, and shift-scrolling (horizontal scroll) works correctly now. You can now also turn off macOS's scroll wheel acceleration to scroll a fixed amount of lines in the "Input" settings pane. #1566 - Mouse buttons 4 and 5 can now be bound to `<X1Mouse>` and `<X2Mouse>` in Vim mappings (`:h X1Mouse`). #1534 New Vim Features ==================== - Diff mode improvements - Vim diff can now highlight per-character or per-word differences within a line. Per-character highlighting is now used by default. See `:h diffopt` under "inline". v9.1.1242 - Diff anchors allow for more explicit controls over how and where the diff algorithm aligns text across files (`:h diff-anchors`). v9.1.1557 - Lots of auto-completion improvements. Some highlights below: - New option: `autocomplete`. Get completion suggestions as you type. See `:h ins-autocompletion`. v9.1.1590 - Fuzzy matching now uses the fzf algorithm. v9.1.1627 - Popup menu borders can now be styled (`:h pumborder` / `:h completepopup`). v9.1.1835 / v9.1.1856 - Can now specify a custom completion source when using insert-mode completion (`:h 'complete'`). v9.1.1301 - `set completeopt+=nearest` will sort completion items by proximity to the cursor. v9.1.1308 - Command-line completion - Search commands like `/` and `:g` can be tab-completed now. v9.1.1490 v9.1.1526 - Commands like `:filetype` and `:highlight` have better auto-completion. v9.1.1340 / v9.1.1138 - New vertical tab panel. v9.1.1490 - new bundled optional plugins (use `packadd` to enable them): - hlyank (`:h package-hlyank`): Briefly highlight region of last yank command - new commands: - `:uniq` (`:h :uniq`): Remove duplicate adjacent lines v9.1.1477 General ==================== - Sparkle (updater for MacVim) is now updated to 2.8.0. #1605 Security Fixes ==================== - Fixed MacVim erroneously setting the get-task-allow entitlement, which could allow another user-installed application to inspect it (CVE-2025-8597) #1585 Fixes ==================== - Fixed issue where macOS services (available in the "Services" menu) could not insert text when not in visual mode. #1571 #1569 - Fixed issue where guifont did not accept PostScript names with underscores (e.g. "CascadiaMono-Regular_Light"). #1600 - MacVim now uses the standard `v:colornames` variable for choosing highlight colors. #1568 - Vim syntax now understands MacVim-specific function `showdefinition()`. #1601 Compatibility ==================== Requires macOS 10.9 or above. (10.9 - 10.12 requires downloading a separate legacy build) Script interfaces have compatibility with these versions: - Lua 5.4 - Perl 5.34 - Python2 2.7 - Python3 3.9 or above - Ruby 3.4
ychin
added a commit
that referenced
this pull request
Oct 29, 2025
Updated to Vim 9.1.1887 This update is still built against macOS 15 Sequoia, and does not contain any specific fixes or improvements for macOS 26 Tahoe. That will come in a future update. Announcements ==================== Moving macOS 10.13 - 10.15 support to legacy release -------------------- Currently, MacVim binary releases are available in two versions: a normal version (macOS 10.13 or above), and a legacy version (macOS 10.9-10.12). Starting next release (r183), the normal version will require macOS 11 or above (due to Xcode 26 requirements), and macOS 10.13-10.15 users will need to use the legacy version instead. This will mostly be a transparent change, and the updater will automatically update to the right version. The legacy version should be almost identical to said users as they are using older versions of macOS that can't make use of newer OS features to begin with. In the future we may remove support for macOS 10.9-10.12 but for now they are still supported. Features ==================== Better mouse support -------------------- - Scroll wheels should feel much better to use in MacVim. A small scroll is now guaranteed to scroll at least one line, and shift-scrolling (horizontal scroll) works correctly now. You can now also turn off macOS's scroll wheel acceleration to scroll a fixed amount of lines in the "Input" settings pane. #1566 - Mouse buttons 4 and 5 can now be bound to `<X1Mouse>` and `<X2Mouse>` in Vim mappings (`:h X1Mouse`). #1534 New Vim Features ==================== - Diff mode improvements - Vim diff can now highlight per-character or per-word differences within a line. Per-character highlighting is now used by default. See `:h diffopt` under "inline". v9.1.1242 - Diff anchors allow for more explicit controls over how and where the diff algorithm aligns text across files (`:h diff-anchors`). v9.1.1557 - Lots of auto-completion improvements. Some highlights below: - New option: `autocomplete`. Get completion suggestions as you type. See `:h ins-autocompletion`. v9.1.1590 - Fuzzy matching now uses the fzf algorithm. v9.1.1627 - Popup menu borders can now be styled (`:h pumborder` / `:h completepopup`). v9.1.1835 / v9.1.1856 - Can now specify a custom completion source when using insert-mode completion (`:h 'complete'`). v9.1.1301 - `set completeopt+=nearest` will sort completion items by proximity to the cursor. v9.1.1308 - Command-line completion - Search commands like `/` and `:g` can be tab-completed now. v9.1.1490 v9.1.1526 - Commands like `:filetype` and `:highlight` have better auto-completion. v9.1.1340 / v9.1.1138 - New vertical tab panel. v9.1.1490 - new bundled optional plugins (use `packadd` to enable them): - hlyank (`:h package-hlyank`): Briefly highlight region of last yank command - new commands: - `:uniq` (`:h :uniq`): Remove duplicate adjacent lines v9.1.1477 General ==================== - Sparkle (updater for MacVim) is now updated to 2.8.0. #1605 Security Fixes ==================== - Fixed MacVim erroneously setting the get-task-allow entitlement, which could allow another user-installed application to inspect it (CVE-2025-8597) #1585 Fixes ==================== - Fixed issue where macOS services (available in the "Services" menu) could not insert text when not in visual mode. #1571 #1569 - Fixed issue where guifont did not accept PostScript names with underscores (e.g. "CascadiaMono-Regular_Light"). #1600 - MacVim now uses the standard `v:colornames` variable for choosing highlight colors. #1568 - Vim syntax now understands MacVim-specific function `showdefinition()`. #1601 Compatibility ==================== Requires macOS 10.9 or above. (10.9 - 10.12 requires downloading a separate legacy build) Script interfaces have compatibility with these versions: - Lua 5.4 - Perl 5.34 - Python2 2.7 - Python3 3.9 or above - Ruby 3.4
ychin
added a commit
that referenced
this pull request
Oct 29, 2025
Updated to Vim 9.1.1887 This update is still built against macOS 15 Sequoia, and does not contain any specific fixes or improvements for macOS 26 Tahoe. That will come in a future update. Announcements ==================== Moving macOS 10.13 - 10.15 support to legacy release -------------------- Currently, MacVim binary releases are available in two versions: a normal version (macOS 10.13 or above), and a legacy version (macOS 10.9-10.12). Starting next release (r183), the normal version will require macOS 11 or above (due to Xcode 26 requirements), and macOS 10.13-10.15 users will need to use the legacy version instead. This will mostly be a transparent change, and the updater will automatically update to the right version. The legacy version should be almost identical to said users as they are using older versions of macOS that can't make use of newer OS features to begin with. In the future we may remove support for macOS 10.9-10.12 but for now they are still supported. Features ==================== Better mouse support -------------------- - Scroll wheels should feel much better to use in MacVim. A small scroll is now guaranteed to scroll at least one line, and shift-scrolling (horizontal scroll) works correctly now. You can now also turn off macOS's scroll wheel acceleration to scroll a fixed amount of lines in the "Input" settings pane. #1566 - Mouse buttons 4 and 5 can now be bound to `<X1Mouse>` and `<X2Mouse>` in Vim mappings (`:h X1Mouse`). #1534 New Vim Features ==================== - Diff mode improvements - Vim diff can now highlight per-character or per-word differences within a line. Per-character highlighting is now used by default. See `:h diffopt` under "inline". v9.1.1242 - Diff anchors allow for more explicit controls over how and where the diff algorithm aligns text across files (`:h diff-anchors`). v9.1.1557 - Lots of auto-completion improvements. Some highlights below: - New option: `autocomplete`. Get completion suggestions as you type. See `:h ins-autocompletion`. v9.1.1590 - Fuzzy matching now uses the fzf algorithm. v9.1.1627 - Popup menu borders can now be styled (`:h pumborder` / `:h completepopup`). v9.1.1835 / v9.1.1856 - Can now specify a custom completion source when using insert-mode completion (`:h 'complete'`). v9.1.1301 - `set completeopt+=nearest` will sort completion items by proximity to the cursor. v9.1.1308 - Command-line completion - Search commands like `/` and `:g` can be tab-completed now. v9.1.1490 v9.1.1526 - Commands like `:filetype` and `:highlight` have better auto-completion. v9.1.1340 / v9.1.1138 - New vertical tab panel. v9.1.1490 - new bundled optional plugins (use `packadd` to enable them): - hlyank (`:h package-hlyank`): Briefly highlight region of last yank command - new commands: - `:uniq` (`:h :uniq`): Remove duplicate adjacent lines v9.1.1477 General ==================== - Sparkle (updater for MacVim) is now updated to 2.8.0. #1605 Security Fixes ==================== - Fixed MacVim erroneously setting the get-task-allow entitlement, which could allow another user-installed application to inspect it (CVE-2025-8597) #1585 Fixes ==================== - Fixed issue where macOS services (available in the "Services" menu) could not insert text when not in visual mode. #1571 #1569 - Fixed issue where guifont did not accept PostScript names with underscores (e.g. "CascadiaMono-Regular_Light"). #1600 - MacVim now uses the standard `v:colornames` variable for choosing highlight colors. #1568 - Vim syntax now understands MacVim-specific function `showdefinition()`. #1601 Compatibility ==================== Requires macOS 10.9 or above. (10.9 - 10.12 requires downloading a separate legacy build) Script interfaces have compatibility with these versions: - Lua 5.4 - Perl 5.34 - Python2 2.7 - Python3 3.9 or above - Ruby 3.4
ychin
added a commit
that referenced
this pull request
Oct 29, 2025
Updated to Vim 9.1.1887 This update is still built against macOS 15 Sequoia, and does not contain any specific fixes or improvements for macOS 26 Tahoe. That will come in a future update. Announcements ==================== Moving macOS 10.13 - 10.15 support to legacy release -------------------- Currently, MacVim binary releases are available in two versions: a normal version (macOS 10.13 or above), and a legacy version (macOS 10.9-10.12). Starting next release (r183), the normal version will require macOS 11 or above (due to Xcode 26 requirements), and macOS 10.13-10.15 users will need to use the legacy version instead. This will mostly be a transparent change, and the updater will automatically update to the right version. The legacy version should be almost identical to said users as they are using older versions of macOS that can't make use of newer OS features to begin with. In the future we may remove support for macOS 10.9-10.12 but for now they are still supported. Features ==================== Better mouse support -------------------- - Scroll wheels should feel much better to use in MacVim. A small scroll is now guaranteed to scroll at least one line, and shift-scrolling (horizontal scroll) works correctly now. You can now also turn off macOS's scroll wheel acceleration to scroll a fixed amount of lines in the "Input" settings pane. #1566 - Mouse buttons 4 and 5 can now be bound to `<X1Mouse>` and `<X2Mouse>` in Vim mappings (`:h X1Mouse`). #1534 New Vim Features ==================== - Diff mode improvements - Vim diff can now highlight per-character or per-word differences within a line. Per-character highlighting is now used by default. See `:h diffopt` under "inline". v9.1.1242 - Diff anchors allow for more explicit controls over how and where the diff algorithm aligns text across files (`:h diff-anchors`). v9.1.1557 - Lots of auto-completion improvements. Some highlights below: - New option: `autocomplete`. Get completion suggestions as you type. See `:h ins-autocompletion`. v9.1.1590 - Fuzzy matching now uses the fzf algorithm. v9.1.1627 - Popup menu borders can now be styled (`:h pumborder` / `:h completepopup`). v9.1.1835 / v9.1.1856 - Can now specify a custom completion source when using insert-mode completion (`:h 'complete'`). v9.1.1301 - `set completeopt+=nearest` will sort completion items by proximity to the cursor. v9.1.1308 - Command-line completion - Search commands like `/` and `:g` can be tab-completed now. v9.1.1490 v9.1.1526 - Commands like `:filetype` and `:highlight` have better auto-completion. v9.1.1340 / v9.1.1138 - New vertical tab panel. v9.1.1490 - new bundled optional plugins (use `packadd` to enable them): - hlyank (`:h package-hlyank`): Briefly highlight region of last yank command - new commands: - `:uniq` (`:h :uniq`): Remove duplicate adjacent lines v9.1.1477 General ==================== - Sparkle (updater for MacVim) is now updated to 2.8.0. #1605 Security Fixes ==================== - Fixed MacVim erroneously setting the get-task-allow entitlement, which could allow another user-installed application to inspect it (CVE-2025-8597) #1585 Fixes ==================== - Fixed issue where macOS services (available in the "Services" menu) could not insert text when not in visual mode. #1571 #1569 - Fixed issue where guifont did not accept PostScript names with underscores (e.g. "CascadiaMono-Regular_Light"). #1600 - MacVim now uses the standard `v:colornames` variable for choosing highlight colors. #1568 - Vim syntax now understands MacVim-specific function `showdefinition()`. #1601 Compatibility ==================== Requires macOS 10.9 or above. (10.9 - 10.12 requires downloading a separate legacy build) Script interfaces have compatibility with these versions: - Lua 5.4 - Perl 5.34 - Python2 2.7 - Python3 3.9 or above - Ruby 3.4
ychin
added a commit
that referenced
this pull request
Oct 29, 2025
Updated to Vim 9.1.1887 This update is still built against macOS 15 Sequoia, and does not contain any specific fixes or improvements for macOS 26 Tahoe. That will come in a future update. Announcements ==================== Moving macOS 10.13 - 10.15 support to legacy release -------------------- Currently, MacVim binary releases are available in two versions: a normal version (macOS 10.13 or above), and a legacy version (macOS 10.9-10.12). Starting next release (r183), the normal version will require macOS 11 or above (due to Xcode 26 requirements), and macOS 10.13-10.15 users will need to use the legacy version instead. This will mostly be a transparent change, and the updater will automatically update to the right version. The legacy version should be almost identical to said users as they are using older versions of macOS that can't make use of newer OS features to begin with. In the future we may remove support for macOS 10.9-10.12 but for now they are still supported. Features ==================== Better mouse support -------------------- - Scroll wheels should feel much better to use in MacVim. A small scroll is now guaranteed to scroll at least one line, and shift-scrolling (horizontal scroll) works correctly now. You can now also turn off macOS's scroll wheel acceleration to scroll a fixed amount of lines in the "Input" settings pane. #1566 - Mouse buttons 4 and 5 can now be bound to `<X1Mouse>` and `<X2Mouse>` in Vim mappings (`:h X1Mouse`). #1534 New Vim Features ==================== - Diff mode improvements - Vim diff can now highlight per-character or per-word differences within a line. Per-character highlighting is now used by default. See `:h diffopt` under "inline". v9.1.1242 - Diff anchors allow for more explicit controls over how and where the diff algorithm aligns text across files (`:h diff-anchors`). v9.1.1557 - Lots of auto-completion improvements. Some highlights below: - New option: `autocomplete`. Get completion suggestions as you type. See `:h ins-autocompletion`. v9.1.1590 - Fuzzy matching now uses the fzf algorithm. v9.1.1627 - Popup menu borders can now be styled (`:h pumborder` / `:h completepopup`). v9.1.1835 / v9.1.1856 - Can now specify a custom completion source when using insert-mode completion (`:h 'complete'`). v9.1.1301 - `set completeopt+=nearest` will sort completion items by proximity to the cursor. v9.1.1308 - Command-line completion - Search commands like `/` and `:g` can be tab-completed now. v9.1.1490 v9.1.1526 - Commands like `:filetype` and `:highlight` have better auto-completion. v9.1.1340 / v9.1.1138 - New vertical tab panel. v9.1.1490 - new bundled optional plugins (use `packadd` to enable them): - hlyank (`:h package-hlyank`): Briefly highlight region of last yank command - new commands: - `:uniq` (`:h :uniq`): Remove duplicate adjacent lines v9.1.1477 General ==================== - Sparkle (updater for MacVim) is now updated to 2.8.0. #1605 Security Fixes ==================== - Fixed MacVim erroneously setting the get-task-allow entitlement, which could allow another user-installed application to inspect it (CVE-2025-8597) #1585 Fixes ==================== - Fixed issue where macOS services (available in the "Services" menu) could not insert text when not in visual mode. #1571 #1569 - Fixed issue where guifont did not accept PostScript names with underscores (e.g. "CascadiaMono-Regular_Light"). #1600 - MacVim now uses the standard `v:colornames` variable for choosing highlight colors. #1568 - Vim syntax now understands MacVim-specific function `showdefinition()`. #1601 Compatibility ==================== Requires macOS 10.9 or above. (10.9 - 10.12 requires downloading a separate legacy build) Script interfaces have compatibility with these versions: - Lua 5.4 - Perl 5.34 - Python2 2.7 - Python3 3.9 or above - Ruby 3.4
ychin
added a commit
that referenced
this pull request
Oct 30, 2025
Updated to Vim 9.1.1887 This update is still built against macOS 15 Sequoia, and does not contain any specific fixes or improvements for macOS 26 Tahoe. That will come in a future update. Announcements ==================== Moving macOS 10.13 - 10.15 support to legacy release -------------------- Currently, MacVim binary releases are available in two versions: a normal version (macOS 10.13 or above), and a legacy version (macOS 10.9-10.12). Starting next release (r183), the normal version will require macOS 11 or above (due to Xcode 26 requirements), and macOS 10.13-10.15 users will need to use the legacy version instead. This will mostly be a transparent change, and the updater will automatically update to the right version. The legacy version should be almost identical to said users as they are using older versions of macOS that can't make use of newer OS features to begin with. In the future we may remove support for macOS 10.9-10.12 but for now they are still supported. Features ==================== Better mouse support -------------------- - Scroll wheels should feel much better to use in MacVim. A small scroll is now guaranteed to scroll at least one line, and shift-scrolling (horizontal scroll) works correctly now. You can now also turn off macOS's scroll wheel acceleration to scroll a fixed amount of lines in the "Input" settings pane. #1566 - Mouse buttons 4 and 5 can now be bound to `<X1Mouse>` and `<X2Mouse>` in Vim mappings (`:h X1Mouse`). #1534 New Vim Features ==================== - Diff mode improvements - Vim diff can now highlight per-character or per-word differences within a line. Per-character highlighting is now used by default. See `:h diffopt` under "inline". v9.1.1242 - Diff anchors allow for more explicit controls over how and where the diff algorithm aligns text across files (`:h diff-anchors`). v9.1.1557 - Lots of auto-completion improvements. Some highlights below: - New option: `autocomplete`. Get completion suggestions as you type. See `:h ins-autocompletion`. v9.1.1590 - Fuzzy matching now uses the fzf algorithm. v9.1.1627 - Popup menu borders can now be styled (`:h pumborder` / `:h completepopup`). v9.1.1835 / v9.1.1856 - Can now specify a custom completion source when using insert-mode completion (`:h 'complete'`). v9.1.1301 - `set completeopt+=nearest` will sort completion items by proximity to the cursor. v9.1.1308 - Command-line completion - Search commands like `/` and `:g` can be tab-completed now. v9.1.1490 v9.1.1526 - Commands like `:filetype` and `:highlight` have better auto-completion. v9.1.1340 / v9.1.1138 - New vertical tab panel. v9.1.1490 - new bundled optional plugins (use `packadd` to enable them): - hlyank (`:h package-hlyank`): Briefly highlight region of last yank command - new commands: - `:uniq` (`:h :uniq`): Remove duplicate adjacent lines v9.1.1477 General ==================== - Sparkle (updater for MacVim) is now updated to 2.8.0. #1605 Security Fixes ==================== - Fixed MacVim erroneously setting the get-task-allow entitlement, which could allow another user-installed application to inspect it (CVE-2025-8597) #1585 Fixes ==================== - Fixed issue where macOS services (available in the "Services" menu) could not insert text when not in visual mode. #1571 #1569 - Fixed issue where guifont did not accept PostScript names with underscores (e.g. "CascadiaMono-Regular_Light"). #1600 - MacVim now uses the standard `v:colornames` variable for choosing highlight colors. #1568 - Vim syntax now understands MacVim-specific function `showdefinition()`. #1601 Compatibility ==================== Requires macOS 10.9 or above. (10.9 - 10.12 requires downloading a separate legacy build) Script interfaces have compatibility with these versions: - Lua 5.4 - Perl 5.34 - Python2 2.7 - Python3 3.9 or above - Ruby 3.4
ychin
added a commit
that referenced
this pull request
Oct 30, 2025
Updated to Vim 9.1.1887 This update is still built against macOS 15 Sequoia, and does not contain any specific fixes or improvements for macOS 26 Tahoe. That will come in a future update. Announcements ==================== Moving macOS 10.13 - 10.15 support to legacy release -------------------- Currently, MacVim binary releases are available in two versions: a normal version (macOS 10.13 or above), and a legacy version (macOS 10.9-10.12). Starting next release (r183), the normal version will require macOS 11 or above (due to Xcode 26 requirements), and macOS 10.13-10.15 users will need to use the legacy version instead. This will mostly be a transparent change, and the updater will automatically update to the right version. The legacy version should be almost identical to said users as they are using older versions of macOS that can't make use of newer OS features to begin with. In the future we may remove support for macOS 10.9-10.12 but for now they are still supported. Features ==================== Better mouse support -------------------- - Scroll wheels should feel much better to use in MacVim. A small scroll is now guaranteed to scroll at least one line, and shift-scrolling (horizontal scroll) works correctly now. You can now also turn off macOS's scroll wheel acceleration to scroll a fixed amount of lines in the "Input" settings pane. #1566 - Mouse buttons 4 and 5 can now be bound to `<X1Mouse>` and `<X2Mouse>` in Vim mappings (`:h X1Mouse`). #1534 New Vim Features ==================== - Diff mode improvements - Vim diff can now highlight per-character or per-word differences within a line. Per-character highlighting is now used by default. See `:h 'diffopt'` under "inline". v9.1.1243 - Diff anchors allow for more explicit controls over how and where the diff algorithm aligns text across files (`:h diff-anchors`). v9.1.1557 - Lots of auto-completion improvements. Some highlights below: - New option: `autocomplete`. Get completion suggestions as you type. See `:h ins-autocompletion`. v9.1.1590 - Fuzzy matching now uses the fzf algorithm. v9.1.1627 - Popup menu borders can now be styled (`:h 'pumborder'` / `:h 'completepopup'`). v9.1.1835 / v9.1.1856 - Can now specify a custom completion source when using insert-mode completion (`:h 'complete'`). v9.1.1301 - `set completeopt+=nearest` will sort completion items by proximity to the cursor. v9.1.1308 - Command-line completion - Search commands like `/` and `:g` can be tab-completed now. v9.1.1490 v9.1.1526 - Commands like `:filetype` and `:highlight` have better auto-completion. v9.1.1340 / v9.1.1138 - New vertical tab panel (`:h tabpanel`). v9.1.1391 - new bundled optional plugins (use `packadd` to enable them): - hlyank (`:h package-hlyank`): Briefly highlight region of last yank command - new commands: - `:uniq` (`:h :uniq`): Remove duplicate adjacent lines v9.1.1477 General ==================== - Sparkle (updater for MacVim) is now updated to 2.8.0. #1605 Security Fixes ==================== - Fixed MacVim erroneously setting the get-task-allow entitlement, which could allow another user-installed application to inspect it (CVE-2025-8597) #1585 Fixes ==================== - Fixed issue where macOS services (available in the "Services" menu) could not insert text when not in visual mode. #1571 #1569 - Fixed issue where guifont did not accept PostScript names with underscores (e.g. "CascadiaMono-Regular_Light"). #1600 - MacVim now uses the standard `v:colornames` variable for choosing highlight colors. #1568 - Vim syntax now understands MacVim-specific function `showdefinition()`. #1601 Compatibility ==================== Requires macOS 10.9 or above. (10.9 - 10.12 requires downloading a separate legacy build) Script interfaces have compatibility with these versions: - Lua 5.4 - Perl 5.34 - Python2 2.7 - Python3 3.9 or above - Ruby 3.4
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Interactions with OS services that insert texts were improved in #1552 to make it work in a more integrated fashion instead of a hacky injection of 's' followed by the text. However, it only accounted for services that replaces selected texts in visual mode. In other modes, MacVim would simply ignore the service. This was a regression as previously it would work everywhere (albeit often times in a non-intuitive manner since if used in insert mode the user would see an 's' in the beginning). This also affects Shortcuts that a user may have made that could be invoked from the Services menu or bound to a hotkey.
Fix this properly by allowing this to be used in Normal / Insert / Cmdline modes in addition to Visual mode.
Even with this fix, there is still a slight difference between the new behavior and the old hacky solution - the old method would leave the user in Insert mode, whereas the new method would stay in Normal mode. I think this is an improvement so no need to fix.
Fix #1569