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
|
|
|
|
shell_integration: true
|
|
|
|
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 }
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
# Run-in-Background function
|
2024-05-10 22:53:13 +02:00
|
|
|
def & [...argv] {
|
2024-05-09 22:42:13 +02:00
|
|
|
# TODO: Use a plugin to track number of running jobs
|
|
|
|
systemd-run --user ...$argv
|
2024-05-09 14:55:59 +02:00
|
|
|
}
|
2024-05-09 15:38:08 +02:00
|
|
|
|
2024-05-09 22:42:13 +02:00
|
|
|
# Aliases
|
|
|
|
def l [path: glob = "."] { ls $path | sort-by type }
|
|
|
|
def ll [path: glob = "."] { ls -la $path | sort-by type }
|
|
|
|
def la [path: glob = "."] { ls -a $path | sort-by type }
|
2024-05-09 15:38:08 +02:00
|
|
|
alias nv = nvim
|
|
|
|
alias nvide = neovide
|