From 1cace80e4832a5d250ef4b7ccd687996563fb01b Mon Sep 17 00:00:00 2001 From: venomade Date: Thu, 27 Feb 2025 17:06:42 +0000 Subject: Add old dotfiles --- alpine-river/config/yazi/keymap.toml | 96 +++ alpine-river/config/yazi/rose-pine.tmTheme | 959 +++++++++++++++++++++++++++++ alpine-river/config/yazi/theme.toml | 153 +++++ alpine-river/config/yazi/yazi.toml | 6 + 4 files changed, 1214 insertions(+) create mode 100644 alpine-river/config/yazi/keymap.toml create mode 100644 alpine-river/config/yazi/rose-pine.tmTheme create mode 100644 alpine-river/config/yazi/theme.toml create mode 100644 alpine-river/config/yazi/yazi.toml (limited to 'alpine-river/config/yazi') diff --git a/alpine-river/config/yazi/keymap.toml b/alpine-river/config/yazi/keymap.toml new file mode 100644 index 0000000..94ca258 --- /dev/null +++ b/alpine-river/config/yazi/keymap.toml @@ -0,0 +1,96 @@ +"$schema" = "https://yazi-rs.github.io/schemas/keymap.json" + +[manager] + +prepend_keymap = [ + # { on = [ "w" ], exec = 'shell "$SHELL" --block --confirm', desc = "Open shell here" }, + # { on = [ "W" ], exec = "tasks_show" }, + + # Navigation + { on = [ "e" ], run = "arrow -1" }, + { on = [ "n" ], run = "arrow 1" }, + + { on = [ "E" ], run = "arrow -5" }, + { on = [ "N" ], run = "arrow 5" }, + + { on = [ "h" ], run = "leave" }, + { on = [ "i" ], run = "enter" }, + + { on = [ "H" ], run = "back" }, + { on = [ "I" ], run = "forward" }, + + { on = [ "" ], run = "seek -5" }, + { on = [ "" ], run = "seek 5" }, + + # Operation + { on = [ "k" ], run = "link" }, + { on = [ "K" ], run = "link --relative" }, + + # Find + { on = [ "j" ], run = "find_arrow" }, + { on = [ "J" ], run = "find_arrow --previous" }, +] + +[tasks] + +prepend_keymap = [ + { on = [ "W" ], run = "close" }, + + { on = [ "e" ], run = "arrow -1" }, + { on = [ "n" ], run = "arrow 1" }, +] + +[select] + +prepend_keymap = [ + { on = [ "e" ], run = "arrow -1" }, + { on = [ "n" ], run = "arrow 1" }, + + { on = [ "E" ], run = "arrow -5" }, + { on = [ "N" ], run = "arrow 5" }, +] + +[input] + +prepend_keymap = [ + # Mode + { on = [ "l" ], run = "insert" }, + { on = [ "" ], run = [ "move -999", "insert" ] }, + { on = [ "" ], run = [ "move 999", "insert --append" ] }, + + # Character-wise movement + { on = [ "h" ], run = "move -1" }, + { on = [ "i" ], run = "move 1" }, + + # Word-wise movement + { on = [ "=" ], run = "forward --end-of-word" }, + + # Line-wise movement + { on = [ "H" ], run = "move -999" }, + { on = [ "I" ], run = "move 999" }, + + # Cut/Yank/Paste + { on = [ "x" ], run = [ "delete", "move 1 --in-operating" ] }, + + # Undo/Redo + { on = [ "u" ], run = "undo" }, + { on = [ "U" ], run = "redo" }, +] + +[completion] + +prepend_keymap = [ + { on = [ "" ], run = "arrow -1" }, + { on = [ "" ], run = "arrow 1" }, +] + +[help] + +prepend_keymap = [ + # Navigation + { on = [ "e" ], run = "arrow -1" }, + { on = [ "n" ], run = "arrow 1" }, + + { on = [ "E" ], run = "arrow -5" }, + { on = [ "N" ], run = "arrow 5" }, +] diff --git a/alpine-river/config/yazi/rose-pine.tmTheme b/alpine-river/config/yazi/rose-pine.tmTheme new file mode 100644 index 0000000..e90da85 --- /dev/null +++ b/alpine-river/config/yazi/rose-pine.tmTheme @@ -0,0 +1,959 @@ + + + + + name + Catppuccin + settings + + + settings + + foreground + #908caa + background + #191724 + caret + #E0DEF4 + invisibles + #e0def4 + gutterForeground + #575279 + gutterForegroundHighlight + #9ccfd8 + lineHighlight + #26233A + selection + #393552 + selectionBorder + #191724 + activeGuide + #eb6f92 + findHighlightForeground + #181825 + findHighlight + #f6c177 + bracketsForeground + #575279 + bracketContentsForeground + #575279 + + + + name + Comment + scope + comment + settings + + foreground + #393552 + fontStyle + italic + + + + name + String + scope + string + settings + + foreground + #9ccfd8 + fontStyle + + + + + name + String regex + scope + string.regexp + settings + + foreground + #eb6f92 + fontStyle + + + + + name + Number + scope + constant.numeric + settings + + foreground + #eb6f92 + fontStyle + + + + + name + Boolean + scope + constant.language.boolean + settings + + foreground + #eb6f92 + fontStyle + bold italic + + + + name + Built-in constant + scope + constant.language + settings + + foreground + #E0DEF4 + fontStyle + italic + + + + name + Built-in function + scope + support.function.builtin + settings + + foreground + #eb6f92 + fontStyle + italic + + + + name + User-defined constant + scope + variable.other.constant + settings + + foreground + #eb6f92 + fontStyle + + + + + name + Variable + scope + variable + settings + + + + name + Keyword + scope + keyword + settings + + foreground + #eb6f92 + fontStyle + italic + + + + name + Conditional/loop + scope + keyword.control.loop, keyword.control.conditional, keyword.control.c++ + settings + + foreground + #cba6f7 + fontStyle + bold + + + + name + Return + scope + keyword.control.return, keyword.control.flow.return + settings + + foreground + #B4637A + fontStyle + bold + + + + name + Exception + scope + support.type.exception + settings + + foreground + #eb6f92 + fontStyle + italic + + + + name + Operator + scope + keyword.operator, punctuation.accessor + settings + + foreground + #89dceb + fontStyle + bold + + + + name + Punctuation separator + scope + punctuation.separator + settings + + foreground + #9ccfd8 + fontStyle + + + + + name + Punctuation terminator + scope + punctuation.terminator + settings + + foreground + #9ccfd8 + fontStyle + + + + + name + Punctuation bracket + scope + punctuation.section + settings + + foreground + #575279 + fontStyle + + + + + name + Include + scope + keyword.control.import.include + settings + + foreground + #9ccfd8 + fontStyle + italic + + + + name + Storage + scope + storage + settings + + foreground + #f38ba8 + fontStyle + + + + + name + Storage type + scope + storage.type + settings + + foreground + #f6c177 + fontStyle + italic + + + + name + Storage modifier + scope + storage.modifier + settings + + foreground + #f38ba8 + fontStyle + + + + + name + Storage type namespace + scope + entity.name.namespace, meta.path + settings + + foreground + #74658B + fontStyle + italic + + + + name + Storage type class + scope + storage.type.class + settings + + foreground + #74658B + fontStyle + italic + + + + name + Label + scope + entity.name.label + settings + + foreground + #31748F + fontStyle + + + + + name + Keyword class + scope + keyword.declaration.class + settings + + foreground + #f38ba8 + fontStyle + italic + + + + name + Class name + scope + entity.name.class, meta.toc-list.full-identifier + settings + + foreground + #89dceb + fontStyle + + + + + name + Inherited class + scope + entity.other.inherited-class + settings + + foreground + #89dceb + fontStyle + italic + + + + name + Function name + scope + entity.name.function, variable.function + settings + + foreground + #31748F + fontStyle + italic + + + + name + Function macro + scope + entity.name.function.preprocessor + settings + + foreground + #f38ba8 + fontStyle + + + + + name + Macro directive - ifdef + scope + keyword.control.import + settings + + foreground + #f38ba8 + fontStyle + + + + + name + Constructor + scope + entity.name.function.constructor, entity.name.function.destructor + settings + + foreground + #E0DEF4 + fontStyle + + + + + name + Function argument + scope + variable.parameter.function + settings + + foreground + #74658B + fontStyle + italic + + + + name + Function declaration + scope + keyword.declaration.function + settings + + foreground + #eba0ac + fontStyle + italic + + + + name + Library function + scope + support.function + settings + + foreground + #89dceb + fontStyle + + + + + name + Library constant + scope + support.constant + settings + + foreground + #31748F + fontStyle + + + + + name + Library class/type + scope + support.type, support.class + settings + + foreground + #31748F + fontStyle + italic + + + + name + Library variable + scope + support.other.variable + settings + + fontStyle + + + + + name + Variable function + scope + variable.function + settings + + foreground + #31748F + fontStyle + italic + + + + name + Variable parameter + scope + variable.parameter + settings + + foreground + #74658B + fontStyle + italic + + + + name + Variable other + scope + variable.other + settings + + foreground + #908caa + fontStyle + italic + + + + name + Variable field + scope + variable.other.member + settings + + foreground + #74658B + fontStyle + + + + + name + Variable language + scope + variable.language + settings + + foreground + #9ccfd8 + fontStyle + + + + + name + Tag name + scope + entity.name.tag + settings + + foreground + #eb6f92 + fontStyle + + + + + name + Tag attribute + scope + entity.other.attribute-name + settings + + foreground + #cba6f7 + fontStyle + italic + + + + name + Tag delimiter + scope + punctuation.definition.tag + settings + + foreground + #eba0ac + fontStyle + + + + + name + Markdown URL + scope + markup.underline.link.markdown + settings + + foreground + #74658B + fontStyle + italic underline + + + + name + Markdown reference + scope + meta.link.inline.description + settings + + foreground + #74658B + fontStyle + bold + + + + name + Markdown literal + scope + comment.block.markdown, meta.code-fence, markup.raw.code-fence, markup.raw.inline + settings + + foreground + #9ccfd8 + fontStyle + italic + + + + name + Markdown title + scope + punctuation.definition.heading, entity.name.section + settings + + foreground + #31748F + fontStyle + bold + + + + name + Markdown emphasis + scope + markup.italic + settings + + foreground + #eba0ac + fontStyle + italic + + + + name + Markdown strong + scope + markup.bold + settings + + foreground + #eba0ac + fontStyle + bold + + + + name + Escape + scope + constant.character.escape + settings + + foreground + #B4637A + fontStyle + + + + + name + Bash built-in function + scope + source.shell.bash meta.function.shell meta.compound.shell meta.function-call.identifier.shell + settings + + foreground + #B4637A + fontStyle + + + + + name + Bash parameter + scope + variable.language.shell + settings + + foreground + #f38ba8 + fontStyle + italic + + + + name + Lua field + scope + source.lua meta.function.lua meta.block.lua meta.mapping.value.lua meta.mapping.key.lua string.unquoted.key.lua + settings + + foreground + #E0DEF4 + fontStyle + italic + + + + name + Lua constructor + scope + source.lua meta.function.lua meta.block.lua meta.mapping.key.lua string.unquoted.key.lua + settings + + foreground + #E0DEF4 + fontStyle + + + + + name + Java constant + scope + entity.name.constant.java + settings + + foreground + #9ccfd8 + fontStyle + + + + + name + CSS property + scope + support.type.property-name.css + settings + + foreground + #E0DEF4 + fontStyle + italic + + + + name + CSS constant + scope + support.constant.property-value.css + settings + + foreground + #908caa + fontStyle + + + + + name + CSS suffix + scope + constant.numeric.suffix.css, keyword.other.unit.css + settings + + foreground + #9ccfd8 + fontStyle + italic + + + + name + CSS variable property + scope + variable.other.custom-property.name.css, support.type.custom-property.name.css, punctuation.definition.custom-property.css + settings + + foreground + #9ccfd8 + fontStyle + + + + + name + SCSS tag + scope + entity.name.tag.css + settings + + foreground + #E0DEF4 + fontStyle + + + + + name + SASS variable + scope + variable.other.sass + settings + + foreground + #9ccfd8 + fontStyle + + + + + name + Invalid + scope + invalid + settings + + foreground + #908caa + background + #f38ba8 + fontStyle + + + + + name + Invalid deprecated + scope + invalid.deprecated + settings + + foreground + #908caa + background + #cba6f7 + fontStyle + + + + + name + Diff header + scope + meta.diff, meta.diff.header + settings + + foreground + #393552 + fontStyle + + + + + name + Diff deleted + scope + markup.deleted + settings + + foreground + #f38ba8 + fontStyle + + + + + name + Diff inserted + scope + markup.inserted + settings + + foreground + #9ccfd8 + fontStyle + + + + + name + Diff changed + scope + markup.changed + settings + + foreground + #f6c177 + fontStyle + + + + + name + Message error + scope + message.error + settings + + foreground + #f38ba8 + fontStyle + + + + + uuid + 4d0379b5-ef82-467b-b8b8-365889420646 + colorSpaceName + sRGB + semanticClass + theme.dark.Catppuccin + author + BrunDerSchwarzmagier + + diff --git a/alpine-river/config/yazi/theme.toml b/alpine-river/config/yazi/theme.toml new file mode 100644 index 0000000..2c92781 --- /dev/null +++ b/alpine-river/config/yazi/theme.toml @@ -0,0 +1,153 @@ +# vim:fileencoding=utf-8:foldmethod=marker + +# : Manager {{{ + +[manager] +cwd = { fg = "#9ccfd8" } + +# Hovered +hovered = { fg = "#e0def4", bg = "#26233a" } +preview_hovered = { underline = true } + +# Find +find_keyword = { fg = "#f6c177", italic = true } +find_position = { fg = "#eb6f92", bg = "reset", italic = true } + +# Marker +marker_selected = { fg = "#9ccfd8", bg = "#9ccfd8" } +marker_copied = { fg = "#f6c177", bg = "#f6c177" } +marker_cut = { fg = "#B4637A", bg = "#B4637A" } + +# Tab +tab_active = { fg = "#e0def4", bg = "#191724" } +tab_inactive = { fg = "#e0def4", bg = "#2A273F" } +tab_width = 1 + +# Border +border_symbol = "│" +border_style = { fg = "#524f67" } + +# Highlighting +syntect_theme = "~/.config/yazi/rose-pine.tmTheme" + +# : }}} + + +# : Status {{{ + +[status] +separator_open = "" +separator_close = "" +separator_style = { fg = "#2A273F", bg = "#2A273F" } + +# Mode +mode_normal = { fg = "#191724", bg = "#ebbcba", bold = true } +mode_select = { fg = "#e0def4", bg = "#9ccfd8", bold = true } +mode_unset = { fg = "#e0def4", bg = "#b4637a", bold = true } + +# Progress +progress_label = { fg = "#e0def4", bold = true } +progress_normal = { fg = "#191724", bg = "#2A273F" } +progress_error = { fg = "#B4637A", bg = "#2A273F" } + +# Permissions +permissions_t = { fg = "#31748f" } +permissions_r = { fg = "#f6c177" } +permissions_w = { fg = "#B4637A" } +permissions_x = { fg = "#9ccfd8" } +permissions_s = { fg = "#524f67" } + +# : }}} + + +# : Input {{{ + +[input] +border = { fg = "#524f67" } +title = {} +value = {} +selected = { reversed = true } + +# : }}} + + +# : Select {{{ + +[select] +border = { fg = "#524f67" } +active = { fg = "#eb6f92" } +inactive = {} + +# : }}} + + +# : Tasks {{{ + +[tasks] +border = { fg = "#524f67" } +title = {} +hovered = { underline = true } + +# : }}} + + +# : Which {{{ + +[which] +mask = { bg = "#313244" } +cand = { fg = "#9ccfd8" } +rest = { fg = "#9399b2" } +desc = { fg = "#eb6f92" } +separator = "  " +separator_style = { fg = "#585b70" } + +# : }}} + + +# : Help {{{ + +[help] +on = { fg = "#eb6f92" } +exec = { fg = "#9ccfd8" } +desc = { fg = "#9399b2" } +hovered = { bg = "#585b70", bold = true } +footer = { fg = "#2A273F", bg = "#e0def4" } + +# : }}} + + +# : File-specific styles {{{ + +[filetype] + +rules = [ + # Images + { mime = "image/*", fg = "#9ccfd8" }, + + # Videos + { mime = "video/*", fg = "#f6c177" }, + { mime = "audio/*", fg = "#f6c177" }, + + # Archives + { mime = "application/zip", fg = "#eb6f92" }, + { mime = "application/gzip", fg = "#eb6f92" }, + { mime = "application/x-tar", fg = "#eb6f92" }, + { mime = "application/x-bzip", fg = "#eb6f92" }, + { mime = "application/x-bzip2", fg = "#eb6f92" }, + { mime = "application/x-7z-compressed", fg = "#eb6f92" }, + { mime = "application/x-rar", fg = "#eb6f92" }, + + # Fallback + { name = "*", fg = "#e0def4" }, + { name = "*/", fg = "#524f67" }, +] + +# : }}} + +# Disable Nerds +[icon] +globs = [] +dirs = [] +files = [] +exts = [] +conds = [] diff --git a/alpine-river/config/yazi/yazi.toml b/alpine-river/config/yazi/yazi.toml new file mode 100644 index 0000000..4e4a4e2 --- /dev/null +++ b/alpine-river/config/yazi/yazi.toml @@ -0,0 +1,6 @@ +[manager] +# show_hidden = true +sort_by = "modified" +sort_reverse = true +linemode = "size" +scrolloff = 12 -- cgit 1.4.1-2-gfad0