2024-05-09 14:55:59 +02:00
|
|
|
$env.config = {
|
|
|
|
show_banner: false
|
|
|
|
|
|
|
|
table: {
|
|
|
|
mode: reinforced
|
|
|
|
padding: { left: 0, right: 0 }
|
|
|
|
header_on_separator: true
|
|
|
|
}
|
|
|
|
|
|
|
|
completions: {
|
|
|
|
algorithm: "fuzzy"
|
|
|
|
}
|
|
|
|
|
|
|
|
cursor_shape: {
|
|
|
|
vi_insert: line
|
|
|
|
vi_normal: block
|
|
|
|
}
|
|
|
|
|
|
|
|
edit_mode: vi
|
|
|
|
use_kitty_protocol: true
|
|
|
|
highlight_resolved_externals: true
|
2024-05-09 22:42:13 +02:00
|
|
|
|
|
|
|
history: {
|
|
|
|
file_format: "sqlite"
|
|
|
|
isolation: true
|
|
|
|
}
|
|
|
|
|
|
|
|
keybindings: [
|
|
|
|
{
|
|
|
|
name: new_line_shift
|
|
|
|
modifier: shift
|
|
|
|
keycode: enter
|
|
|
|
mode: vi_insert
|
|
|
|
event: { edit: insertnewline }
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2024-06-18 18:14:17 +02:00
|
|
|
<!
|
|
|
|
local prefix = ".config/nushell/conf.d/"
|
|
|
|
local dropins = {}
|
|
|
|
for f in cg.fileIter() do
|
|
|
|
if f.path:find(prefix, 1, true) == 1 then
|
|
|
|
table.insert(dropins, f.path:sub(#prefix))
|
|
|
|
end
|
|
|
|
end
|
|
|
|
table.sort(dropins, function(a, b) return a < b end)
|
|
|
|
!>
|
|
|
|
<! for _, d in ipairs(dropins) do !>
|
|
|
|
source conf.d<% d %>
|
|
|
|
<! end !>
|