From e1f59dd453f070ccdd16e4798e8258b6ca1f8d9d Mon Sep 17 00:00:00 2001 From: hoob3rt <41551030+hoob3rt@users.noreply.github.com> Date: Thu, 31 Dec 2020 02:30:23 +0100 Subject: [PATCH] Update README.md --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) 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