Continue paragraphs seletion, upwards or downwards, in any file.
This plugin serves as a feature of the Micro editor, found in:
-
https://github.com/zyedidia/micro
This help file can be viewed entering
help selectparagraphsin Micro's command bar.
Select Paragraphs plugin supports all languages, since it works in the documents/files themselves.
Enter in the command line of your terminal:
$ micro --plugin install selectparagraphs
Or within Micro:
> plugin install selectparagraphs
Ensure you have the following files in '~/.config/micro/plug/selectparagraphs':
├── help <-- a folder containing help within Micro
│ └── selectparagraphs.md <-- THIS FILE's clone Micro calls with: `help selectparagraphs`
├── LICENSE <-- the license file
├── README.md <-- THIS FILE
├── repo.json <-- plugin information file
├── selectparagraphs.lua <-- source code
└── thumbnail.webp <-- plugin thumbnail
Enter select-up or select-down in Micro's command bar, while on a paragraph, and the selection will start.
It is recommended to bind keys to triger those commands. For example, place the following snippet in your 'bindings.json' file:
"CtrlShiftUp": "command:select-up",
"CtrlShiftDown": "command:select-down",
"CtrlShiftHome": "SelectToStart",
"CtrlShiftEnd": "SelectToEnd",
This way, whenever you hit CtrlShiftUp it will start selecting (or increase the selection of) the paragraph above. The same goes to CtrlShiftDown, selecting the paragraph below.
Note that CtrlShiftHome and CtrlShiftEnd were rebinded (overwritten), according to Micro's default key bindings. They, now, select to the start (if SelectToStart) or to the end (if SelectToEnd) of the document/file.
I hope this plugin helps you improving your workflow.
Special thanks to the creator, contributors and other volunteers of Micro.
Plugin version: 0.1.0
Author: © 2025 Guifur, from: https://github.com/guifur
License: MIT. *Read the 'LICENSE'.
*Also consider reading the 'repo.json' file.