vim计算表达式

来源:互联网 发布:matlab数据转为vtk 编辑:程序博客网 时间:2024/06/14 13:30

2+3=

normal模式下,在当前行输入;bc

2+3=5



Chaining is now allowed: 

start with this 

2 + 3 = 
;bc 
2 + 3 = 5 
add some more stuff: 
2 + 3 = 5 * 2 = 
;bc 
2  + 3 = 5 * 2 = 10



http://vim.sourceforge.net/scripts/script.php?script_id=219

0 0
原创粉丝点击