Compare commits

..

7 Commits

Author SHA1 Message Date
fc328ec4c2 kitty: bump font to 12 2026-03-06 18:13:23 +01:00
6a0fbd737d helix: add context.scm plugin 2026-02-26 17:51:09 +01:00
41c5fab6f0 kitty: open tab with shift+t 2026-02-26 17:34:26 +01:00
7c0f105244 helix: show git blame inline 2026-02-26 17:34:14 +01:00
30e0ec34dc kitty: correct copy-paste clipboard 2026-02-13 10:40:23 +01:00
1dfbd7e895 hx: enhance usability 2026-02-13 10:37:56 +01:00
ebc6167253 ft: correct ssh-agent reset on lock 2026-02-13 10:37:56 +01:00
8 changed files with 32 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ PATH=$HOME/.dots/scripts:$HOME/.cargo/bin:$HOME/.ghcup/bin:$HOME/.local/bin:$HOM
EDITOR=hx EDITOR=hx
VISUAL=hx VISUAL=hx
_JAVA_AWT_WM_NONREPARENTING=1 _JAVA_AWT_WM_NONREPARENTING=1
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
# support jp input in gnome # support jp input in gnome
GTK_IM_MODULE=ibus GTK_IM_MODULE=ibus

View File

@@ -25,3 +25,5 @@
lineNumber = true lineNumber = true
[init] [init]
defaultBranch = main defaultBranch = main
[core]
editor = hx

View File

@@ -6,6 +6,7 @@ cursor-shape.insert = "bar"
insert-final-newline = false insert-final-newline = false
# rulers = [80, 100] # rulers = [80, 100]
true-color = true true-color = true
text-width = 100
[editor.whitespace.render] [editor.whitespace.render]
tab = "all" tab = "all"
@@ -26,8 +27,9 @@ display-inlay-hints = true
"+" = ["extend_line_down", "extend_to_line_bounds"] "+" = ["extend_line_down", "extend_to_line_bounds"]
[keys.normal.g] [keys.normal.g]
"b" = ":echo git show %sh{git blame -L %{cursor_line},+1 %{buffer_name} | awk '{print $1}'}" "b" = ":sh git show %sh{git blame -L %{cursor_line},+1 %{buffer_name} | awk '{print $1}'}"
[keys.normal.z] [keys.normal.z]
s = ":set soft-wrap.enable true" s = ":set soft-wrap.enable true"
S = ":set soft-wrap.enable false" S = ":set soft-wrap.enable false"
r = ":reflow"

View File

@@ -0,0 +1 @@
; helix.scm

View File

@@ -0,0 +1,6 @@
; init.scm
; https://codeberg.org/gwid/context.hx
(require "context/context.scm")
(context-enable 'right)

View File

@@ -1,6 +1,8 @@
term xterm-256color term xterm-256color
confirm_os_window_close 0 confirm_os_window_close 0
shell_integration no-cursor # https://sw.kovidgoyal.net/kitty/shell-integration # https://sw.kovidgoyal.net/kitty/shell-integration
shell_integration no-cursor
clipboard_control write-clipboard write-primary no-append
### Appearance ### Appearance
@@ -10,7 +12,7 @@ font_family BlexMono Nerd Font Mono Text
italic_font BlexMono Nerd Font Mono italic_font BlexMono Nerd Font Mono
bold_font BlexMono Nerd Font Mono bold_font BlexMono Nerd Font Mono
font_size 11 font_size 12
disable_ligatures cursor disable_ligatures cursor
font_features +calt +liga font_features +calt +liga
@@ -41,7 +43,7 @@ tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title
### Keyboard ### Keyboard
map ctrl+t launch --cwd=current --type=tab map ctrl+shift+t launch --cwd=current --type=tab
map alt+shift+1 goto_tab 1 map alt+shift+1 goto_tab 1
map alt+shift+2 goto_tab 2 map alt+shift+2 goto_tab 2

View File

@@ -1 +1,4 @@
dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock && ssh-add -D export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
ssh-add -D
dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock

10
ssh-agent.service Normal file
View File

@@ -0,0 +1,10 @@
[Unit]
Description=SSH key agent
[Service]
Type=simple
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[Install]
WantedBy=default.target