vim: small tweak to status line
This commit is contained in:
parent
0dd6508519
commit
d990886087
1 changed files with 21 additions and 21 deletions
|
@ -1,25 +1,25 @@
|
|||
local MODE_MAP = {
|
||||
['n'] = 'Normal ',
|
||||
['no'] = 'O-Pend ',
|
||||
['nov'] = 'O-Pend ',
|
||||
['noV'] = 'O-Pend ',
|
||||
['no'] = 'O-Pend ',
|
||||
['niI'] = 'Normal ',
|
||||
['niR'] = 'Normal ',
|
||||
['niV'] = 'Normal ',
|
||||
['nt'] = 'Normal ',
|
||||
['v'] = 'Visual ',
|
||||
['vs'] = 'Visual ',
|
||||
['V'] = 'V-Line ',
|
||||
['Vs'] = 'V-Line ',
|
||||
['n'] = ' Normal',
|
||||
['no'] = ' O-Pend',
|
||||
['nov'] = ' O-Pend',
|
||||
['noV'] = ' O-Pend',
|
||||
['no'] = ' O-Pend',
|
||||
['niI'] = ' Normal',
|
||||
['niR'] = ' Normal',
|
||||
['niV'] = ' Normal',
|
||||
['nt'] = ' Normal',
|
||||
['v'] = ' Visual',
|
||||
['vs'] = ' Visual',
|
||||
['V'] = ' V-Line',
|
||||
['Vs'] = ' V-Line',
|
||||
[''] = 'V-Block',
|
||||
['s'] = 'V-Block',
|
||||
['s'] = 'Select ',
|
||||
['S'] = 'S-Line ',
|
||||
[''] = 'S-Block',
|
||||
['i'] = 'Insert ',
|
||||
['ic'] = 'Insert ',
|
||||
['ix'] = 'Insert ',
|
||||
['i'] = ' Insert',
|
||||
['ic'] = ' Insert',
|
||||
['ix'] = ' Insert',
|
||||
['R'] = 'Replace',
|
||||
['Rc'] = 'Replace',
|
||||
['Rx'] = 'Replace',
|
||||
|
@ -131,21 +131,21 @@ local inactive_sections = {
|
|||
lualine_a = {},
|
||||
lualine_b = { parts.visual_multi },
|
||||
lualine_c = { parts.branch, parts.diff, parts.split, parts.path },
|
||||
lualine_x = { 'diagnostics', parts.filetype, parts.fileformat, parts.progress },
|
||||
lualine_y = { parts.location },
|
||||
lualine_z = {},
|
||||
lualine_x = { 'diagnostics', parts.filetype },
|
||||
lualine_y = { parts.fileformat, parts.progress },
|
||||
lualine_z = { parts.location },
|
||||
}
|
||||
|
||||
require('lualine').setup {
|
||||
options = {
|
||||
icons_enabled = true,
|
||||
component_separators = { left = '', right = '' },
|
||||
section_separators = { left = '', right = '' },
|
||||
section_separators = { left = '', right = '' },
|
||||
theme = 'solarized',
|
||||
},
|
||||
|
||||
sections = vim.tbl_extend('force', inactive_sections, {
|
||||
lualine_a = { parts.mode, parts.paste },
|
||||
lualine_a = { parts.paste, parts.mode },
|
||||
}),
|
||||
|
||||
inactive_sections = inactive_sections,
|
||||
|
|
Loading…
Add table
Reference in a new issue