summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-09-26 13:25:18 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-09-26 13:25:18 -0400
commitca6e5aa0b97fb708bcdbe42aa5170c53f1e2b0ec (patch)
tree3a77a074f720fad13451ac6f1865b531cd8617d9
parentd0b02c0c83308d261c67a8ce82f439f0e2282f73 (diff)
gutentags + Box drawing inside lualine
-rw-r--r--.gitignore87
-rw-r--r--lua/ben/plugins/fugitive.lua2
-rw-r--r--lua/ben/plugins/gutentags.lua4
-rw-r--r--lua/ben/plugins/lualine.lua6
4 files changed, 96 insertions, 3 deletions
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 {
{ "<leader>gm", "<cmd>Gvdiffsplit!<CR>" }, -- G.it M.erge
{ "<leader>gc", "<cmd>G commit<CR>" }, -- G.it C.ommit
{ "<leader>gu", "<cmd>G push<CR>" }, -- G.it push U.pstream
- { "<leader>gg", "<cmd>G pull<CR>" }, -- G.it G.et
+ { "<leader>gp", "<cmd>G pull<CR>" }, -- 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,