VimPlugin: lightline: Difference between revisions

From wikinotes
(Created page with "lightweight viml powerline clone w/ api for hooking other plugin info. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/itchyny/lightline.vim |- |} </blockquote><!-- documentation -->")
 
No edit summary
Line 9: Line 9:
|}
|}
</blockquote><!-- documentation -->
</blockquote><!-- documentation -->
= Configuration =
<blockquote>
Information that is presented in the line is encapsulated into a **component**
<source lang="vim">
let g:lightline = {
      \ 'active': {
      \  'left': [ 'filename', 'modified', 'helloworld' ]
      \ },
      \ 'component': {
      \  'helloworld': 'Hello, world!'
      \ },
      \ }
</source>
</blockquote><!-- configuration -->

Revision as of 17:04, 10 February 2024

lightweight viml powerline clone w/ api for hooking other plugin info.

Documentation

github https://github.com/itchyny/lightline.vim

Configuration

Information that is presented in the line is encapsulated into a **component**

let g:lightline = {
      \ 'active': {
      \   'left': [ 'filename', 'modified', 'helloworld' ]
      \ },
      \ 'component': {
      \   'helloworld': 'Hello, world!'
      \ },
      \ }