Vim meets Instacalc meets Hewlett-Packard calculators
Colddeck ("Column dc") is a single-column spreadsheet using dc
for
computations. You jot down values and formulas, one per line, and the result
is shown on the right.
Extra features:
- References to other rows (absolute and relative)
- Ranges
- Aggregates (sum, min/max, average...)
- Vim expressions (experimental)
- Value references (experimental)
R3
: reference to row #3R-1
: relative reference to the row aboveR+2
: relative reference to the second row belowR1:R3
: range of rows from #1 to #3 (insert values and number of elements)R1:R3 @sum
: sum of row #1 to #3 (other aggregates:@min
,@max
,@avg
,@prod
)42 # text
: add "text" as a comment, while passing the value '42' todc
42 ## Label
: add "Label" as a right-aligned comment and hide the value or formula on its left, that is still passed todc
`log(2)`
: vim expression (evaluated before passing the line todc
)$2
: result of the evalutation of row #2 (must have been previously computed; evaluated before passing the line todc
)
See the documentation for full manual.
What is it?
A single-column spreadsheet, in Vim, with postfix operators.
Look ma, no Excel.
"dc", WTF?
Who doesn't love rabid panda notation?
Use your favorite method:
- Pathogen - git clone https://github.com/fcpg/vim-colddeck ~/.vim/bundle/vim-colddeck
- NeoBundle - NeoBundle 'fcpg/vim-colddeck'
- Vundle - Plugin 'fcpg/vim-colddeck'
- Plug - Plug 'fcpg/vim-colddeck'
- manual - copy all files into your ~/.vim directory