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

feat(keyinds): add keybind for entering link traversal mode #1177

Merged
merged 3 commits into from
Nov 21, 2023
Merged

feat(keyinds): add keybind for entering link traversal mode #1177

merged 3 commits into from
Nov 21, 2023

Conversation

shaw4m4n
Copy link
Contributor

Added shortcuts to enter link-traverse mode.

Added shortcuts to enter link-traverse mode.
@@ -168,6 +168,11 @@ module.config.public = {
":Neorg mode traverse-heading<CR>",
opts = { desc = "Enter Heading Traversal Mode" },
},
{
leader .. "ml",
":Neorg mode traverse-link<CR>",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's preferred to use <cmd> over :
you could also change this for the other two mode keybindings

@shaw4m4n shaw4m4n closed this Nov 20, 2023
@shaw4m4n shaw4m4n reopened this Nov 20, 2023
@shaw4m4n shaw4m4n marked this pull request as draft November 20, 2023 04:00
@shaw4m4n shaw4m4n marked this pull request as ready for review November 20, 2023 05:57
@shaw4m4n shaw4m4n changed the title Update keybinds.lua Update keybind.lua Nov 20, 2023
@shaw4m4n
Copy link
Contributor Author

Updated few preferred syntax as suggested by @max397574 .

@vhyrro
Copy link
Member

vhyrro commented Nov 21, 2023

Looks good to me! Thanks for this :)

@vhyrro vhyrro changed the title Update keybind.lua feat(keyinds): add keybind for entering link traversal mode Nov 21, 2023
@vhyrro vhyrro merged commit 8cf5205 into nvim-neorg:main Nov 21, 2023
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.

3 participants