Compare commits
No commits in common. "a89d41adf95ddd5f53c5e0385a5d0cd93236ec9e" and "05396378cf66d3f9510486b515ddde711e62bec4" have entirely different histories.
a89d41adf9
...
05396378cf
7
.gitmodules
vendored
7
.gitmodules
vendored
@ -39,6 +39,10 @@
|
|||||||
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-treesitter"]
|
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-treesitter"]
|
||||||
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-treesitter
|
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-treesitter
|
||||||
url = https://github.com/nvim-treesitter/nvim-treesitter.git
|
url = https://github.com/nvim-treesitter/nvim-treesitter.git
|
||||||
|
# intelligent motions based on treesitter
|
||||||
|
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-treesitter-textobjects"]
|
||||||
|
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-treesitter-textobjects
|
||||||
|
url = https://github.com/nvim-treesitter/nvim-treesitter-textobjects
|
||||||
|
|
||||||
# plain-text-accounting ledger ftplugin
|
# plain-text-accounting ledger ftplugin
|
||||||
# ftplugin/ledger.vim
|
# ftplugin/ledger.vim
|
||||||
@ -103,6 +107,9 @@
|
|||||||
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-treesitter.path"]
|
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-treesitter.path"]
|
||||||
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-treesitter
|
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-treesitter
|
||||||
url = https://github.com/nvim-treesitter/nvim-treesitter.git
|
url = https://github.com/nvim-treesitter/nvim-treesitter.git
|
||||||
|
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-treesitter-textobjects.path"]
|
||||||
|
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-treesitter-textobjects
|
||||||
|
url = https://github.com/nvim-treesitter/nvim-treesitter-textobjects
|
||||||
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_vim-ledger.path"]
|
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_vim-ledger.path"]
|
||||||
path = src/dot_local/share/nvim/site/pack/3pp/start/external_vim-ledger
|
path = src/dot_local/share/nvim/site/pack/3pp/start/external_vim-ledger
|
||||||
url = https://github.com/ledger/vim-ledger.git
|
url = https://github.com/ledger/vim-ledger.git
|
||||||
|
BIN
preview.png
BIN
preview.png
Binary file not shown.
Before Width: | Height: | Size: 845 KiB After Width: | Height: | Size: 856 KiB |
BIN
preview2.png
BIN
preview2.png
Binary file not shown.
Before Width: | Height: | Size: 907 KiB After Width: | Height: | Size: 1.5 MiB |
1
programs
1
programs
@ -28,7 +28,6 @@ xkblayout-state
|
|||||||
xss-lock
|
xss-lock
|
||||||
qutebrowser
|
qutebrowser
|
||||||
neovim
|
neovim
|
||||||
tree-sitter-grammars
|
|
||||||
tmux
|
tmux
|
||||||
fish
|
fish
|
||||||
ffmpeg
|
ffmpeg
|
||||||
|
@ -1,10 +1,15 @@
|
|||||||
{{- if eq .chezmoi.os "windows" }}
|
{{if eq .chezmoi.os "windows" }}
|
||||||
shell = "nu"
|
shell = "nu"
|
||||||
{{end -}}
|
{{end}}
|
||||||
|
|
||||||
[window]
|
[window]
|
||||||
padding = { x = 8, y = 8 }
|
padding = { x = 8, y = 8 }
|
||||||
dimensions = { columns = 120, lines = 70 }
|
dimensions = { columns = 120, lines = 70 }
|
||||||
opacity = 0.6
|
{{if eq .chezmoi.os "linux" -}}
|
||||||
|
opacity = 0.0
|
||||||
|
{{- else -}}
|
||||||
|
opacity = 1.0
|
||||||
|
{{- end}}
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
normal = { family = "JetBrainsMono" }
|
normal = { family = "JetBrainsMono" }
|
||||||
@ -42,8 +47,8 @@ bindings = [
|
|||||||
|
|
||||||
[bell]
|
[bell]
|
||||||
animation = "EaseOutQuint"
|
animation = "EaseOutQuint"
|
||||||
duration = 250
|
duration = 150
|
||||||
color = "#666666"
|
color = "#000000"
|
||||||
|
|
||||||
# uRls
|
# uRls
|
||||||
[[hints.enabled]]
|
[[hints.enabled]]
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
gap_size = 5
|
gap_size = 5
|
||||||
|
|
||||||
frame_width = 2
|
frame_width = 2
|
||||||
corner_radius = 10
|
|
||||||
|
|
||||||
origin = bottom-right
|
origin = bottom-right
|
||||||
offset = 60x70
|
offset = 60x70
|
||||||
|
@ -15,7 +15,7 @@ alias cp='cp -n'
|
|||||||
abbr -a -- ds swal;
|
abbr -a -- ds swal;
|
||||||
|
|
||||||
# zathura
|
# zathura
|
||||||
alias thur='swal -c Zathura; zathura'
|
alias thur='zathura'
|
||||||
# stricter sandbox zathura
|
# stricter sandbox zathura
|
||||||
alias zathsec='/usr/bin/zathura-sandbox -c ~/.config/zathura-sec'
|
alias zathsec='/usr/bin/zathura-sandbox -c ~/.config/zathura-sec'
|
||||||
|
|
||||||
@ -39,6 +39,10 @@ end
|
|||||||
# Neomutt configs
|
# Neomutt configs
|
||||||
function neomutt.local; neomutt -F .config/neomutt/neomuttrc.local; end
|
function neomutt.local; neomutt -F .config/neomutt/neomuttrc.local; end
|
||||||
|
|
||||||
|
# Specific to my Gentoo system
|
||||||
|
function genlop; doas -u portage /usr/bin/genlop; end
|
||||||
|
function loginctl; doas /bin/loginctl; end
|
||||||
|
|
||||||
# bootleg meme feed
|
# bootleg meme feed
|
||||||
function arf; mpv --shuffle --no-resume-playback ~/med/memes/arf; end
|
function arf; mpv --shuffle --no-resume-playback ~/med/memes/arf; end
|
||||||
|
|
||||||
|
@ -42,6 +42,21 @@ vim.cmd.packadd("vim-gitgutter")
|
|||||||
vim.cmd.packadd("nvim-treesitter")
|
vim.cmd.packadd("nvim-treesitter")
|
||||||
|
|
||||||
require 'nvim-treesitter.configs'.setup {
|
require 'nvim-treesitter.configs'.setup {
|
||||||
|
ensure_installed = {
|
||||||
|
"c",
|
||||||
|
"cpp",
|
||||||
|
"javascript",
|
||||||
|
"typescript",
|
||||||
|
"python",
|
||||||
|
"vim",
|
||||||
|
"fish",
|
||||||
|
"bash",
|
||||||
|
"lua",
|
||||||
|
"rust",
|
||||||
|
"query",
|
||||||
|
"typst",
|
||||||
|
"toml",
|
||||||
|
},
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
auto_install = false,
|
auto_install = false,
|
||||||
highlight = {
|
highlight = {
|
||||||
@ -55,18 +70,6 @@ require 'nvim-treesitter.configs'.setup {
|
|||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
indent = {
|
|
||||||
enable = true
|
|
||||||
},
|
|
||||||
incremental_selection = {
|
|
||||||
enable = true,
|
|
||||||
keymaps = {
|
|
||||||
init_selection = "<CR>", -- set to `false` to disable one of the mappings
|
|
||||||
scope_incremental = "<CR>",
|
|
||||||
node_incremental = "<TAB>",
|
|
||||||
node_decremental = "<S-TAB>",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- code folding
|
-- code folding
|
||||||
@ -74,10 +77,30 @@ vim.wo.foldmethod = 'expr'
|
|||||||
vim.wo.foldexpr = 'v:lua.vim.treesitter.foldexpr()'
|
vim.wo.foldexpr = 'v:lua.vim.treesitter.foldexpr()'
|
||||||
vim.wo.foldlevel = 99 -- unfold by default
|
vim.wo.foldlevel = 99 -- unfold by default
|
||||||
|
|
||||||
|
------
|
||||||
|
-- treesitter (language intelligent) motions
|
||||||
|
------
|
||||||
|
vim.cmd.packadd("nvim-treesitter-textobjects")
|
||||||
|
require("nvim-treesitter.configs").setup {
|
||||||
|
textobjects = {
|
||||||
|
select = {
|
||||||
|
enable = true,
|
||||||
|
|
||||||
|
keymaps = {
|
||||||
|
["af"] = "@function.outer",
|
||||||
|
["if"] = "@function.inner",
|
||||||
|
["ac"] = "@class.outer",
|
||||||
|
["ic"] = "@class.inner",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
------
|
------
|
||||||
-- diagnostics box
|
-- diagnostics box
|
||||||
------
|
------
|
||||||
keymap('<leader>dx', vim.diagnostic.open_float, { noremap = true, silent = true })
|
keymap('<leader>dx', vim.diagnostic.open_float, { noremap=true, silent=true })
|
||||||
|
|
||||||
|
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
@ -13,13 +13,11 @@ if vim.g.neovide then
|
|||||||
vim.g.neovide_padding_top = 8
|
vim.g.neovide_padding_top = 8
|
||||||
vim.g.neovide_padding_bottom = 8
|
vim.g.neovide_padding_bottom = 8
|
||||||
vim.g.neovide_padding_left = 8
|
vim.g.neovide_padding_left = 8
|
||||||
vim.g.neovide_transparency = 0.6
|
vim.g.neovide_transparency = 1.0
|
||||||
vim.g.neovide_background_color = "#000000" .. 0
|
vim.g.neovide_background_color = "#000000" .. 0
|
||||||
|
|
||||||
vim.g.neovide_cursor_trail_size = 0.1
|
vim.g.neovide_cursor_trail_size = 0.1
|
||||||
vim.g.neovide_cursor_animate_in_insert_mode = true
|
vim.g.neovide_cursor_animate_in_insert_mode = true
|
||||||
vim.g.pumblend = 60
|
|
||||||
vim.g.winblend = 60
|
|
||||||
|
|
||||||
-- hack to unscrew the scaling issues
|
-- hack to unscrew the scaling issues
|
||||||
-- sometimes opening neovide on a tiling wm makes it not occupy the entire window until resized
|
-- sometimes opening neovide on a tiling wm makes it not occupy the entire window until resized
|
||||||
|
@ -10,8 +10,8 @@ M = {}
|
|||||||
---Hacky debug print utility (do not use outside testing)
|
---Hacky debug print utility (do not use outside testing)
|
||||||
---@param s any Thing to print
|
---@param s any Thing to print
|
||||||
---@param pre string? Message that goes before thing
|
---@param pre string? Message that goes before thing
|
||||||
---@deprecated
|
|
||||||
---@diagnostic disable-next-line: unused-function, unused-local
|
---@diagnostic disable-next-line: unused-function, unused-local
|
||||||
|
---@deprecated
|
||||||
local function dbg_print(s, pre)
|
local function dbg_print(s, pre)
|
||||||
vim.system({ "sh", "-c", string.format("echo '%s' >> /tmp/nvim_scope_log", (pre or "") .. vim.inspect(s)) })
|
vim.system({ "sh", "-c", string.format("echo '%s' >> /tmp/nvim_scope_log", (pre or "") .. vim.inspect(s)) })
|
||||||
end
|
end
|
||||||
|
@ -30,6 +30,7 @@ local styles = colorbuddy.styles
|
|||||||
Group.new("Normal", colors.noir_4, colors.none, nil)
|
Group.new("Normal", colors.noir_4, colors.none, nil)
|
||||||
Group.new("StatusLine", colors.noir_4, colors.none, styles.bold)
|
Group.new("StatusLine", colors.noir_4, colors.none, styles.bold)
|
||||||
Group.link("MsgArea", groups.Normal)
|
Group.link("MsgArea", groups.Normal)
|
||||||
|
-- not selected statusline
|
||||||
Group.new("StatusLineNC", colors.noir_7, colors.none)
|
Group.new("StatusLineNC", colors.noir_7, colors.none)
|
||||||
Group.link("Gutter", groups.normal)
|
Group.link("Gutter", groups.normal)
|
||||||
Group.new("LineNr", colors.noir_8, colors.none, nil)
|
Group.new("LineNr", colors.noir_8, colors.none, nil)
|
||||||
@ -58,8 +59,6 @@ Group.new("NormalFloat", colors.noir_1, colors.none, nil)
|
|||||||
|
|
||||||
Group.new("NonText", colors.noir_9, nil, nil)
|
Group.new("NonText", colors.noir_9, nil, nil)
|
||||||
|
|
||||||
Group.new("LineNr", colors.noir_7, colors.none, nil)
|
|
||||||
|
|
||||||
-- swap undercurls and underlines
|
-- swap undercurls and underlines
|
||||||
for _, v in ipairs({ "Error", "Info", "Hint", "Warn" }) do
|
for _, v in ipairs({ "Error", "Info", "Hint", "Warn" }) do
|
||||||
local col_name = "diagnostic_" .. string.lower(v)
|
local col_name = "diagnostic_" .. string.lower(v)
|
||||||
|
@ -13,7 +13,6 @@ return {
|
|||||||
s({ trig = "plus", name = "plus exponent", wordTrig = false }, t("^+")),
|
s({ trig = "plus", name = "plus exponent", wordTrig = false }, t("^+")),
|
||||||
s({ trig = "min", name = "minus exponent", wordTrig = false }, t("^-")),
|
s({ trig = "min", name = "minus exponent", wordTrig = false }, t("^-")),
|
||||||
s({ trig = "lim", name = "limit", wordTrig = false }, fmt("lim_({}) ", { i(1) })),
|
s({ trig = "lim", name = "limit", wordTrig = false }, fmt("lim_({}) ", { i(1) })),
|
||||||
s({ trig = "inf", name = "infinity", wordTrig = false }, t("infinity")),
|
|
||||||
|
|
||||||
s({
|
s({
|
||||||
trig = "numb",
|
trig = "numb",
|
||||||
|
@ -29,15 +29,15 @@ shadow-offset-x = -7;
|
|||||||
shadow-offset-y = -7;
|
shadow-offset-y = -7;
|
||||||
|
|
||||||
# fading
|
# fading
|
||||||
fading = true;
|
fading = false;
|
||||||
fade-in-step = 1;
|
fade-in-step = 0.05;
|
||||||
fade-out-step = 0.05;
|
fade-out-step = 0.05;
|
||||||
fade-delta = 5;
|
fade-delta = 5;
|
||||||
|
|
||||||
# corner
|
# corner
|
||||||
corner-radius = 10;
|
corner-radius = 5;
|
||||||
|
|
||||||
blur: {
|
# blur: {
|
||||||
method = "dual_kawase",
|
# method = "dual_kawase",
|
||||||
strength = 8,
|
# strength = 5,
|
||||||
};
|
# };
|
||||||
|
@ -8,7 +8,7 @@ uniform vec3 max_derivation = vec3(0.01);
|
|||||||
// e.g. (1,0,0)±(0.2,0.2,0.2) -> gradient from #c00 to #f00 to #f33 with #f00 being the least opaque
|
// e.g. (1,0,0)±(0.2,0.2,0.2) -> gradient from #c00 to #f00 to #f33 with #f00 being the least opaque
|
||||||
// (0,0,0)±(0.25,0.25,0,25) -> gradient from #000 to #444 with #000 being at min_opacity
|
// (0,0,0)±(0.25,0.25,0,25) -> gradient from #000 to #444 with #000 being at min_opacity
|
||||||
// opacity for the median_color
|
// opacity for the median_color
|
||||||
uniform float min_opacity = 0.6;
|
uniform float min_opacity = 0.1;
|
||||||
// exponent for the gradient (e.g. 1 for linear, 2 for quadratic, etc)
|
// exponent for the gradient (e.g. 1 for linear, 2 for quadratic, etc)
|
||||||
uniform int power = 2;
|
uniform int power = 2;
|
||||||
// use mean for a different effect
|
// use mean for a different effect
|
||||||
|
@ -7,18 +7,18 @@ set adjust-open width
|
|||||||
set font "Liberation Sans 13"
|
set font "Liberation Sans 13"
|
||||||
|
|
||||||
set recolor-darkcolor "#dddddd"
|
set recolor-darkcolor "#dddddd"
|
||||||
set recolor-lightcolor rgba(0,0,0,0.6)
|
set recolor-lightcolor rgba(0,0,0,0)
|
||||||
set recolor true
|
set recolor false
|
||||||
set recolor-keephue true
|
set recolor-keephue true
|
||||||
set recolor-reverse-video true
|
set recolor-reverse-video true
|
||||||
|
|
||||||
set default-bg "#00000099"
|
set default-bg "#000000ff"
|
||||||
set index-bg "#000000"
|
set index-bg "#000000"
|
||||||
set index-active-bg "#111111"
|
set index-active-bg "#111111"
|
||||||
set index-active-fg "#FFFFFF"
|
set index-active-fg "#FFFFFF"
|
||||||
set inputbar-bg rgba(0,0,0,0.6)
|
set inputbar-bg rgba(0,0,0,0.5)
|
||||||
set inputbar-fg "#CCCCCC"
|
set inputbar-fg "#CCCCCC"
|
||||||
set statusbar-bg rgba(0,0,0,0.6)
|
set statusbar-bg rgba(0,0,0,0.5)
|
||||||
|
|
||||||
set render-loading false
|
set render-loading false
|
||||||
|
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
Subproject commit ca93cb2c34b67ab22d01976fc90bc95627a3317f
|
Loading…
Reference in New Issue
Block a user