Update lualine
Signed-off-by: Ryan <ryan@alien.gov>
This commit is contained in:
parent
b1f6665d59
commit
d39f6a98db
@ -17,7 +17,6 @@ o.ignorecase = true
|
||||
o.smartcase = true
|
||||
o.smartindent = true
|
||||
o.autoindent = true
|
||||
o.mouse = "i"
|
||||
|
||||
-- leader settings
|
||||
global.mapleader = ' '
|
||||
|
@ -151,9 +151,10 @@ local plugins = {
|
||||
dependencies = { 'nvim-lua/plenary.nvim' },
|
||||
event = "CmdlineEnter",
|
||||
keys = {
|
||||
vim.keymap.set('', '<leader>tf', ':Telescope fd<cr>'),
|
||||
vim.keymap.set('', '<leader>t/', ':Telescope live_grep<cr>'),
|
||||
vim.keymap.set('', '<leader>t/', ':Telescope lsp_dynamic_workspace_symbols<cr>'),
|
||||
vim.keymap.set('', '<leader>tg', ':Telescope live_grep<cr>'),
|
||||
vim.keymap.set('', '<leader>tb', ':Telescope buffers<cr>'),
|
||||
vim.keymap.set('', '<leader>tf', ':Telescope fd<cr>'),
|
||||
},
|
||||
config = function()
|
||||
require("plugins.telescope")
|
||||
|
@ -8,8 +8,16 @@ require'lualine'.setup {
|
||||
},
|
||||
sections = {
|
||||
lualine_a = { 'mode' },
|
||||
lualine_b = {'branch'},
|
||||
lualine_c = {'filename', 'diagonostics'},
|
||||
lualine_b = {
|
||||
'branch',
|
||||
},
|
||||
lualine_c = {
|
||||
{
|
||||
'filename',
|
||||
path = 1
|
||||
},
|
||||
'diff',
|
||||
},
|
||||
lualine_x = { 'encoding', 'fileformat', 'filetype' },
|
||||
lualine_y = { 'progress' },
|
||||
lualine_z = { 'location' }
|
||||
|
Loading…
Reference in New Issue
Block a user