Skip to content

Delapouite/kakoune-expand-region

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

kakoune-expand-region

kakoune plugin that allows you to select increasingly larger regions of text using the same key combination.

It aims to be similar to features from other editors:

Warning: this project is still in beta.

Install

Add expand-region.kak to your autoload dir: ~/.config/kak/autoload/.

Usage

Run the expand command successively.

# Suggested mapping

map global normal + :expand<ret>

Related commands

Here are two simple linewise commands that your may also find useful:

def grow-selection %{
  exec '<a-:>L<a-;>H'
}

def shrink-selection %{
  exec '<a-:>H<a-;>L'
}

See Also

  • kakoune-expand: this alternative version made by occivink offers the :expand-repeat command.
  • kak-tree: use the tree-select-parent-node command to traverse the AST.
  • kakoune-grasp: AST selector specific to JavaScript

Licence

MIT

About

Select increasingly larger regions of text using the same key

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published