more fixups

This commit is contained in:
Barrett Ruth 2026-02-11 14:42:25 -05:00
parent 44d03fb8ad
commit 831806c2dc
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
6 changed files with 21 additions and 31 deletions

View file

@ -348,30 +348,4 @@ return {
{ 'ySs', mode = 'n' },
},
},
{
'saghen/blink.indent',
opts = {
blocked = {
filetypes = {
include_defaults = true,
'fugitive',
'markdown',
'typst',
'git',
},
},
static = {
char = '',
},
scope = { enabled = false },
},
},
{
'zeybek/camouflage.nvim',
event = 'VeryLazy',
config = true,
keys = {
{ '<leader>C', '<cmd>CamouflageToggle<cr>', desc = 'Toggle Camouflage' },
},
}
}

View file

@ -73,3 +73,14 @@ vim.api.nvim_create_autocmd('WinLeave', {
vim.wo.cursorline = false
end,
})
vim.api.nvim_create_autocmd('BufEnter', {
group = aug,
callback = function()
local sw = vim.bo.shiftwidth
if sw <= 0 then return end
vim.opt_local.listchars:append({
leadmultispace = '' .. string.rep(' ', sw - 1),
})
end,
})

View file

@ -35,7 +35,6 @@ o.list = true
opt.listchars = {
space = ' ',
trail = '·',
tab = ' ',
}
opt.matchpairs:append('<:>')

View file

@ -50,8 +50,8 @@ unbind \'; bind \' splitw -hc '#{pane_current_path}'
unbind \-; bind \- splitw -vc '#{pane_current_path}'
unbind y; bind y if -F '#{pane_in_mode}' 'send q' 'copy-mode'
unbind /; bind / if -F '#{pane_in_mode}' 'send q' 'copy-mode \; send /'
unbind ?; bind ? if -F '#{pane_in_mode}' 'send q' 'copy-mode \; send ?'
unbind /; bind / if -F '#{pane_in_mode}' 'send q' 'copy-mode ; send /'
unbind ?; bind ? if -F '#{pane_in_mode}' 'send q' 'copy-mode ; send ?'
bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi y send -X copy-pipe-and-cancel 'test -n "$WAYLAND_DISPLAY" && wl-copy || xclip -in -sel c'