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
|
-- }}} 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
|
end
|
||||||
|
|
||||||
vim.cmd.NeoraySet('CursorAnimTime', 0)
|
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('TargetTPS', 120)
|
||||||
vim.cmd.NeoraySet('ContextMenuOn', false)
|
vim.cmd.NeoraySet('ContextMenuOn', false)
|
||||||
vim.cmd.NeoraySet('BoxDrawingOn', true)
|
vim.cmd.NeoraySet('BoxDrawingOn', true)
|
||||||
|
|
|
@ -55,14 +55,14 @@ function M.setup()
|
||||||
git_status = {
|
git_status = {
|
||||||
symbols = {
|
symbols = {
|
||||||
-- Change type
|
-- Change type
|
||||||
added = '', -- 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
|
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
|
deleted = '✖', -- this can only be used in the git_status source
|
||||||
renamed = '', -- this can only be used in the git_status source
|
renamed = '', -- this can only be used in the git_status source
|
||||||
-- Status type
|
-- Status type
|
||||||
untracked = '',
|
untracked = '',
|
||||||
ignored = '',
|
ignored = '',
|
||||||
unstaged = '',
|
unstaged = '',
|
||||||
staged = '',
|
staged = '',
|
||||||
conflict = '',
|
conflict = '',
|
||||||
}
|
}
|
||||||
|
@ -189,7 +189,7 @@ function M.setup()
|
||||||
},
|
},
|
||||||
git_status = {
|
git_status = {
|
||||||
window = {
|
window = {
|
||||||
position = 'float',
|
position = 'left',
|
||||||
mappings = {
|
mappings = {
|
||||||
['A'] = 'git_add_all',
|
['A'] = 'git_add_all',
|
||||||
['gu'] = 'git_unstage_file',
|
['gu'] = 'git_unstage_file',
|
||||||
|
|
|
@ -25,6 +25,7 @@ function M.setup()
|
||||||
vim.o.scrolloff = 3
|
vim.o.scrolloff = 3
|
||||||
vim.o.shiftwidth = 4
|
vim.o.shiftwidth = 4
|
||||||
vim.o.showcmd = true
|
vim.o.showcmd = true
|
||||||
|
vim.o.sidescrolloff = 5
|
||||||
vim.o.signcolumn = 'yes'
|
vim.o.signcolumn = 'yes'
|
||||||
vim.o.smartcase = true
|
vim.o.smartcase = true
|
||||||
vim.o.smartindent = true
|
vim.o.smartindent = true
|
||||||
|
@ -32,6 +33,8 @@ function M.setup()
|
||||||
vim.o.swapfile = true
|
vim.o.swapfile = true
|
||||||
vim.o.tabstop = 4
|
vim.o.tabstop = 4
|
||||||
vim.o.undofile = true
|
vim.o.undofile = true
|
||||||
|
vim.o.splitbelow = true
|
||||||
|
vim.o.splitright = true
|
||||||
--vim.o.clipboard = "unnamedplus"
|
--vim.o.clipboard = "unnamedplus"
|
||||||
|
|
||||||
-- Buffer
|
-- Buffer
|
||||||
|
|
Loading…
Add table
Reference in a new issue