1
0
Fork 0

kitty: solarized; neovim: plugin cleanup

This commit is contained in:
Von Random 2023-08-30 20:03:29 +03:00
parent 3de4631607
commit 538490bf8b
3 changed files with 31 additions and 41 deletions

View file

@ -7,10 +7,8 @@ local function plugins(use)
branch = 'neovim'
}
use 'lifepillar/vim-cheat40'
use 'hoob3rt/lualine.nvim'
use 'hashivim/vim-terraform'
use 'khaveesh/vim-fish-syntax'
use 'lukas-reineke/indent-blankline.nvim'
use 'mhinz/vim-signify'
use 'tpope/vim-rsi'
use 'tpope/vim-vinegar'
@ -24,20 +22,9 @@ local function plugins(use)
cmd = 'ALEEnable'
}
end
--[[ init plugins and install packer if missing ]]
if require('packer_init').init(plugins) then return end
--[[ plugin configs ]]
require('lualine').setup{
options = {
icons_enabled = false,
section_separators = { left = nil, right = nil },
component_separators = { left = '\u{2022}', right = '\u{2022}' }
}
}
--[[ plugin maps ]]
--[[ plugin configs and maps ]]
map('n', '<Leader>?', '<cmd>Cheat40<CR>')
map('n', '<Leader>.', '<cmd>Telescope git_files<CR>')
map('n', '<Leader>,', '<cmd>Telescope buffers<CR>')

View file

@ -5,6 +5,7 @@ vim.o.colorcolumn = '80'
vim.o.relativenumber = true
vim.o.breakindent = true
vim.o.clipboard = 'unnamedplus'
vim.o.statusline = '[%F] %R%H%W%M %=[%{&fenc}/%{&ff}] %y [%4l/%L:%3v]'
vim.o.list = true
vim.o.listchars = 'tab:|_,nbsp:x,trail:*'
@ -16,7 +17,7 @@ vim.o.scrolloff = 3
vim.o.sidescrolloff = 15
vim.o.tabstop = 8
vim.o.softtabstop = 4
vim.o.softtabstop = 3
vim.o.shiftwidth = 4
vim.o.expandtab = true