lualine: initial config
This commit is contained in:
parent
fcccbfbb0a
commit
a5277108a6
5 changed files with 20 additions and 11 deletions
9
.gitmodules
vendored
9
.gitmodules
vendored
|
|
@ -19,12 +19,6 @@
|
||||||
[submodule "pack/general/start/telescope.nvim"]
|
[submodule "pack/general/start/telescope.nvim"]
|
||||||
path = pack/general/start/telescope.nvim
|
path = pack/general/start/telescope.nvim
|
||||||
url = https://github.com/nvim-telescope/telescope.nvim
|
url = https://github.com/nvim-telescope/telescope.nvim
|
||||||
[submodule "pack/general/start/vim-airline"]
|
|
||||||
path = pack/general/start/vim-airline
|
|
||||||
url = https://github.com/vim-airline/vim-airline
|
|
||||||
[submodule "pack/general/start/vim-airline-themes"]
|
|
||||||
path = pack/general/start/vim-airline-themes
|
|
||||||
url = https://github.com/vim-airline/vim-airline-themes
|
|
||||||
[submodule "pack/general/start/vim-markdown"]
|
[submodule "pack/general/start/vim-markdown"]
|
||||||
path = pack/general/start/vim-markdown
|
path = pack/general/start/vim-markdown
|
||||||
url = https://github.com/plasticboy/vim-markdown
|
url = https://github.com/plasticboy/vim-markdown
|
||||||
|
|
@ -97,3 +91,6 @@
|
||||||
[submodule "pack/general/start/firenvim"]
|
[submodule "pack/general/start/firenvim"]
|
||||||
path = pack/general/opt/firenvim
|
path = pack/general/opt/firenvim
|
||||||
url = https://github.com/glacambre/firenvim
|
url = https://github.com/glacambre/firenvim
|
||||||
|
[submodule "pack/general/start/lualine.nvim"]
|
||||||
|
path = pack/general/start/lualine.nvim
|
||||||
|
url = https://github.com/nvim-lualine/lualine.nvim
|
||||||
|
|
|
||||||
19
init.lua
19
init.lua
|
|
@ -48,9 +48,22 @@ opt.listchars = {
|
||||||
extends = "…",
|
extends = "…",
|
||||||
trail = "•",
|
trail = "•",
|
||||||
}
|
}
|
||||||
-- vim-airline config ---
|
---- lualine.nvim ----
|
||||||
g.airline_powerline_fonts = true
|
require('lualine').setup({
|
||||||
g.airline_theme = "powerlineish"
|
options = {
|
||||||
|
component_separators = { left = '│', right = '│' },
|
||||||
|
section_separators = { left = '', right = '' },
|
||||||
|
globalstatus = true,
|
||||||
|
},
|
||||||
|
sections = {
|
||||||
|
lualine_a = { 'mode' },
|
||||||
|
lualine_b = { 'diagnostics' },
|
||||||
|
lualine_c = { 'filename' },
|
||||||
|
lualine_x = { 'encoding', 'fileformat', 'filetype' },
|
||||||
|
lualine_y = { 'searchcount', 'progress' },
|
||||||
|
lualine_z = { 'location' }
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
---- Maps ----
|
---- Maps ----
|
||||||
vim.keymap.set("!", "<C-BS>", "<C-w>")
|
vim.keymap.set("!", "<C-BS>", "<C-w>")
|
||||||
|
|
|
||||||
1
pack/general/start/lualine.nvim
Submodule
1
pack/general/start/lualine.nvim
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 05d78e9fd0cdfb4545974a5aa14b1be95a86e9c9
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 423fe9e2acbe64bd8637d0bedff132972d7603de
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit dd81554c2231e438f6d0e8056ea38fd0e80ac02a
|
|
||||||
Loading…
Add table
Reference in a new issue