1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# hjkl default configuration. Bundled into the binary via include_str!()
# and parsed at runtime as the source of truth for default values.
#
# A user config at $XDG_CONFIG_HOME/hjkl/config.toml is layered on top
# of these defaults — only fields you want to override need to appear
# there. Unknown keys are an error.
#
# Resolved paths:
# Linux ~/.config/hjkl/config.toml
# macOS ~/Library/Application Support/sh.kryptic.hjkl/config.toml
# Windows %APPDATA%\kryptic\hjkl\config\config.toml
[]
# Leader key in normal mode. Single character. Common alts: "\\", ",".
= " "
# Fallback indent width when no .editorconfig covers the open file.
= 4
# Fallback for spaces-vs-tabs when no .editorconfig covers the file.
= true
# Files with this many lines or more skip the per-keystroke git diff
# recomputation. Lower this on slower machines.
= 50000
# Mouse support. When true, wheel scrolls the viewport (with scrolloff)
# and the terminal's native text-selection requires Shift to bypass
# capture (vim/nvim/helix convention). Toggle at runtime with
# `:set mouse` / `:set nomouse` / `:set mouse!` / `:set mouse?`.
= true
[]
# Theme name. Currently only "dark" is bundled.
= "dark"
[]
# Show a popup listing available bindings when a prefix key is held
# without follow-up for delay_ms milliseconds.
= true
= 500
[]
# LSP subsystem. Set `enabled = true` in your user config (~/.config/hjkl/config.toml)
# to opt in. Default off so installs without language servers don't pay the spawn
# cost. The `[lsp.servers.<lang>]` blocks below ship as sensible defaults — a
# server only spawns when you open a file matching its language AND the binary
# resolves on $PATH; missing binaries fail silently.
= false
[]
= "rust-analyzer"
= ["Cargo.toml", ".git"]
[]
= "typescript-language-server"
= ["--stdio"]
= ["package.json", "tsconfig.json", ".git"]
[]
= "typescript-language-server"
= ["--stdio"]
= ["package.json", "jsconfig.json", ".git"]
[]
= "pyright-langserver"
= ["--stdio"]
= ["pyproject.toml", "setup.py", "setup.cfg", "Pipfile", ".git"]
[]
= "gopls"
= ["go.mod", ".git"]
[]
= "clangd"
= ["compile_commands.json", ".clangd", ".git"]
[]
= "clangd"
= ["compile_commands.json", ".clangd", ".git"]
[]
= "lua-language-server"
= [".luarc.json", ".luarc.jsonc", ".git"]
[]
= "taplo"
= ["lsp", "stdio"]
= [".taplo.toml", "taplo.toml", ".git"]
[]
= "vscode-json-language-server"
= ["--stdio"]
= [".git"]
[]
= "marksman"
= ["server"]
= [".marksman.toml", ".git"]