Skip to content
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

refactor(plugins): iterate plugins #1198

Merged
merged 12 commits into from
Mar 22, 2024
Merged

refactor(plugins): iterate plugins #1198

merged 12 commits into from
Mar 22, 2024

Conversation

ayamir
Copy link
Owner

@ayamir ayamir commented Mar 13, 2024

Signed-off-by: ayamir <lgt986452565@gmail.com>
@ayamir ayamir marked this pull request as draft March 13, 2024 12:13
@ayamir ayamir linked an issue Mar 13, 2024 that may be closed by this pull request
@ayamir
Copy link
Owner Author

ayamir commented Mar 13, 2024

Let's remove and replace old plugins first, then add new plugins.

@ayamir ayamir marked this pull request as ready for review March 15, 2024 10:45
@ayamir
Copy link
Owner Author

ayamir commented Mar 15, 2024

After this PR merged, corresponding wiki pages are also needed to update.

Copy link
Collaborator

@aarnphm aarnphm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops I thought I send in the review

lua/keymap/editor.lua Outdated Show resolved Hide resolved
lua/keymap/ui.lua Show resolved Hide resolved
Signed-off-by: ayamir <lgt986452565@gmail.com>
Copy link
Collaborator

@aarnphm aarnphm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice. Less code to maintain!!

Copy link
Collaborator

@CharlesChiuGit CharlesChiuGit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no complains! nice!

Signed-off-by: ayamir <lgt986452565@gmail.com>
@jczhang02
Copy link
Contributor

let's merge it!

@ayamir ayamir changed the title refactor(plugins): iterate plugins refactor(BREAKING CHANGE): iterate plugins Mar 22, 2024
@ayamir ayamir changed the title refactor(BREAKING CHANGE): iterate plugins refactor(plugins): iterate plugins Mar 22, 2024
@ayamir ayamir merged commit 61c817f into main Mar 22, 2024
4 checks passed
@ayamir ayamir deleted the refactor/clean-plugins branch March 22, 2024 09:53
csyJoy pushed a commit to csyJoy/nvimdots that referenced this pull request Mar 23, 2024
This PR introduces BREAKING CHANGE about plugins and keymaps.
Plugins removed:
1. `rainbowhxch/accelerated-jk.nvim`
2. `max397574/better-escape.nvim`
3. `sindrets/diffview.nvim`
4. `abecodes/tabout.nvim`
5. `edluffy/specs.nvim`
Plugins replaced:
1. `junegunn/vim-easy-align` to `echasnovski/mini.align`
2. `RRethy/vim-illuminate` to `tzachar/local-highlight.nvim`
3. `gelguy/wilder.nvim` to `hrsh7th/cmp-cmdline`
Plugins added:
1. `folke/neoconf.nvim` for pre project custom lsp config.
2. `tpope/vim-sleuth` for smart tab size.
3. `nvim-pack/nvim-spectre` for project-level plain text search and replace.
4. `mrjones2014/smart-splits.nvim` for smart window splits with terminal multiplexers.
5. `folke/todo-comments.nvim` for highlight of TODO, NOTE, etc.
6. `nvim-neotest/nvim-nio` for dependency of `nvim-dap-ui`.
Keymaps modifications:
1. `n|<A-j>` and `n|<A-k>` are mapped to resize window vertically.
2. `n|<A-h>` and `n|<A-l>` are mapped to resize window horizontally.
3. `n|<A-i>` and `n|<A-o>` are mapped to switch opened buffers/tabs.
4. `n|<A-S-i>` and `n|<A-S-o>` are mapped to move opened buffers/tabs.
5. `n|<leader>Ss`, `n|<leader>Sp`, `v|<leader>Sp` and `n|<leader>Sf` are mapped to project-level text search and replace, you can use `<C-p>` to check the detailed descriptions.
6. `n|<leader>Wh`, `n|<leader>Wj`, `n|<leader>Wk` and `n|<leader>Wl` are mapped to move splitted windows.
7. `n|<leader>gd`, `n|<leader>gD`, `n|<A-[>`, `n|<A-]>`, `n|<A-;>`, `n|<A-'>`, `n|gea`, `n|<A-S-j>`, `n|<A-S-k>`,  `i|<A-l>` and `i|<A-h>` are unmapped, they are free now!
@aarnphm aarnphm mentioned this pull request Mar 26, 2024
mjkx5 added a commit to mjkx5/nvimdots that referenced this pull request Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clean project plugins Find and replace text in project [enhancement] Project specific LSP configurations
4 participants