minor changes
This commit is contained in:
@@ -24,6 +24,7 @@ ct.map('n', '<Leader>W', ':bprevious<LF>')
|
||||
|
||||
-- close buffer
|
||||
ct.map('n', '<Leader>q', ':bd<LF>')
|
||||
ct.map('n', '<Leader>wq', '<cmd>w<LF><cmd>bd<LF>')
|
||||
|
||||
--
|
||||
-- Commands
|
||||
|
||||
@@ -2,35 +2,35 @@ return {
|
||||
--
|
||||
-- Theme
|
||||
--
|
||||
{
|
||||
'navarasu/onedark.nvim',
|
||||
lazy = false,
|
||||
opts = {
|
||||
style = 'darker',
|
||||
toggle_style_key = '<leader>c',
|
||||
toggle_style_list = {'darker', 'light'},
|
||||
},
|
||||
config = function()
|
||||
require('onedark').load()
|
||||
end,
|
||||
--[[ keys = {
|
||||
{
|
||||
'<Leader>c',
|
||||
function()
|
||||
if vim.o.background == 'light' then
|
||||
vim.o.background = 'dark'
|
||||
else
|
||||
vim.o.background = 'light'
|
||||
-- vim.api.nvim_set_hl(0, 'ColorColumn', {bg = '#c0bfbc'})
|
||||
vim.cmd('redraw')
|
||||
vim.cmd('redraw')
|
||||
end
|
||||
end,
|
||||
desc = 'toggle color themes'
|
||||
},
|
||||
}, --]]
|
||||
-- {
|
||||
-- 'navarasu/onedark.nvim',
|
||||
-- lazy = false,
|
||||
-- opts = {
|
||||
-- style = 'darker',
|
||||
-- toggle_style_key = '<leader>c',
|
||||
-- toggle_style_list = {'darker', 'light'},
|
||||
-- },
|
||||
-- config = function()
|
||||
-- require('onedark').load()
|
||||
-- end,
|
||||
-- --[[ keys = {
|
||||
-- {
|
||||
-- '<Leader>c',
|
||||
-- function()
|
||||
-- if vim.o.background == 'light' then
|
||||
-- vim.o.background = 'dark'
|
||||
-- else
|
||||
-- vim.o.background = 'light'
|
||||
-- -- vim.api.nvim_set_hl(0, 'ColorColumn', {bg = '#c0bfbc'})
|
||||
-- vim.cmd('redraw')
|
||||
-- vim.cmd('redraw')
|
||||
-- end
|
||||
-- end,
|
||||
-- desc = 'toggle color themes'
|
||||
-- },
|
||||
-- }, --]]
|
||||
|
||||
},
|
||||
-- },
|
||||
|
||||
--
|
||||
-- Indentation
|
||||
|
||||
@@ -17,9 +17,10 @@ vim.opt.list = true
|
||||
-- Misc.
|
||||
--
|
||||
ct.set('ruler', 'showcmd', 'cursorline', 'title')
|
||||
vim.cmd [[ colo selenized_bw ]]
|
||||
-- ct.set('number')
|
||||
ct.set(
|
||||
{'termguicolors', true},
|
||||
-- {'termguicolors', true},
|
||||
{'signcolumn', 'number'},
|
||||
{'conceallevel', 0},
|
||||
{'colorcolumn', '81,121'},
|
||||
|
||||
Reference in New Issue
Block a user