Skip to content

vzze/calculator.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

calculator.nvim

calculator.nvim is a Neovim plugin that calculates math expressions

Usage

vim.api.nvim_create_user_command("Calculate", "lua require(\"calculator\").calculate()",
    { ["range"] = 1, ["nargs"] = 0 })

Installation

Packer

use 'vzze/calculator.nvim'

-- lazy loading
use {
    'vzze/calculator.nvim',
    opt = true,
    module = "calculator"
}

Supported functions and notations

abs log cos sin tan rad pi floor fmod exp min sqrt inf
pow ln cosh sinh tanh deg e ceil modf frexp max
lg acos asin atan ldexp
atan2

About

A Neovim plugin that calculates math expressions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages