1
0
Fork 0

nvim: tabstop 8 to avoid a bug in a plugin; wezterm: some deprecations cleaned up

This commit is contained in:
Von Random 2023-03-21 13:08:40 +02:00
parent 75f8289854
commit d20314a03b
2 changed files with 8 additions and 8 deletions

View file

@ -7,7 +7,7 @@ vim.o.breakindent = true
vim.o.clipboard = 'unnamedplus'
vim.o.list = true
vim.o.listchars = 'tab:==>,nbsp:x,trail:*'
vim.o.listchars = 'tab:|_,nbsp:x,trail:*'
vim.o.ignorecase = true
vim.o.smartcase = true
@ -15,7 +15,7 @@ vim.o.smartcase = true
vim.o.scrolloff = 3
vim.o.sidescrolloff = 15
vim.o.tabstop = 3
vim.o.tabstop = 8
vim.o.softtabstop = 4
vim.o.shiftwidth = 4
vim.o.expandtab = true
@ -26,4 +26,4 @@ vim.o.imsearch = 0
local fsize = '11'
if vim.loop.os_uname().sysname == 'Darwin' then fsize = '14' end
vim.o.guifont = 'vcascadia:h' .. fsize
vim.o.guifont = 'vcascadia:h' .. fsize

View file

@ -3,7 +3,7 @@ local act = wt.action
local font = 'Cascadia Mono PL'
local font_features = { 'ss01=1', 'ss02=1', 'ss19=1' }
local fontsizes = { Darwin = 14, others = 11 }
local theme = 'Gruvbox Dark'
local theme = 'GruvboxDark'
local overrides = {
fonts = {
font = wt.font('JetBrains Mono'),
@ -36,8 +36,8 @@ local custom_colors = {
local leader_key = { key = 'g', mods = 'CTRL', timeout_milliseconds = 1000 }
local keybinds = {
{ key = 'c', mods = 'META', action = act.Copy },
{ key = 'v', mods = 'META', action = act.Paste },
{ key = 'c', mods = 'META', action = act.CopyTo('Clipboard') },
{ key = 'v', mods = 'META', action = act.PasteFrom('Clipboard') },
-- themes
{ key = 'f', mods = 'LEADER', action = act.EmitEvent('override-fonts') },
{ key = 't', mods = 'LEADER', action = act.EmitEvent('override-theme') },
@ -47,8 +47,8 @@ local keybinds = {
{ key = 'n', mods = 'LEADER', action = act.ActivateTabRelative( 1) },
{ key = 'p', mods = 'LEADER', action = act.ActivateTabRelative(-1) },
-- panes
{ key = 's', mods = 'LEADER', action = act.SplitVertical { domain = 'CurrentPaneDomain' } },
{ key = 'v', mods = 'LEADER', action = act.SplitHorizontal{ domain = 'CurrentPaneDomain' } },
{ key = 's', mods = 'LEADER', action = act.SplitVertical { domain = 'CurrentPaneDomain' } },
{ key = 'v', mods = 'LEADER', action = act.SplitHorizontal { domain = 'CurrentPaneDomain' } },
{ key = 'h', mods = 'LEADER', action = act.ActivatePaneDirection('Left') },
{ key = 'j', mods = 'LEADER', action = act.ActivatePaneDirection('Down') },
{ key = 'k', mods = 'LEADER', action = act.ActivatePaneDirection('Up') },