Skip to content
プロジェクト

ryanoasis/powerline-extra-symbols

GitHubで見る

概要

:arrow_forward: Powerlineのセパレーター用追加グリフ

開発ツール

この数値の測り方

計測したスター増加

24時間
0
7日間
+2
15日間
+1
1か月
+1

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Powerline Extra Symbols

Extra glyphs for your Powerline separators

These glyphs are now available in the patched fonts from: Nerd Fonts

preview

NOTE: This repo will soon probably just hold the glyphs.

Vim preview also showing column number glyph:

preview

  • vimrc settings to achieve the above:
    " testing extra-powerline-symbols
    
    " set font terminal font or set gui vim font
    " to a Nerd Font (https://github.com/ryanoasis/nerd-fonts):
    set guifont=DroidSansMono\ Nerd\ Font\ 12
    
    " testing rounded separators (extra-powerline-symbols):
    let g:airline_left_sep = "\uE0B4"
    let g:airline_right_sep = "\uE0B6"
    
    " set the CN (column number) symbol:
    let g:airline_section_z = airline#section#create(["\uE0A1" . '%{line(".")}' . "\uE0A3" . '%{col(".")}'])
    

This prompt is on fiiire (flaming shell), just having some fun:

preview

Glyphs

font forge

Sample Configurations

Example configuration I have for Banga's powerline-shell

        # 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'
        }

TODO

  • Add more triangles
  • Add more other type glyphs
  • Create Powerline symbol only font for fontconfig
  • Add to more fonts (just testing the included Droid font for now) see: Nerd Fonts
  • Add glyph set to patcher and fonts in Nerd Fonts

関連プロジェクトを探す

読み込み中…