powerline-extra-symbols, 电力线分隔符的额外标志符号

分享于 

3分钟阅读

GitHub

  繁體 雙語
:arrow_forward: Extra glyphs for your powerline separators
  • 源代码名称:powerline-extra-symbols
  • 源代码网址:http://www.github.com/ryanoasis/powerline-extra-symbols
  • powerline-extra-symbols源代码文档
  • powerline-extra-symbols源代码下载
  • Git URL:
    git://www.github.com/ryanoasis/powerline-extra-symbols.git
    Git Clone代码到本地:
    git clone http://www.github.com/ryanoasis/powerline-extra-symbols
    Subversion代码到本地:
    $ svn co --depth empty http://www.github.com/ryanoasis/powerline-extra-symbols
    Checked out revision 1.
    $ cd repo
    $ svn up trunk
    
    电力线额外元件

    电力线分隔符的额外标志符号

    这些标志符号现在可用在已经修补的字体中: 书呆子字体

    preview

    注意:这个很可能只是保存了符号。

    Vim预览还显示列编号标志符号:

    preview

    • vimrc 设置以实现上述功能:
      " testing extra-powerline-symbols" set font terminal font or set gui vim font" to a Nerd Font (https://github.com/ryanoasis/nerd-fonts):setguifont=DroidSansMono Nerd Font 12" testing rounded separators (extra-powerline-symbols):letg:airline_left_sep="uE0B4"letg:airline_right_sep="uE0B6"" set the CN (column number) symbol:letg:airline_section_z=airline#section#create(["uE0A1". '%{line(".")}'. "uE0A3". '%{col(".")}'])

    这里提示位于 fiiire ( 燃烧的shell ) 上,只是具有一些乐趣:

    preview

    标志符号

    font forge

    示例配置

    我对 banga 电力线外壳的配置实例

    # original'patched': {
     'lock': u'uE0A2',
     'network': u'uE0A2',
     'separator': u'uE0B0',
     'separator_thin': u'uE0B1' },
     # angly 1'patched': {
     'lock': u'uE0A2',
     'network': u'uE0A2',
     'separator': u'uE0B8',
     'separator_thin': u'uE0B9' },
     # angly 2'patched': {
     'lock': u'uE0A2',
     'network': u'uE0A2',
     'separator': u'uE0BC',
     'separator_thin': u'uE0BD' },
     # curvy'patched': {
     'lock': u'uE0A2',
     'network': u'uE0A2',
     'separator': u'uE0B4',
     'separator_thin': u'uE0B5' },
     # flames (flamey)'patched': {
     'lock': u'uE0A2',
     'network': u'uE0A2',
     'separator': u'uE0C0',
     'separator_thin': u'uE0C1' },
     # lego (blocky)'patched': {
     'lock': u'uE0A2',
     'network': u'uE0A2',
     'separator': u'uE0CE',
     'separator_thin': u'uE0CF' },
     # pixelated blocks 2 (large) random fade (pixey)'patched': {
     'lock': u'uE0A2',
     'network': u'uE0A2',
     'separator': u'uE0C6',
     'separator_thin': u'uE0C6' }

    待办事项


    ext  POW  Extra  powerline  Glyph  分隔  
    相关文章