Compare commits
2 commits
92f6f79316
...
a5277108a6
| Author | SHA1 | Date | |
|---|---|---|---|
| a5277108a6 | |||
| fcccbfbb0a |
5 changed files with 22 additions and 11 deletions
9
.gitmodules
vendored
9
.gitmodules
vendored
|
|
@ -19,12 +19,6 @@
|
|||
[submodule "pack/general/start/telescope.nvim"]
|
||||
path = pack/general/start/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"]
|
||||
path = pack/general/start/vim-markdown
|
||||
url = https://github.com/plasticboy/vim-markdown
|
||||
|
|
@ -97,3 +91,6 @@
|
|||
[submodule "pack/general/start/firenvim"]
|
||||
path = pack/general/opt/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
|
||||
|
|
|
|||
21
init.lua
21
init.lua
|
|
@ -23,6 +23,8 @@ opt.shortmess:append({ I = true })
|
|||
opt.whichwrap:append("<,>,[,]")
|
||||
opt.cmdheight = 2
|
||||
opt.showcmd = true
|
||||
opt.splitright = true
|
||||
opt.splitbelow = true
|
||||
g.mapleader = " "
|
||||
|
||||
---- Terminal ----
|
||||
|
|
@ -46,9 +48,22 @@ opt.listchars = {
|
|||
extends = "…",
|
||||
trail = "•",
|
||||
}
|
||||
-- vim-airline config ---
|
||||
g.airline_powerline_fonts = true
|
||||
g.airline_theme = "powerlineish"
|
||||
---- lualine.nvim ----
|
||||
require('lualine').setup({
|
||||
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 ----
|
||||
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