首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 其他相关 >

VIM中惯用序列生成及数值转换

2013-01-21 
VIM中常用序列生成及数值转换output A-Zexe let i65|while i90|put printf(%c, i)|let ii+1|endw

VIM中常用序列生成及数值转换

"output A-Zexe "let i=65|while i<=90|put =printf('%c', i)|let i=i+1|endwhile""output '0-9A-F'exe "let i=0|while i<16|put =printf('%X', i)|let i=i+1|endwhile""ascii to numberecho char2nr('a')"number to asciiecho nr2char( 97 )"hex to dececho printf('%d', 0xff )"dec to hexecho printf('%X', 255)

热点排行