Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Parsifa1/smartab.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Smartab.nvim

simple way to jump out of brackets, parentheses, and quotes in Neovim.

πŸš€ Features

  • combined jump out of brackets with jump to the end of theTree-sitter node (like this in Helix)
  • supports nested pairs (thanks to neotab.nvim)

πŸ“¦ Installation

return {
    "parsifa1/smartab.nvim",
    event = "InsertEnter",
    opts = {
        skips = { "string_content" },
        mapping = "<tab>",
        backward_mapping = "<S-tab>",
        behavior = "nested",
        pairs = {
            { open = "(", close = ")" },
            { open = "[", close = "]" },
            { open = "{", close = "}" },
            { open = "<", close = ">" },
            { open = "'", close = "'" },
            { open = '"', close = '"' },
            { open = "`", close = "`" },
        },
        exclude_filetype = {},
    }
}

dependencies:

  • luasnip (optional)

πŸ™Œ Credits

About

Yet Another Tab-out Plugins for neovim.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages