Skip to content

Toggle cursor position between the start and end of a node (replaces `%`)

License

Notifications You must be signed in to change notification settings

xlboy/node-edge-toggler.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

node-edge-toggler.nvim

Toggle cursor position between the start and end of a node (replaces %)

20240116-185947.mp4

Installation & Usage

Using lazy.nvim:

return {
  "xlboy/node-edge-toggler.nvim",
  dependencies = { "nvim-treesitter/nvim-treesitter" },
  keys = {
    { "%", "<cmd>lua require('node-edge-toggler').toggle()<CR>", desc = "Node start/end toggle" },
  }
}

License

MIT

About

Toggle cursor position between the start and end of a node (replaces `%`)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages