Skip to content

A kakoune-plugin that rounds up decimal numbers up to a certain number of decimal places.

License

Notifications You must be signed in to change notification settings

StatPal/round-numbers.kak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

round-numbers.kak

round-numbers is a plugin for Kakoune text editor that rounds up a decimal number up to a certain number of decimal places.

Installation

Installation can be done, e.g., with plug.kak plugin manager or manually putting the *.kak file inside the auload directory.

With plugin manager, you can simply add this line in your .kakrc file.

plug "StatPal/round-numbers.kak"

Then reload Kakoune config or restart Kakoune and run :plug-install.

Usage

This plug-in takes one parameter - the number of digits after decimal places. The default is 3. To use this plug-in, select the required region with the numbers and then type

:round-numbers 4

to have numbers rounded (or expanded) upto 4 decimal places.

This is inspired mostly by Screwtapello.

About

A kakoune-plugin that rounds up decimal numbers up to a certain number of decimal places.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages