-
Notifications
You must be signed in to change notification settings - Fork 0
Switch leap.nvim to Codeberg fork and customize keymaps #4
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
0dfbad5
d1d114e
a624abb
f0e40ea
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -267,10 +267,11 @@ require("lazy").setup({ | |||||||||
| end | ||||||||||
| }, | ||||||||||
| { | ||||||||||
| "ggandor/leap.nvim", | ||||||||||
| url = "https://codeberg.org/andyg/leap.nvim", | ||||||||||
| event = "VeryLazy", | ||||||||||
| config = function() | ||||||||||
|
wardnath marked this conversation as resolved.
|
||||||||||
| require("leap").add_default_mappings() | ||||||||||
| vim.keymap.set({'n', 'x', 'o'}, 's', '<Plug>(leap)') | ||||||||||
| vim.keymap.set('n', 'S', '<Plug>(leap-from-window)') | ||||||||||
|
||||||||||
| vim.keymap.set('n', 'S', '<Plug>(leap-from-window)') | |
| vim.keymap.set({'n', 'x', 'o'}, 'x', '<Plug>(leap-backward)') | |
| vim.keymap.set('n', 'S', '<Plug>(leap-backward)') | |
| vim.keymap.set('n', '<leader>lw', '<Plug>(leap-from-window)') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switching to an unofficial Codeberg fork introduces maintenance and security risks. The fork at
https://codeberg.org/andyg/leap.nvimmay not receive updates, security patches, or bug fixes that are applied to the original repository. Consider documenting why this specific fork is being used (e.g., what features or fixes does it provide?) and establish a process to track upstream changes. If the fork doesn't provide essential functionality, using the official repository (ggandor/leap.nvim) would be more maintainable and secure.