Skip to content

Instantly share code, notes, and snippets.

@Comamoca
Created May 11, 2022 20:23
Show Gist options
  • Save Comamoca/b900720a7f549cdc5a8aa65e3e63ad53 to your computer and use it in GitHub Desktop.
Save Comamoca/b900720a7f549cdc5a8aa65e3e63ad53 to your computer and use it in GitHub Desktop.
Vim初心者向けのlightline.vimカスタマイズ
" もろもろの諸注意
" このスニペットはlightline.vimに依存しています。まずは頑張ってインストールしましょう。
" 実装はかなり適当になっています。(そもそもhelloworldコンポーネントはこういう使い方を想定していないはず)なので不具合が起きても保証しません。
" もし何かあったらTwitterのDM(@Comamoca_)で伝えてください。善処します。
let g:lightline = {
\ 'colorscheme': 'wombat',
\ 'active': {
\ 'left': [ [ 'mode', 'paste' ],
\ [ 'readonly', 'filename', 'modified', 'helloworld' ] ]
\ },
\ 'component': {
\ 'helloworld': 'ノーマル Esc & C-[ | 挿入 i | 保存 :w | 読み込み :e ファイル名 | 終了 :q | :はノーマルモードで打つ |'
\ },
\ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment