summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/binds.lua1
-rw-r--r--lua/plugins/50_ui.lua56
-rw-r--r--lua/ui.lua3
3 files changed, 31 insertions, 29 deletions
diff --git a/lua/binds.lua b/lua/binds.lua
index aef2664..f516f34 100644
--- a/lua/binds.lua
+++ b/lua/binds.lua
@@ -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
diff --git a/lua/plugins/50_ui.lua b/lua/plugins/50_ui.lua
index 798bfb5..6b2e833 100644
--- a/lua/plugins/50_ui.lua
+++ b/lua/plugins/50_ui.lua
@@ -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
diff --git a/lua/ui.lua b/lua/ui.lua
index 30c4685..f3f25e9 100644
--- a/lua/ui.lua
+++ b/lua/ui.lua
@@ -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'},