Skip to content

Commit 218ff20

Browse files
committed
feat(minimax): sync to 20b79e8
1 parent 4b9570d commit 218ff20

5 files changed

Lines changed: 140 additions & 136 deletions

File tree

MiniMax/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
_Generated from the `main` branch of 'MiniMax'_
22

3+
## 2026-02-17 {#2026-02-17}
4+
5+
- Update 'mini.files' setup to use `now_if_args` instead of `later`. Otherwise it doesn't override `netrw` as the default explorer when starting Neovim like `nvim .`.
6+
37
## 2026-02-15 {#2026-02-15}
48

59
- Update 'nvim-treesitter/nvim-treesitter-textobjects' plugin to not explicitly use `main` branch as it is now the default.

MiniMax/configs/diffs/nvim-0.11_nvim-0.12/index.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ Notes:
202202
-local now, later = MiniDeps.now, MiniDeps.later
203203
-local now_if_args = Config.now_if_args
204204
+local now, now_if_args, later = Config.now, Config.now_if_args, Config.later
205-
@@ -459,2 +458,2 @@
205+
@@ -232,2 +231,2 @@
206206
- local minideps_plugins = vim.fn.stdpath('data') .. '/site/pack/deps/opt'
207207
- MiniFiles.set_bookmark('p', minideps_plugins, { desc = 'Plugins' })
208208
+ local vimpack_plugins = vim.fn.stdpath('data') .. '/site/pack/core/opt'

MiniMax/configs/nvim-0.10/index.qmd

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,51 @@ now_if_args(function()
687687
Config.new_autocmd('LspAttach', nil, on_attach, "Set 'omnifunc'")
688688
end)
689689

690+
-- Navigate and manipulate file system
691+
--
692+
-- Navigation is done using column view (Miller columns) to display nested
693+
-- directories, they are displayed in floating windows in top left corner.
694+
--
695+
-- Manipulate files and directories by editing text as regular buffers.
696+
--
697+
-- Example usage:
698+
-- - `<Leader>ed` - open current working directory
699+
-- - `<Leader>ef` - open directory of current file (needs to be present on disk)
700+
--
701+
-- Basic navigation:
702+
-- - `l` - go in entry at cursor: navigate into directory or open file
703+
-- - `h` - go out of focused directory
704+
-- - Navigate window as any regular buffer
705+
-- - Press `g?` inside explorer to see more mappings
706+
--
707+
-- Basic manipulation:
708+
-- - After any following action, press `=` in Normal mode to synchronize, read
709+
-- carefully about actions, press `y` or `<CR>` to confirm
710+
-- - New entry: press `o` and type its name; end with `/` to create directory
711+
-- - Rename: press `C` and type new name
712+
-- - Delete: type `dd`
713+
-- - Move/copy: type `dd`/`yy`, navigate to target directory, press `p`
714+
--
715+
-- See also:
716+
-- - `:h MiniFiles-navigation` - more details about how to navigate
717+
-- - `:h MiniFiles-manipulation` - more details about how to manipulate
718+
-- - `:h MiniFiles-examples` - examples of common setups
719+
now_if_args(function()
720+
-- Enable directory/file preview
721+
require('mini.files').setup({ windows = { preview = true } })
722+
723+
-- Add common bookmarks for every explorer. Example usage inside explorer:
724+
-- - `'c` to navigate into your config directory
725+
-- - `g?` to see available bookmarks
726+
local add_marks = function()
727+
MiniFiles.set_bookmark('c', vim.fn.stdpath('config'), { desc = 'Config' })
728+
local minideps_plugins = vim.fn.stdpath('data') .. '/site/pack/deps/opt'
729+
MiniFiles.set_bookmark('p', minideps_plugins, { desc = 'Plugins' })
730+
MiniFiles.set_bookmark('w', vim.fn.getcwd, { desc = 'Working directory' })
731+
end
732+
Config.new_autocmd('User', 'MiniFilesExplorerOpen', add_marks, 'Add bookmarks')
733+
end)
734+
690735
-- Miscellaneous small but useful functions. Example usage:
691736
-- - `<Leader>oz` - toggle between "zoomed" and regular view of current buffer
692737
-- - `<Leader>or` - resize window to its "editable width"
@@ -914,51 +959,6 @@ later(function() require('mini.comment').setup() end)
914959
-- - `:h MiniDiff.gen_source` - available built-in sources
915960
later(function() require('mini.diff').setup() end)
916961

917-
-- Navigate and manipulate file system
918-
--
919-
-- Navigation is done using column view (Miller columns) to display nested
920-
-- directories, they are displayed in floating windows in top left corner.
921-
--
922-
-- Manipulate files and directories by editing text as regular buffers.
923-
--
924-
-- Example usage:
925-
-- - `<Leader>ed` - open current working directory
926-
-- - `<Leader>ef` - open directory of current file (needs to be present on disk)
927-
--
928-
-- Basic navigation:
929-
-- - `l` - go in entry at cursor: navigate into directory or open file
930-
-- - `h` - go out of focused directory
931-
-- - Navigate window as any regular buffer
932-
-- - Press `g?` inside explorer to see more mappings
933-
--
934-
-- Basic manipulation:
935-
-- - After any following action, press `=` in Normal mode to synchronize, read
936-
-- carefully about actions, press `y` or `<CR>` to confirm
937-
-- - New entry: press `o` and type its name; end with `/` to create directory
938-
-- - Rename: press `C` and type new name
939-
-- - Delete: type `dd`
940-
-- - Move/copy: type `dd`/`yy`, navigate to target directory, press `p`
941-
--
942-
-- See also:
943-
-- - `:h MiniFiles-navigation` - more details about how to navigate
944-
-- - `:h MiniFiles-manipulation` - more details about how to manipulate
945-
-- - `:h MiniFiles-examples` - examples of common setups
946-
later(function()
947-
-- Enable directory/file preview
948-
require('mini.files').setup({ windows = { preview = true } })
949-
950-
-- Add common bookmarks for every explorer. Example usage inside explorer:
951-
-- - `'c` to navigate into your config directory
952-
-- - `g?` to see available bookmarks
953-
local add_marks = function()
954-
MiniFiles.set_bookmark('c', vim.fn.stdpath('config'), { desc = 'Config' })
955-
local minideps_plugins = vim.fn.stdpath('data') .. '/site/pack/deps/opt'
956-
MiniFiles.set_bookmark('p', minideps_plugins, { desc = 'Plugins' })
957-
MiniFiles.set_bookmark('w', vim.fn.getcwd, { desc = 'Working directory' })
958-
end
959-
Config.new_autocmd('User', 'MiniFilesExplorerOpen', add_marks, 'Add bookmarks')
960-
end)
961-
962962
-- Git integration for more straightforward Git actions based on Neovim's state.
963963
-- It is not meant as a fully featured Git client, only to provide helpers that
964964
-- integrate better with Neovim. Example usage:

MiniMax/configs/nvim-0.11/index.qmd

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,51 @@ now_if_args(function()
688688
vim.lsp.config('*', { capabilities = MiniCompletion.get_lsp_capabilities() })
689689
end)
690690

691+
-- Navigate and manipulate file system
692+
--
693+
-- Navigation is done using column view (Miller columns) to display nested
694+
-- directories, they are displayed in floating windows in top left corner.
695+
--
696+
-- Manipulate files and directories by editing text as regular buffers.
697+
--
698+
-- Example usage:
699+
-- - `<Leader>ed` - open current working directory
700+
-- - `<Leader>ef` - open directory of current file (needs to be present on disk)
701+
--
702+
-- Basic navigation:
703+
-- - `l` - go in entry at cursor: navigate into directory or open file
704+
-- - `h` - go out of focused directory
705+
-- - Navigate window as any regular buffer
706+
-- - Press `g?` inside explorer to see more mappings
707+
--
708+
-- Basic manipulation:
709+
-- - After any following action, press `=` in Normal mode to synchronize, read
710+
-- carefully about actions, press `y` or `<CR>` to confirm
711+
-- - New entry: press `o` and type its name; end with `/` to create directory
712+
-- - Rename: press `C` and type new name
713+
-- - Delete: type `dd`
714+
-- - Move/copy: type `dd`/`yy`, navigate to target directory, press `p`
715+
--
716+
-- See also:
717+
-- - `:h MiniFiles-navigation` - more details about how to navigate
718+
-- - `:h MiniFiles-manipulation` - more details about how to manipulate
719+
-- - `:h MiniFiles-examples` - examples of common setups
720+
now_if_args(function()
721+
-- Enable directory/file preview
722+
require('mini.files').setup({ windows = { preview = true } })
723+
724+
-- Add common bookmarks for every explorer. Example usage inside explorer:
725+
-- - `'c` to navigate into your config directory
726+
-- - `g?` to see available bookmarks
727+
local add_marks = function()
728+
MiniFiles.set_bookmark('c', vim.fn.stdpath('config'), { desc = 'Config' })
729+
local minideps_plugins = vim.fn.stdpath('data') .. '/site/pack/deps/opt'
730+
MiniFiles.set_bookmark('p', minideps_plugins, { desc = 'Plugins' })
731+
MiniFiles.set_bookmark('w', vim.fn.getcwd, { desc = 'Working directory' })
732+
end
733+
Config.new_autocmd('User', 'MiniFilesExplorerOpen', add_marks, 'Add bookmarks')
734+
end)
735+
691736
-- Miscellaneous small but useful functions. Example usage:
692737
-- - `<Leader>oz` - toggle between "zoomed" and regular view of current buffer
693738
-- - `<Leader>or` - resize window to its "editable width"
@@ -915,51 +960,6 @@ later(function() require('mini.comment').setup() end)
915960
-- - `:h MiniDiff.gen_source` - available built-in sources
916961
later(function() require('mini.diff').setup() end)
917962

918-
-- Navigate and manipulate file system
919-
--
920-
-- Navigation is done using column view (Miller columns) to display nested
921-
-- directories, they are displayed in floating windows in top left corner.
922-
--
923-
-- Manipulate files and directories by editing text as regular buffers.
924-
--
925-
-- Example usage:
926-
-- - `<Leader>ed` - open current working directory
927-
-- - `<Leader>ef` - open directory of current file (needs to be present on disk)
928-
--
929-
-- Basic navigation:
930-
-- - `l` - go in entry at cursor: navigate into directory or open file
931-
-- - `h` - go out of focused directory
932-
-- - Navigate window as any regular buffer
933-
-- - Press `g?` inside explorer to see more mappings
934-
--
935-
-- Basic manipulation:
936-
-- - After any following action, press `=` in Normal mode to synchronize, read
937-
-- carefully about actions, press `y` or `<CR>` to confirm
938-
-- - New entry: press `o` and type its name; end with `/` to create directory
939-
-- - Rename: press `C` and type new name
940-
-- - Delete: type `dd`
941-
-- - Move/copy: type `dd`/`yy`, navigate to target directory, press `p`
942-
--
943-
-- See also:
944-
-- - `:h MiniFiles-navigation` - more details about how to navigate
945-
-- - `:h MiniFiles-manipulation` - more details about how to manipulate
946-
-- - `:h MiniFiles-examples` - examples of common setups
947-
later(function()
948-
-- Enable directory/file preview
949-
require('mini.files').setup({ windows = { preview = true } })
950-
951-
-- Add common bookmarks for every explorer. Example usage inside explorer:
952-
-- - `'c` to navigate into your config directory
953-
-- - `g?` to see available bookmarks
954-
local add_marks = function()
955-
MiniFiles.set_bookmark('c', vim.fn.stdpath('config'), { desc = 'Config' })
956-
local minideps_plugins = vim.fn.stdpath('data') .. '/site/pack/deps/opt'
957-
MiniFiles.set_bookmark('p', minideps_plugins, { desc = 'Plugins' })
958-
MiniFiles.set_bookmark('w', vim.fn.getcwd, { desc = 'Working directory' })
959-
end
960-
Config.new_autocmd('User', 'MiniFilesExplorerOpen', add_marks, 'Add bookmarks')
961-
end)
962-
963963
-- Git integration for more straightforward Git actions based on Neovim's state.
964964
-- It is not meant as a fully featured Git client, only to provide helpers that
965965
-- integrate better with Neovim. Example usage:

MiniMax/configs/nvim-0.12/index.qmd

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,51 @@ now_if_args(function()
765765
vim.lsp.config('*', { capabilities = MiniCompletion.get_lsp_capabilities() })
766766
end)
767767

768+
-- Navigate and manipulate file system
769+
--
770+
-- Navigation is done using column view (Miller columns) to display nested
771+
-- directories, they are displayed in floating windows in top left corner.
772+
--
773+
-- Manipulate files and directories by editing text as regular buffers.
774+
--
775+
-- Example usage:
776+
-- - `<Leader>ed` - open current working directory
777+
-- - `<Leader>ef` - open directory of current file (needs to be present on disk)
778+
--
779+
-- Basic navigation:
780+
-- - `l` - go in entry at cursor: navigate into directory or open file
781+
-- - `h` - go out of focused directory
782+
-- - Navigate window as any regular buffer
783+
-- - Press `g?` inside explorer to see more mappings
784+
--
785+
-- Basic manipulation:
786+
-- - After any following action, press `=` in Normal mode to synchronize, read
787+
-- carefully about actions, press `y` or `<CR>` to confirm
788+
-- - New entry: press `o` and type its name; end with `/` to create directory
789+
-- - Rename: press `C` and type new name
790+
-- - Delete: type `dd`
791+
-- - Move/copy: type `dd`/`yy`, navigate to target directory, press `p`
792+
--
793+
-- See also:
794+
-- - `:h MiniFiles-navigation` - more details about how to navigate
795+
-- - `:h MiniFiles-manipulation` - more details about how to manipulate
796+
-- - `:h MiniFiles-examples` - examples of common setups
797+
now_if_args(function()
798+
-- Enable directory/file preview
799+
require('mini.files').setup({ windows = { preview = true } })
800+
801+
-- Add common bookmarks for every explorer. Example usage inside explorer:
802+
-- - `'c` to navigate into your config directory
803+
-- - `g?` to see available bookmarks
804+
local add_marks = function()
805+
MiniFiles.set_bookmark('c', vim.fn.stdpath('config'), { desc = 'Config' })
806+
local vimpack_plugins = vim.fn.stdpath('data') .. '/site/pack/core/opt'
807+
MiniFiles.set_bookmark('p', vimpack_plugins, { desc = 'Plugins' })
808+
MiniFiles.set_bookmark('w', vim.fn.getcwd, { desc = 'Working directory' })
809+
end
810+
Config.new_autocmd('User', 'MiniFilesExplorerOpen', add_marks, 'Add bookmarks')
811+
end)
812+
768813
-- Miscellaneous small but useful functions. Example usage:
769814
-- - `<Leader>oz` - toggle between "zoomed" and regular view of current buffer
770815
-- - `<Leader>or` - resize window to its "editable width"
@@ -992,51 +1037,6 @@ later(function() require('mini.comment').setup() end)
9921037
-- - `:h MiniDiff.gen_source` - available built-in sources
9931038
later(function() require('mini.diff').setup() end)
9941039

995-
-- Navigate and manipulate file system
996-
--
997-
-- Navigation is done using column view (Miller columns) to display nested
998-
-- directories, they are displayed in floating windows in top left corner.
999-
--
1000-
-- Manipulate files and directories by editing text as regular buffers.
1001-
--
1002-
-- Example usage:
1003-
-- - `<Leader>ed` - open current working directory
1004-
-- - `<Leader>ef` - open directory of current file (needs to be present on disk)
1005-
--
1006-
-- Basic navigation:
1007-
-- - `l` - go in entry at cursor: navigate into directory or open file
1008-
-- - `h` - go out of focused directory
1009-
-- - Navigate window as any regular buffer
1010-
-- - Press `g?` inside explorer to see more mappings
1011-
--
1012-
-- Basic manipulation:
1013-
-- - After any following action, press `=` in Normal mode to synchronize, read
1014-
-- carefully about actions, press `y` or `<CR>` to confirm
1015-
-- - New entry: press `o` and type its name; end with `/` to create directory
1016-
-- - Rename: press `C` and type new name
1017-
-- - Delete: type `dd`
1018-
-- - Move/copy: type `dd`/`yy`, navigate to target directory, press `p`
1019-
--
1020-
-- See also:
1021-
-- - `:h MiniFiles-navigation` - more details about how to navigate
1022-
-- - `:h MiniFiles-manipulation` - more details about how to manipulate
1023-
-- - `:h MiniFiles-examples` - examples of common setups
1024-
later(function()
1025-
-- Enable directory/file preview
1026-
require('mini.files').setup({ windows = { preview = true } })
1027-
1028-
-- Add common bookmarks for every explorer. Example usage inside explorer:
1029-
-- - `'c` to navigate into your config directory
1030-
-- - `g?` to see available bookmarks
1031-
local add_marks = function()
1032-
MiniFiles.set_bookmark('c', vim.fn.stdpath('config'), { desc = 'Config' })
1033-
local vimpack_plugins = vim.fn.stdpath('data') .. '/site/pack/core/opt'
1034-
MiniFiles.set_bookmark('p', vimpack_plugins, { desc = 'Plugins' })
1035-
MiniFiles.set_bookmark('w', vim.fn.getcwd, { desc = 'Working directory' })
1036-
end
1037-
Config.new_autocmd('User', 'MiniFilesExplorerOpen', add_marks, 'Add bookmarks')
1038-
end)
1039-
10401040
-- Git integration for more straightforward Git actions based on Neovim's state.
10411041
-- It is not meant as a fully featured Git client, only to provide helpers that
10421042
-- integrate better with Neovim. Example usage:

0 commit comments

Comments
 (0)