mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2025-11-17 09:09:42 +01:00
Compare commits
2 commits
edafaf3c14
...
5521d3f479
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5521d3f479 |
||
|
|
3b6367a9f4 |
2 changed files with 27 additions and 2 deletions
|
|
@ -31,12 +31,18 @@
|
||||||
bufferline = "multiple";
|
bufferline = "multiple";
|
||||||
color-modes = true;
|
color-modes = true;
|
||||||
cursorline = true;
|
cursorline = true;
|
||||||
auto-save = true;
|
auto-save = {
|
||||||
|
focus-lost = true;
|
||||||
|
after-delay.enable = true;
|
||||||
|
after-delay.timeout = 10000;
|
||||||
|
};
|
||||||
auto-format = true;
|
auto-format = true;
|
||||||
end-of-line-diagnostics = "hint";
|
end-of-line-diagnostics = "hint";
|
||||||
|
# slightly optimized based on my layout
|
||||||
|
jump-label-alphabet = "jfkdaslghwenuiopbcmyzqrtvx";
|
||||||
|
clipboard-provider = "wayland";
|
||||||
inline-diagnostics = {
|
inline-diagnostics = {
|
||||||
cursor-line = "hint";
|
cursor-line = "hint";
|
||||||
other-lines = "error";
|
|
||||||
};
|
};
|
||||||
lsp = {
|
lsp = {
|
||||||
display-messages = true;
|
display-messages = true;
|
||||||
|
|
@ -65,9 +71,14 @@
|
||||||
"file-type"
|
"file-type"
|
||||||
];
|
];
|
||||||
idle-timeout = 50;
|
idle-timeout = 50;
|
||||||
|
completion-timeout = 100;
|
||||||
indent-guides = {
|
indent-guides = {
|
||||||
render = true;
|
render = true;
|
||||||
character = "│";
|
character = "│";
|
||||||
|
skip-levels = 2;
|
||||||
|
};
|
||||||
|
soft-wrap = {
|
||||||
|
enable = true;
|
||||||
};
|
};
|
||||||
whitespace = {
|
whitespace = {
|
||||||
render = {
|
render = {
|
||||||
|
|
@ -85,6 +96,10 @@
|
||||||
keys = {
|
keys = {
|
||||||
normal = {
|
normal = {
|
||||||
space."=" = ":fmt";
|
space."=" = ":fmt";
|
||||||
|
|
||||||
|
# smart tab++
|
||||||
|
tab = "move_parent_node_end";
|
||||||
|
S-tab = "move_parent_node_start";
|
||||||
};
|
};
|
||||||
insert = {
|
insert = {
|
||||||
up = "no_op";
|
up = "no_op";
|
||||||
|
|
@ -95,6 +110,14 @@
|
||||||
pagedown = "no_op";
|
pagedown = "no_op";
|
||||||
home = "no_op";
|
home = "no_op";
|
||||||
end = "no_op";
|
end = "no_op";
|
||||||
|
|
||||||
|
# smart tab ++
|
||||||
|
S-tab = "move_parent_node_start";
|
||||||
|
};
|
||||||
|
select = {
|
||||||
|
# smart tab++
|
||||||
|
tab = "extend_parent_node_end";
|
||||||
|
S-tab = "extend_parent_node_start";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,8 @@
|
||||||
source /home/jade/.config/nushell/shell-startup.nu;
|
source /home/jade/.config/nushell/shell-startup.nu;
|
||||||
$env.STARSHIP_SHELL = "nu";
|
$env.STARSHIP_SHELL = "nu";
|
||||||
$env.CMD_COUNT = 0;
|
$env.CMD_COUNT = 0;
|
||||||
|
$env.EDITOR = "hx";
|
||||||
|
$env.S10E_JRNL_FILE_LOC = "~/Docs/jrnl.md";
|
||||||
|
|
||||||
def create_right_prompt [] {
|
def create_right_prompt [] {
|
||||||
# create a right prompt in magenta with green separators and am/pm underlined
|
# create a right prompt in magenta with green separators and am/pm underlined
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue