From ca6e5aa0b97fb708bcdbe42aa5170c53f1e2b0ec Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Tue, 26 Sep 2023 13:25:18 -0400 Subject: gutentags + Box drawing inside lualine --- .gitignore | 87 +++++++++++++++++++++++++++++++++++++++++++ lua/ben/plugins/fugitive.lua | 2 +- lua/ben/plugins/gutentags.lua | 4 ++ lua/ben/plugins/lualine.lua | 6 ++- 4 files changed, 96 insertions(+), 3 deletions(-) create mode 100644 lua/ben/plugins/gutentags.lua diff --git a/.gitignore b/.gitignore index e033bc6..2dacdbe 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,88 @@ +# Created by https://www.toptal.com/developers/gitignore/api/vim,lua,tags +# Edit at https://www.toptal.com/developers/gitignore?templates=vim,lua,tags + +### Lua ### +# Compiled Lua sources +luac.out + +# luarocks build files +*.src.rock +*.zip +*.tar.gz + +# Object files +*.o +*.os +*.ko +*.obj +*.elf + +# Precompiled Headers +*.gch +*.pch + +# Libraries +*.lib +*.a +*.la +*.lo +*.def +*.exp + +# Shared objects (inc. Windows DLLs) +*.dll +*.so +*.so.* +*.dylib + +# Executables +*.exe +*.out +*.app +*.i*86 +*.x86_64 +*.hex + + +### Tags ### +# Ignore tags created by etags, ctags, gtags (GNU global) and cscope +TAGS +.TAGS +!TAGS/ +tags +.tags +!tags/ +gtags.files +GTAGS +GRTAGS +GPATH +GSYMS +cscope.files +cscope.out +cscope.in.out +cscope.po.out + + +### Vim ### +# Swap +[._]*.s[a-v][a-z] +!*.svg # comment out if you don't need vector files +[._]*.sw[a-p] +[._]s[a-rt-v][a-z] +[._]ss[a-gi-z] +[._]sw[a-p] + +# Session +Session.vim +Sessionx.vim + +# Temporary +.netrwhist +*~ +# Auto-generated tag files +# Persistent undo +[._]*.un~ + +# End of https://www.toptal.com/developers/gitignore/api/vim,lua,tags + lazy-lock.json diff --git a/lua/ben/plugins/fugitive.lua b/lua/ben/plugins/fugitive.lua index 6d03e43..e6cf21d 100644 --- a/lua/ben/plugins/fugitive.lua +++ b/lua/ben/plugins/fugitive.lua @@ -8,6 +8,6 @@ return { { "gm", "Gvdiffsplit!" }, -- G.it M.erge { "gc", "G commit" }, -- G.it C.ommit { "gu", "G push" }, -- G.it push U.pstream - { "gg", "G pull" }, -- G.it G.et + { "gp", "G pull" }, -- G.it P.ull }, } diff --git a/lua/ben/plugins/gutentags.lua b/lua/ben/plugins/gutentags.lua new file mode 100644 index 0000000..76223cf --- /dev/null +++ b/lua/ben/plugins/gutentags.lua @@ -0,0 +1,4 @@ +return { + "ludovicchabant/vim-gutentags", + event = { "BufReadPre", "BufNewFile" }, +} diff --git a/lua/ben/plugins/lualine.lua b/lua/ben/plugins/lualine.lua index e5b080d..6f29613 100644 --- a/lua/ben/plugins/lualine.lua +++ b/lua/ben/plugins/lualine.lua @@ -7,8 +7,10 @@ return { options = { theme = "everforest", icons_enabled = true, - section_separators = { left = "", right = "" }, - component_separators = { left = "", right = "" }, + -- section_separators = { left = "", right = "" }, + section_separators = { left = "▓", right = "▓" }, + -- component_separators = { left = "", right = "" }, + component_separators = { left = "░", right = "░" }, globalstatus = false, ignore_focus = {}, always_divide_middle = true, -- cgit v1.2.3