mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-23 19:12:23 +00:00
Compare commits
No commits in common. "0be5c026a79ca2f4620e3fe67445b6f27f6861f7" and "3852551ebed04a4d44d59bb091d89d58a8d75c3d" have entirely different histories.
0be5c026a7
...
3852551ebe
@ -124,28 +124,6 @@ in
|
|||||||
# Enable and disable inlay hints
|
# Enable and disable inlay hints
|
||||||
space.H = ":toggle lsp.display-inlay-hints";
|
space.H = ":toggle lsp.display-inlay-hints";
|
||||||
|
|
||||||
# Open lazygit
|
|
||||||
# Unfortunately, this breaks mouse input and the terminal after quitting Helix
|
|
||||||
space.l = [
|
|
||||||
":write-all"
|
|
||||||
":new"
|
|
||||||
":insert-output ${lib.getExe pkgs.lazygit}"
|
|
||||||
":buffer-close!"
|
|
||||||
":redraw"
|
|
||||||
":reload-all"
|
|
||||||
];
|
|
||||||
|
|
||||||
# Open yazi
|
|
||||||
# https://github.com/sxyazi/yazi/pull/2461
|
|
||||||
# Won't work until next Helix release
|
|
||||||
# C-y = [
|
|
||||||
# ":sh rm -f /tmp/unique-file"
|
|
||||||
# ":insert-output ${lib.getExe pkgs.yazi} %{buffer_name} --chooser-file=/tmp/unique-file"
|
|
||||||
# ":insert-output echo \\x1b[?1049h\\x1b[?2004h > /dev/tty"
|
|
||||||
# ":open %sh{cat /tmp/unique-file}"
|
|
||||||
# ":redraw"
|
|
||||||
# ];
|
|
||||||
|
|
||||||
# Extend selection above
|
# Extend selection above
|
||||||
X = "select_line_above";
|
X = "select_line_above";
|
||||||
|
|
||||||
@ -162,6 +140,19 @@ in
|
|||||||
"paste_before"
|
"paste_before"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Copy lines up or down
|
||||||
|
A-J = [
|
||||||
|
"extend_to_line_bounds"
|
||||||
|
"yank"
|
||||||
|
"paste_after"
|
||||||
|
];
|
||||||
|
|
||||||
|
A-K = [
|
||||||
|
"extend_to_line_bounds"
|
||||||
|
"yank"
|
||||||
|
"paste_before"
|
||||||
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
editor = {
|
editor = {
|
||||||
|
@ -74,6 +74,28 @@ in
|
|||||||
|
|
||||||
show_startup_tips = false;
|
show_startup_tips = false;
|
||||||
|
|
||||||
|
# plugins = {
|
||||||
|
# autolock = {
|
||||||
|
# _props = {
|
||||||
|
# location = "https://github.com/fresh2dev/zellij-autolock/releases/download/0.2.2/zellij-autolock.wasm";
|
||||||
|
# };
|
||||||
|
# is_enabled = {
|
||||||
|
# _args = [ true ];
|
||||||
|
# };
|
||||||
|
# triggers = {
|
||||||
|
# _args = [ "vim|nvim|hx|git|fzf|zoxide|atuin|gh" ];
|
||||||
|
# };
|
||||||
|
# reaction_seconds = {
|
||||||
|
# _args = [ "0.3" ];
|
||||||
|
# };
|
||||||
|
# print_to_log = {
|
||||||
|
# _args = [ true ];
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# load_plugins = {
|
||||||
|
# autolock = { };
|
||||||
|
# };
|
||||||
keybinds = {
|
keybinds = {
|
||||||
normal = {
|
normal = {
|
||||||
};
|
};
|
||||||
@ -89,14 +111,6 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
scroll = {
|
|
||||||
"bind \"e\"" = {
|
|
||||||
EditScrollback = { };
|
|
||||||
SwitchToMode = {
|
|
||||||
_args = [ "locked" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
shared = {
|
shared = {
|
||||||
"bind \"Alt Shift p\"" = {
|
"bind \"Alt Shift p\"" = {
|
||||||
"Run" = {
|
"Run" = {
|
||||||
@ -108,24 +122,12 @@ in
|
|||||||
close_on_exit = true;
|
close_on_exit = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"bind \"Alt Shift k\"" = {
|
|
||||||
EditScrollback = { };
|
|
||||||
SwitchToMode = {
|
|
||||||
_args = [ "locked" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"bind \"Super Shift ]\"" = {
|
"bind \"Super Shift ]\"" = {
|
||||||
"GoToNextTab" = { };
|
"GoToNextTab" = { };
|
||||||
};
|
};
|
||||||
"bind \"Super Shift [\"" = {
|
"bind \"Super Shift [\"" = {
|
||||||
"GoToPreviousTab" = { };
|
"GoToPreviousTab" = { };
|
||||||
};
|
};
|
||||||
"bind \"Ctrl Tab\"" = {
|
|
||||||
"GoToNextTab" = { };
|
|
||||||
};
|
|
||||||
"bind \"Ctrl Shift Tab\"" = {
|
|
||||||
"GoToPreviousTab" = { };
|
|
||||||
};
|
|
||||||
"bind \"Super t\"" = {
|
"bind \"Super t\"" = {
|
||||||
"NewTab" = { };
|
"NewTab" = { };
|
||||||
};
|
};
|
||||||
@ -134,16 +136,16 @@ in
|
|||||||
};
|
};
|
||||||
theme = "custom";
|
theme = "custom";
|
||||||
themes.custom = {
|
themes.custom = {
|
||||||
fg = "${config.theme.colors.base03}";
|
fg = "${config.theme.colors.base05}";
|
||||||
bg = "${config.theme.colors.base02}";
|
bg = "${config.theme.colors.base02}";
|
||||||
black = "${config.theme.colors.base00}";
|
black = "${config.theme.colors.base00}";
|
||||||
red = "${config.theme.colors.base08}";
|
red = "${config.theme.colors.base08}";
|
||||||
green = "${config.theme.colors.base04}";
|
green = "${config.theme.colors.base0B}";
|
||||||
yellow = "${config.theme.colors.base0A}";
|
yellow = "${config.theme.colors.base0A}";
|
||||||
blue = "${config.theme.colors.base0D}";
|
blue = "${config.theme.colors.base0D}";
|
||||||
magenta = "${config.theme.colors.base0E}";
|
magenta = "${config.theme.colors.base0E}";
|
||||||
cyan = "${config.theme.colors.base0C}";
|
cyan = "${config.theme.colors.base0C}";
|
||||||
white = "${config.theme.colors.base04}";
|
white = "${config.theme.colors.base05}";
|
||||||
orange = "${config.theme.colors.base09}";
|
orange = "${config.theme.colors.base09}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user