Created
May 11, 2022 20:23
-
-
Save Comamoca/b900720a7f549cdc5a8aa65e3e63ad53 to your computer and use it in GitHub Desktop.
Vim初心者向けのlightline.vimカスタマイズ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" もろもろの諸注意 | |
" このスニペットは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