AutoYADM commit: 2025-05-12 00:20:08

This commit is contained in:
Daniel Fichtinger 2025-05-12 00:20:08 -04:00
parent 102b66f863
commit 97b84921f3
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,14 @@
# 1. Find actual visual column width of content area
# 2. Parse current cursor position and buffer line content
# 3. Split the logical line into chunks based on wrap width
# 4. Move cursor to the same column offset on the wrapped line
define-command visual-down %{
nop %sh{
line="$kak_cursor_line"
col="$kak_cursor_column"
width="$kak_window_width"
count="$kak_buf_line_count"
}
}

10
.config/kak/scripts/nav.py Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env python
import sys
line = sys.argv[1]
col = int(sys.argv[2])
width = int(sys.argv[3])
count = int(sys.argv[4])
path = sys.argv[5]