diff --git a/README.md b/README.md index 540a7a3..b94c1a5 100644 --- a/README.md +++ b/README.md @@ -193,6 +193,39 @@ Please create a pr if you managed to create an extension before me +### `.vimrc`/`init.vim` config + +
+vimrc config + +```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 +``` +
+ ### Defining custom themes