convert init.vim in modules, update zsh && git

This commit is contained in:
Smirnov Alexander 2021-06-02 19:40:42 +03:00
parent a4532907b4
commit eb4f1a5b5a
14 changed files with 170 additions and 73 deletions

View file

@ -0,0 +1,13 @@
require'colorizer'.setup(
{'*';}, {
mode = 'foreground';
RGB = true; -- #RGB hex codes
RRGGBB = true; -- #RRGGBB hex codes
RRGGBBAA = false; -- #RRGGBBAA hex codes
rgb_fn = true; -- CSS rgb() and rgba() functions
hsl_fn = false; -- CSS hsl() and hsla() functions
css = false; -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
css_fn = true; -- Enable all CSS *functions*: rgb_fn, hsl_fn
names = false; -- "Name" codes like Blue
}
)

View file

@ -0,0 +1,18 @@
require'gitsigns'.setup {
signs = {
add = {hl = 'GitSignsAdd', text = ''};
change = {hl = 'GitSignsChange', text = ''};
delete = {hl = 'GitSignsDelete', text = '_'};
topdelete = {hl = 'GitSignsDelete', text = ''};
changedelete = {hl = 'GitSignsChange', text = '~'};
};
watch_index = {
interval = 1000
};
current_line_blame = true,
sign_priority = 6,
update_debounce = 100,
status_formatter = nil,
use_decoration_api = true,
use_internal_diff = true,
}

View file

@ -0,0 +1,5 @@
require'lualine'.setup {
options = {
theme = "codedark"
};
}

View file

@ -0,0 +1,8 @@
local S = vim.g
-- Settings
S.nvim_tree_side = "right"
S.nvim_tree_ignore = {".git", "node_modules", "venv"}
S.nvim_tree_auto_close = 0
S.nvim_tree_quit_on_open = 0
S.nvim_tree_width = 24