nvim: lualine, gui tweaks
This commit is contained in:
		
							parent
							
								
									e8c4b685a1
								
							
						
					
					
						commit
						0710614c8e
					
				
					 2 changed files with 13 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -1,8 +1,7 @@
 | 
			
		|||
-- [[ plugins bootstrap ]]
 | 
			
		||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
 | 
			
		||||
local lazyurl = "https://github.com/folke/lazy.nvim.git"
 | 
			
		||||
local lazycmd = {"git", "clone", "--filter=blob:none", "--branch=stable",
 | 
			
		||||
                 lazyurl, lazypath}
 | 
			
		||||
local lazycmd = {"git", "clone", "--filter=blob:none", "--branch=stable", lazyurl, lazypath}
 | 
			
		||||
if not vim.loop.fs_stat(lazypath) then vim.fn.system(lazycmd) end
 | 
			
		||||
vim.opt.rtp:prepend(lazypath)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -16,6 +15,7 @@ require('lazy').setup {
 | 
			
		|||
    {'w0rp/ale', cmd = 'ALEEnable', ft = {'bash', 'go', 'lua', 'python', 'sh', 'zsh'}},
 | 
			
		||||
    'lewis6991/gitsigns.nvim',
 | 
			
		||||
    'lifepillar/vim-cheat40',
 | 
			
		||||
    'nvim-lualine/lualine.nvim',
 | 
			
		||||
    'tpope/vim-rsi',
 | 
			
		||||
    'tpope/vim-vinegar',
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -27,6 +27,14 @@ require('nvim-treesitter.configs').setup {
 | 
			
		|||
        enable = true
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
require('lualine').setup {
 | 
			
		||||
  options = {
 | 
			
		||||
    icons_enabled = false,
 | 
			
		||||
    theme = 'gruvbox',
 | 
			
		||||
    component_separators = { left = "\u{2022}", right = "\u{2022}"},
 | 
			
		||||
    section_separators = { left = nil, right = nil},
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
map('n', '<Leader>g', '<cmd>LazyGit<CR>')
 | 
			
		||||
map('n', '<Leader>L', '<cmd>Lazy<CR>')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,6 +25,6 @@ vim.o.keymap   = 'russian-jcukenwintype'
 | 
			
		|||
vim.o.iminsert = 0
 | 
			
		||||
vim.o.imsearch = 0
 | 
			
		||||
 | 
			
		||||
local fsize = '11'
 | 
			
		||||
if vim.loop.os_uname().sysname == 'Darwin' then fsize = '14' end
 | 
			
		||||
vim.o.guifont = 'VascadiaMod:h' .. fsize
 | 
			
		||||
local fsize = '13'
 | 
			
		||||
if vim.loop.os_uname().sysname == 'Darwin' then fsize = '16' end
 | 
			
		||||
vim.o.guifont = 'Fantasque Sans Mono:h' .. fsize
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue