nvim
This commit is contained in:
parent
25b7192738
commit
931ec0ea29
4 changed files with 23 additions and 5 deletions
|
@ -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
|
||||
})
|
||||
--}}}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue