Update README.md
This commit is contained in:
parent
60d9157b41
commit
e1f59dd453
33
README.md
33
README.md
|
@ -193,6 +193,39 @@ Please create a pr if you managed to create an extension before me
|
|||
|
||||
</details>
|
||||
|
||||
### `.vimrc`/`init.vim` config
|
||||
|
||||
<details>
|
||||
<summary><b>vimrc config</b></summary>
|
||||
|
||||
```vim
|
||||
lua << EOF
|
||||
local lualine = require('lualine')
|
||||
lualine.theme = 'gruvbox'
|
||||
lualine.separator = '|'
|
||||
lualine.sections = {
|
||||
lualine_a = { 'mode' },
|
||||
lualine_b = { 'branch' },
|
||||
lualine_c = { 'filename' },
|
||||
lualine_x = { 'encoding', 'fileformat', 'filetype' },
|
||||
lualine_y = { 'progress' },
|
||||
lualine_z = { 'location' },
|
||||
lualine_diagnostics = { }
|
||||
}
|
||||
lualine.inactiveSections = {
|
||||
lualine_a = { },
|
||||
lualine_b = { },
|
||||
lualine_c = { 'filename' },
|
||||
lualine_x = { 'location' },
|
||||
lualine_y = { },
|
||||
lualine_z = { }
|
||||
}
|
||||
lualine.extensions = { 'fzf' }
|
||||
lualine.status()
|
||||
EOF
|
||||
```
|
||||
</details>
|
||||
|
||||
### Defining custom themes
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue