diff --git a/.config/git/config b/.config/git/config index 78c27f8..ec280e1 100644 --- a/.config/git/config +++ b/.config/git/config @@ -28,6 +28,8 @@ minus-emph-style = syntax "#800003" plus-style = syntax "#003800" plus-emph-style = syntax "#007800" + line-numbers-left-format = "{nm:<4}" + line-numbers-right-format = "{np:<4}" [log] showSignature = true @@ -35,6 +37,9 @@ [gpg "ssh"] allowedSignersFile = ~/.config/git/allowed_signers +[user] + name = - + email = - [includeIf "gitdir:~/src/"] path = ~/src/.gitconfig diff --git a/.config/helix/config.toml b/.config/helix/config.toml index 446be6e..7fd8342 100644 --- a/.config/helix/config.toml +++ b/.config/helix/config.toml @@ -111,9 +111,19 @@ A-b = "move_parent_node_start" ";" = ["collapse_selection", "normal_mode"] # a = ["collapse_selection", "append_mode"] -X = "extend_line_up" -V = ["extend_to_line_bounds", "trim_selections"] +X = "extend_line_above" +# V = ["extend_to_line_bounds", "trim_selections"] D = ["ensure_selections_forward", "extend_to_line_end"] +V = [ + "save_selection", + "collapse_selection", + "normal_mode", + "goto_line_start", + "extend_to_line_end_newline", + "delete_selection", + "jump_backward", + "select_mode", +] C-y = "yank_joined" C-space = "signature_help" @@ -127,11 +137,12 @@ S-tab = "shrink_selection" L = "goto_next_buffer" H = "goto_previous_buffer" +C-l = "@:e%:bc:" # move buffer to the end -C-k = "jump_view_up" -C-h = "jump_view_left" -C-j = "jump_view_down" -C-l = "jump_view_right" +# C-k = "jump_view_up" +# C-h = "jump_view_left" +# C-j = "jump_view_down" +# C-l = "jump_view_right" [keys.normal] @@ -139,9 +150,10 @@ C-l = "jump_view_right" "A-=" = "format_selections" # a = ["collapse_selection", "append_mode"] -X = "extend_line_up" -V = ["extend_to_line_bounds", "trim_selections"] +X = "extend_line_above" +# V = ["extend_to_line_bounds", "trim_selections"] D = ["ensure_selections_forward", "extend_to_line_end"] +V = ["goto_line_start", "extend_to_line_end_newline", "delete_selection"] C-y = "yank_joined" C-space = "signature_help" @@ -154,12 +166,13 @@ S-tab = "shrink_selection" L = "goto_next_buffer" H = "goto_previous_buffer" +C-l = "@:e%:bc:" # move buffer to the end # C-q = "wclose" -C-k = "jump_view_up" -C-h = "jump_view_left" -C-j = "jump_view_down" -C-l = "jump_view_right" +# C-k = "jump_view_up" +# C-h = "jump_view_left" +# C-j = "jump_view_down" +# C-l = "jump_view_right" A-j = ["extend_to_line_bounds", "delete_selection", "paste_after"] diff --git a/.config/htop/htoprc b/.config/htop/htoprc index c126c4e..578398b 100644 --- a/.config/htop/htoprc +++ b/.config/htop/htoprc @@ -43,7 +43,7 @@ tree_view=0 sort_key=46 tree_sort_key=0 sort_direction=-1 -tree_sort_direction=-1 +tree_sort_direction=1 tree_view_always_by_pid=0 all_branches_collapsed=0 screen:Main=PID USER PRIORITY NICE M_VIRT M_SHARE M_RESIDENT STATE NLWP PROCESSOR PERCENT_CPU PERCENT_MEM TIME Command @@ -52,7 +52,7 @@ screen:Main=PID USER PRIORITY NICE M_VIRT M_SHARE M_RESIDENT STATE NLWP PROCESSO .tree_view_always_by_pid=0 .tree_view=0 .sort_direction=-1 -.tree_sort_direction=-1 +.tree_sort_direction=1 .all_branches_collapsed=0 screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command .sort_key=IO_WRITE_RATE diff --git a/.config/hypr/binds.conf b/.config/hypr/binds.conf index bb4fd6f..f445ea5 100644 --- a/.config/hypr/binds.conf +++ b/.config/hypr/binds.conf @@ -147,6 +147,8 @@ bind = SHIFT, F, exec, firefox bind = SHIFT, F, submap, reset bind = CTRL, F, exec, torbrowser-launcher bind = CTRL, F, submap, reset +bind =, C, exec, helium-browser +bind =, C, submap, reset bind =, T, exec, Telegram bind =, T, submap, reset bind = SHIFT, T, exec, killall Telegram @@ -193,8 +195,8 @@ bind = SHIFT, P, exec, easyeffects bind = SHIFT, P, submap, reset bind =, B, exec, blueman-manager bind =, B, submap, reset -bind =, C, exec, nm-connection-editor -bind =, C, submap, reset +bind = SHIFT, C, exec, nm-connection-editor +bind = SHIFT, C, submap, reset bind = SHIFT, E, exec, killall nm-applet || nm-applet bind = SHIFT, E, submap, reset #bind =, G, exec, nwg-look diff --git a/.config/hypr/monitors.conf b/.config/hypr/monitors.conf index 8512481..3ba52f1 100644 --- a/.config/hypr/monitors.conf +++ b/.config/hypr/monitors.conf @@ -12,6 +12,7 @@ monitorv2 { mode = preferred # position = 0x0 position = 320x1080 + # position = 0x1080 scale = auto } # monitor = eDP-1, disable diff --git a/.config/lazygit/config.yml b/.config/lazygit/config.yml index f576a99..d6177ed 100644 --- a/.config/lazygit/config.yml +++ b/.config/lazygit/config.yml @@ -4,5 +4,8 @@ gui: border: single git: pagers: - - colorArg: always - pager: delta --paging=never + - pager: delta --paging=never + - pager: delta --paging=never --side-by-side --line-numbers + # - externalDiffCommand: difft --color=always --display=inline --context=5 + # - externalDiffCommand: ~/.local/bin/difft --color=always --display=inline --context=5 --line-numbers=off + # colorArg: always diff --git a/.local/share/cargo/config.toml b/.local/share/cargo/config.toml index d943dee..0159b44 100644 --- a/.local/share/cargo/config.toml +++ b/.local/share/cargo/config.toml @@ -1,20 +1,30 @@ +[alias] +cl = "clippy -- --no-deps -Wclippy::correctness -Wclippy::complexity -Wclippy::suspicious -Wclippy::style -Wclippy::perf -Wclippy::pedantic -Wclippy::nursery -Aclippy::cargo -Aclippy::restriction -Aclippy::must_use_candidate" + [build] rustc-wrapper = "sccache" rustflags = ["-Z", "threads=8"] + [profile.release] lto = true [profile.dev] opt-level = 1 +debug = "line-tables-only" codegen-backend = "cranelift" - [unstable] codegen-backend = true [profile.dev.package."*"] +debug = false opt-level = 3 +[profile.debugging] +inherits = "dev" +debug = true + + [target.x86_64-unknown-linux-gnu] linker = "clang" rustflags = ["-C", "link-arg=--ld-path=wild"]