- Notifications
You must be signed in to change notification settings - Fork2
fcpg/vim-colddeck
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Vim meets Instacalc meets Hewlett-Packard calculators
Colddeck ("Column dc") is a single-column spreadsheet usingdc
forcomputations. You jot down values and formulas, one per line, and the resultis 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 orformula on its left, that is still passed todc
`log(2)`
: vim expression (evaluated before passing theline todc
)$2
:result of the evalutation of row #2 (must have been previouslycomputed; evaluated before passing the line todc
)
Seethe 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 clonehttps://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