helix paste rich text

This commit is contained in:
2026-01-21 00:42:49 +02:00
parent dc308d0fcc
commit b89db2e5c3
5 changed files with 24 additions and 4 deletions

View File

@@ -108,6 +108,12 @@ A-O = "open_above"
A-e = "move_parent_node_end"
A-b = "move_parent_node_start"
C-p = [
':insert-output set p (wl-paste -t text/html 2>/dev/null); and printf "$p" | html2text -b0 | head -c -2; or wl-paste --no-newline 2>/dev/null',
"append_mode",
"collapse_selection",
]
[keys.select]
";" = ["collapse_selection", "normal_mode"]
@@ -142,6 +148,8 @@ H = "goto_previous_buffer"
C-l = "@:e<space><C-r>%<ret>:bc<ret>:<up><up><ret>" # move buffer to the end
C-g = ":reset-diff-change"
C-p = ':insert-output set p (wl-paste -t text/html 2>/dev/null); and printf "$p" | html2text -b0; or wl-paste --no-newline 2>/dev/null'
# C-k = "jump_view_up"
# C-h = "jump_view_left"
# C-j = "jump_view_down"
@@ -172,6 +180,8 @@ H = "goto_previous_buffer"
C-l = "@:e<space><C-r>%<ret>:bc<ret>:<up><up><ret>" # move buffer to the end
C-g = ":reset-diff-change"
C-p = ':insert-output set p (wl-paste -t text/html 2>/dev/null); and printf "$p" | html2text -b0; or wl-paste --no-newline 2>/dev/null'
# C-q = "wclose"
# C-k = "jump_view_up"
# C-h = "jump_view_left"

View File

@@ -28,7 +28,11 @@ name = "markdown"
'"' = '"'
"'" = "'"
# '`' = '`'
# '<' = '>'
[[language]]
name = "markdown"
language-servers = ["markdown-oxide", "vale-ls"]
[language-server.markdown-oxide.config]
unresolved_diagnostics = true
include_md_extension_md_link = true # [File](file.md) or [File](file)
@@ -68,8 +72,9 @@ formatter = { command = "taplo", args = [
# [language-server.yaml-language-server.config.yaml.schemas]
# "" = "openapi.{yml,yaml}"
# [[language]]
# name = "nix"
[[language]]
name = "nix"
auto-format = true
# formatter = { command = "alejandra" }

View File

@@ -12,7 +12,7 @@ exec-once = /usr/lib/polkit-kde-authentication-agent-1 # asking for a password w
exec-once = swayidle -w -C ~/.config/hypr/other/swayidle.conf
exec-once = waybar
exec-once = udiskie
exec-once = qbittorrent
# exec-once = qbittorrent
# exec-once = ~/.config/hypr/scripts/check_displays.sh
# uncomment if apps take too long to open:

4
.config/vale/.vale.ini Normal file
View File

@@ -0,0 +1,4 @@
MinAlertLevel = suggestion
[*.{md}]
BasedOnStyles = Vale

1
.gitignore vendored
View File

@@ -28,6 +28,7 @@
!.config/htop/
!.config/tealdeer/
!.config/direnv/
!.config/vale/
!.config/yazi/
.config/yazi/*/