sway binds, nvim lualine changes

This commit is contained in:
Marco Thomas
2022-09-12 22:55:26 +02:00
parent b94713c5f9
commit a9cb2e604c
4 changed files with 30 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ telescope.setup({
}
}
})
map("n", "<C-f>", "<cmd> Telescope find_files<CR>", default_opts) -- Show files
map("n", "<C-f>", "<cmd> Telescope find_files hidden=true<CR>", default_opts) -- Show files
map("n", "<C-s>", "<cmd> Telescope live_grep<CR>", default_opts) -- Grep through current directory
map("n", "<C-k>", "<cmd> Telescope keymaps<CR>", default_opts) -- Show all keys

View File

@@ -18,6 +18,23 @@ require('lualine').setup({
-- lualine comes with 'everforest' theme
theme = 'everforest',
},
tabline = {
lualine_a = {
{
'tabs',
mode = 2
},
},
lualine_b = {},
lualine_c = {
require('nvim-navic').get_location
},
lualine_x = {
'lsp_progress'
},
lualine_y = {},
lualine_z = {}
},
-- all sections from left to right
sections = {
lualine_a = {
@@ -33,10 +50,9 @@ require('lualine').setup({
'filename',
path = 1,
},
require('nvim-navic').get_location
-- require('nvim-navic').get_location
},
lualine_x = {
'lsp_progress',
{
'diagnostics',
diagnostics_color = {