Skip to content

theniceboy/vim-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-calc: A Calculator in Vim

中文版

Introduction

vim-calc is a fully functional calculator that you might feel missing in Vim.

Demo

Usage

Do :call Calc() inside vim to calculate the math equation in the current line (vim-calc will tell you if there's any error in terms of the equation within the current line)

Or, if you want a key-binding, add this to your vimrc/init.vim:

nnoremap <LEADER>a :call Calc()<CR>

Now, you can press LEADER and a to calculate!

Installation

Install vim-calc with vim-plug:

Plug 'theniceboy/vim-calc'

Todos

  • Convert equation to latex form

Contributing

This plugin is under development so if you found a bug or have a suggestion, please DO NOT HESITATE to file an issue, submit a Pull Request, or email me!

License

MIT

About

A vim plugin that calculates math equations in the current buffer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published