Skip to content

Commit 24a0abe

Browse files
committed
Added lualine to nvim
1 parent 822d07e commit 24a0abe

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed

nvim/.config/nvim/init.vim

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Plug 'npxbr/glow.nvim', {'do': ':GlowInstall'}
2828
Plug 'vimsence/vimsence'
2929
Plug 'kyazdani42/nvim-web-devicons'
3030
Plug 'akinsho/nvim-bufferline.lua'
31+
Plug 'hoob3rt/lualine.nvim'
3132
call plug#end()
3233

3334
if has('termguicolors')
@@ -69,6 +70,7 @@ set incsearch
6970
set inccommand=split
7071
set showmatch
7172
set showtabline=1
73+
set noshowmode
7274

7375
augroup LuaHighlight
7476
autocmd!

nvim/.config/nvim/plugin/line.lua

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
local custom_ayu_dark = require'lualine.themes.ayu_dark'
2+
custom_ayu_dark.normal.c.bg = '#08090D'
3+
custom_ayu_dark.normal.a.bg = '#161D26'
4+
custom_ayu_dark.normal.a.fg = '#4B5263'
5+
custom_ayu_dark.insert.a.bg = '#60AFEF'
6+
custom_ayu_dark.visual.a.bg = '#C376DB'
7+
8+
require('lualine').setup({
9+
options = {
10+
icons_enabled = true,
11+
theme = custom_ayu_dark,
12+
component_separators = { '', ' '},
13+
-- section_separators = { '', '' },
14+
section_separators = { '', '' },
15+
},
16+
sections = {
17+
lualine_a = { 'mode' },
18+
lualine_b = { 'branch' },
19+
lualine_c = { 'filename' },
20+
lualine_x = {
21+
{
22+
'diagnostics',
23+
sources = { 'nvim_lsp' },
24+
symbols = {
25+
hint = ' 💡 ',
26+
info = ' 🤟 ',
27+
warning = ' 💩 ',
28+
error = ' 🔥 '
29+
},
30+
sections = { 'error', 'warn', 'info', 'hint' },
31+
},
32+
'progress',
33+
},
34+
lualine_y = { 'filetype' },
35+
lualine_z = { 'location' }
36+
}
37+
})

skhd/.skhdrc

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ alt + shift - p : $HOME/bin/screenshot
66
alt + shift - s : $HOME/bin/spaceshot
77
alt + shift - n : $HOME/bin/nuuls
88
alt + shift - u : open -a Firefox "https://say.tim.lgbt/?content=$(pbpaste)"
9+
alt + shift - t : echo ${"$(pbpaste)/vm.tiktok.com/tiktok.tim.rip/v"} | pbcopy

0 commit comments

Comments
 (0)