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

View file

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

View file

@ -8,15 +8,17 @@ cursor_blink_interval 0
# background_blur 20 # background_blur 20
# background_opacity 0.95 # background_opacity 0.95
active_border_color #cb4b16
inactive_border_color #93a1a1
tab_title_template " ┇{index}┇{title} " tab_title_template " ┇{index}┇{title} "
tab_bar_style separator tab_bar_style separator
tab_separator "" tab_separator ""
tab_bar_edge top tab_bar_edge top
active_tab_background #a89984 active_tab_background #93a1a1
active_tab_foreground #282828 active_tab_foreground #fdf6e3
active_tab_font_style italic active_tab_font_style italic
inactive_tab_foreground #ebdbb2 inactive_tab_background #eee8d5
inactive_tab_background #282828 inactive_tab_foreground #657b83
inactive_tab_font_style italic inactive_tab_font_style italic
enabled_layouts splits,stack enabled_layouts splits,stack
@ -64,27 +66,27 @@ mouse_map left click ungrabbed mouse_click_url_or_select
mouse_map alt+left press ungrabbed mouse_selection rectangle mouse_map alt+left press ungrabbed mouse_selection rectangle
# Gruvbox Dark # Gruvbox Dark
selection_foreground #282828 selection_foreground #586e75
selection_background #83a598 selection_background #eee8d5
foreground #ebdbb2 foreground #657b83
background #282828 background #fdf6e3
cursor #fb4934 cursor #cb4b16
cursor_text_color #282828 cursor_text_color #fdf6e3
color0 #282828 color0 #073642
color1 #cc241d color1 #dc322f
color2 #98971a color2 #859900
color3 #d79921 color3 #b58900
color4 #458588 color4 #268bd2
color5 #b16286 color5 #d33682
color6 #689d6a color6 #2aa198
color7 #a89984 color7 #eee8d5
color8 #928374 color8 #93a1a1
color9 #fb4934 color9 #cb4b16
color10 #b8bb26 color10 #586e75
color11 #fabd2f color11 #657b83
color12 #83a598 color12 #839496
color13 #d3869b color13 #6c71c4
color14 #8ec07c color14 #93a1a1
color15 #ebdbb2 color15 #fdf6e3