more fixups
This commit is contained in:
parent
44d03fb8ad
commit
831806c2dc
6 changed files with 21 additions and 31 deletions
|
|
@ -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' },
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@ o.list = true
|
|||
opt.listchars = {
|
||||
space = ' ',
|
||||
trail = '·',
|
||||
tab = ' ',
|
||||
}
|
||||
|
||||
opt.matchpairs:append('<:>')
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue