nvim: remove lualine, colors; tmux: default status line
This commit is contained in:
		
							parent
							
								
									9827fe645b
								
							
						
					
					
						commit
						96f5ae8595
					
				
					 2 changed files with 4 additions and 14 deletions
				
			
		| 
						 | 
				
			
			@ -13,28 +13,18 @@ require('lazy').setup {
 | 
			
		|||
    {'w0rp/ale', cmd = 'ALEEnable', ft = {'bash', 'sh', 'zsh', 'lua', 'python'}},
 | 
			
		||||
    'lewis6991/gitsigns.nvim',
 | 
			
		||||
    'lifepillar/vim-cheat40',
 | 
			
		||||
    'nvim-lualine/lualine.nvim',
 | 
			
		||||
    'tpope/vim-rsi',
 | 
			
		||||
    'tpope/vim-vinegar',
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
--[[ plugin configs and maps ]]
 | 
			
		||||
local conf_ll_sep = "\u{2022}"
 | 
			
		||||
local conf_lualine = {
 | 
			
		||||
    options = {
 | 
			
		||||
        icons_enabled = false,
 | 
			
		||||
        theme = 'solarized_light',
 | 
			
		||||
        component_separators = { left = ll_sep, right = ll_sep},
 | 
			
		||||
        section_separators = { left = null, right = null}
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
local conf_nvim_treesitter = {
 | 
			
		||||
        highlight = {
 | 
			
		||||
            enable = true
 | 
			
		||||
        }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
require('lualine').setup(conf_lualine)
 | 
			
		||||
require('gitsigns').setup()
 | 
			
		||||
if not vim.fn.has('Windows') then
 | 
			
		||||
    require('nvim-treesitter.configs').setup(conf_nvim_treesitter)
 | 
			
		||||
| 
						 | 
				
			
			@ -47,7 +37,8 @@ map('n', '<Leader>,', '<cmd>Telescope buffers<CR>')
 | 
			
		|||
 | 
			
		||||
--[[ theme ]]
 | 
			
		||||
vim.g.solarized_extra_hi_groups = 1
 | 
			
		||||
vim.o.termguicolors = true
 | 
			
		||||
vim.g.solarized_t_Co = 16
 | 
			
		||||
vim.o.termguicolors = false
 | 
			
		||||
vim.o.bg = 'light'
 | 
			
		||||
 | 
			
		||||
vim.cmd [[colorscheme solarized8]]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
unbind C-b
 | 
			
		||||
bind C-g send-prefix
 | 
			
		||||
bind C-t send-prefix
 | 
			
		||||
bind v split-window -h
 | 
			
		||||
bind s split-window -v
 | 
			
		||||
bind h select-pane -L
 | 
			
		||||
| 
						 | 
				
			
			@ -9,7 +9,7 @@ bind l select-pane -R
 | 
			
		|||
bind t command-prompt -p "attach pane to:"  "join-pane -t '%%'"
 | 
			
		||||
bind y command-prompt break-pane
 | 
			
		||||
bind N new-session
 | 
			
		||||
set -g prefix C-g
 | 
			
		||||
set -g prefix C-t
 | 
			
		||||
set -g mode-keys "vi"
 | 
			
		||||
set -g escape-time "0"
 | 
			
		||||
set -g history-limit "10000"
 | 
			
		||||
| 
						 | 
				
			
			@ -35,7 +35,6 @@ set -g message-style "bg=blue,fg=white"
 | 
			
		|||
set -g message-command-style "bg=red,fg=white"
 | 
			
		||||
set -g status on
 | 
			
		||||
set -g status-style "fg=black,bg=white"
 | 
			
		||||
set -g status-format[0] "#[fg=brightred,bg=black,italics] #h[#S] #[default]\ue0b0 #{W: #I:#W ,#[reverse] #I:#W #[noreverse]} #[align=right]\ue0b2#[reverse] %a %e %k:%M "
 | 
			
		||||
set -g status-interval 2
 | 
			
		||||
set -g status-position "bottom"
 | 
			
		||||
set -g status-justify "left"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue