feat(doom): (Maybe temporary) switch to doom emacs

* Surfingkeys: Add pixiv site specific keymaps
* Emacs: (Maybe temporary) switch to doom emacs
* Hyprland: Add shortcuts to screenshot
* nvim: Conceal on Zero-Width Space
This commit is contained in:
js0ny 2025-02-02 17:32:23 +00:00
parent 5533374bc3
commit c353d008a2
10 changed files with 472 additions and 3 deletions

View file

@ -55,10 +55,22 @@ opt.laststatus = 0
opt.cmdheight = 0
-- Scroll
opt.scrolloff = 5 -- Always show 5 lines above/below cursor
opt.scrolloff = 5 -- Always show 5 lines above/below cursor
opt.sidescrolloff = 10 -- Always show 10 columns left/right of cursor
-- Conceal: Hide some characters, might be useful for markdown and LaTeX
opt.conceallevel = 2
vim.o.sessionoptions = "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions"
-- Hide zero-width space
vim.api.nvim_create_autocmd("FileType", {
pattern = "*",
callback = function()
vim.opt_local.conceallevel = 2
vim.cmd([[
syntax match ZeroWidthSpace /\%u200b/ conceal
highlight link ZeroWidthSpace Conceal
]])
end,
})