Skip to content

tylersaunders/accio.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

accio.nvim

A neovim plugin that summons textobjects, just like magic!

Warning: tree-sitter and nvim-treesitter are an experimental feature of nightly versions of Neovim. Please consider the experience with this plug-in as experimental until tree-sitter support in Neovim is stable! It is recommended using the nightly builds of Neovim or the latest stable version.

installation

You can install accio with your favorite package manager, or using the default pack feature of Neovim! This plugin does require nvim-treesitter/nvim-treesitter.

Using a package manager

Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'tylersaunders/accio'

usage

pivot_array

Use <leader>ap when hovering over a single line array to pivot the array to multiple lines.

pivot_array demo

configuration

lua:

require('accio').setup({})

vimscript:

lua require('accio').setup({})

acknowledgements

inspired by nvim-treesitter-textobjects

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published