diff --git a/dot_config/nvim/lua/configs/misc.lua b/dot_config/nvim/lua/configs/misc.lua index ff46b8e..38ece1c 100644 --- a/dot_config/nvim/lua/configs/misc.lua +++ b/dot_config/nvim/lua/configs/misc.lua @@ -19,3 +19,18 @@ vim.api.nvim_create_autocmd({ 'BufRead', 'BufNewFile' }, { }) -- }}} LAYA + +--- terminal {{{ +local termgroup = vim.api.nvim_create_augroup('terminal', { clear = true }) +vim.api.nvim_create_autocmd('TermOpen', { + group = termgroup, + callback = function() + -- local buf = args.buf + vim.api.nvim_win_set_option(0, 'number', false) + vim.api.nvim_win_set_option(0, 'signcolumn', 'no') + -- vim.wo.number = false + -- vim.wo.signcolumn = 'no' + vim.cmd('startinsert') + end +}) +--}}} diff --git a/dot_config/nvim/lua/configs/neoray.lua b/dot_config/nvim/lua/configs/neoray.lua index 41bc915..776a118 100644 --- a/dot_config/nvim/lua/configs/neoray.lua +++ b/dot_config/nvim/lua/configs/neoray.lua @@ -5,7 +5,7 @@ if not vim.g.neoray then end vim.cmd.NeoraySet('CursorAnimTime', 0) -vim.cmd.NeoraySet('Transparency', 0.95) +vim.cmd.NeoraySet('Transparency', '0.95') vim.cmd.NeoraySet('TargetTPS', 120) vim.cmd.NeoraySet('ContextMenuOn', false) vim.cmd.NeoraySet('BoxDrawingOn', true) diff --git a/dot_config/nvim/lua/configs/neotree.lua b/dot_config/nvim/lua/configs/neotree.lua index 8e1b6ab..44660d7 100644 --- a/dot_config/nvim/lua/configs/neotree.lua +++ b/dot_config/nvim/lua/configs/neotree.lua @@ -55,14 +55,14 @@ function M.setup() git_status = { symbols = { -- Change type - added = '', -- or "✚", but this is redundant info if you use git_status_colors on the name - modified = '', -- or "", but this is redundant info if you use git_status_colors on the name + added = '✚', -- or "✚", but this is redundant info if you use git_status_colors on the name + modified = '', -- or "", but this is redundant info if you use git_status_colors on the name deleted = '✖', -- this can only be used in the git_status source renamed = '', -- this can only be used in the git_status source -- Status type untracked = '', ignored = '', - unstaged = '', + unstaged = '', staged = '', conflict = '', } @@ -189,7 +189,7 @@ function M.setup() }, git_status = { window = { - position = 'float', + position = 'left', mappings = { ['A'] = 'git_add_all', ['gu'] = 'git_unstage_file', diff --git a/dot_config/nvim/lua/configs/options.lua b/dot_config/nvim/lua/configs/options.lua index ce044d3..af7a1ea 100644 --- a/dot_config/nvim/lua/configs/options.lua +++ b/dot_config/nvim/lua/configs/options.lua @@ -25,6 +25,7 @@ function M.setup() vim.o.scrolloff = 3 vim.o.shiftwidth = 4 vim.o.showcmd = true + vim.o.sidescrolloff = 5 vim.o.signcolumn = 'yes' vim.o.smartcase = true vim.o.smartindent = true @@ -32,6 +33,8 @@ function M.setup() vim.o.swapfile = true vim.o.tabstop = 4 vim.o.undofile = true + vim.o.splitbelow = true + vim.o.splitright = true --vim.o.clipboard = "unnamedplus" -- Buffer