' shortcuts, including flip-bool
This commit is contained in:
parent
4b9a8323e9
commit
870e5ec059
5 changed files with 50 additions and 13 deletions
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
config,
|
||||
helix-inline-diags,
|
||||
...
|
||||
}: {
|
||||
{config, ...}: {
|
||||
home-manager.users.jade = {
|
||||
pkgs,
|
||||
pkgs-stable,
|
||||
|
@ -23,7 +19,6 @@
|
|||
programs.helix = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
package = helix-inline-diags.outputs.packages."x86_64-linux".default;
|
||||
settings = {
|
||||
theme = "gruvbox_dark_hard";
|
||||
editor = {
|
||||
|
@ -31,11 +26,10 @@
|
|||
bufferline = "multiple";
|
||||
color-modes = true;
|
||||
cursorline = true;
|
||||
# auto-save = {
|
||||
# focus-lost = true;
|
||||
# after-delay.enable = true;
|
||||
# after-delay.timeout = 10000;
|
||||
# };
|
||||
auto-save = {
|
||||
after-delay.enable = true;
|
||||
after-delay.timeout = 10000;
|
||||
};
|
||||
auto-format = true;
|
||||
end-of-line-diagnostics = "hint";
|
||||
# slightly optimized based on my layout
|
||||
|
@ -99,6 +93,14 @@
|
|||
# smart tab++
|
||||
tab = "move_parent_node_end";
|
||||
S-tab = "move_parent_node_start";
|
||||
"'" = {
|
||||
D = "@<C-w>sgd";
|
||||
F = "@<C-w>sgy";
|
||||
d = "@<C-w>vgd";
|
||||
f = "@<C-w>vgy";
|
||||
h = ":toggle-option lsp.display-inlay-hints";
|
||||
t = "@|flip-bool<ret>";
|
||||
};
|
||||
};
|
||||
insert = {
|
||||
up = "no_op";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue