This commit is contained in:
2025-09-13 14:48:54 +03:00
parent 779321ab16
commit 964db24d10
8 changed files with 72 additions and 62 deletions

View File

@@ -97,25 +97,31 @@ wrap-indicator = "↪"
[keys.insert]
C-space = "signature_help"
# tab = "move_parent_node_end"
tab = "completion"
# S-tab = "move_parent_node_start"
A-tab = "insert_tab"
C-space = "signature_help"
C-backspace = "delete_word_backward"
# tab = "move_parent_node_end"
# S-tab = "move_parent_node_start"
[keys.select]
";" = ["collapse_selection", "normal_mode"]
a = ["collapse_selection", "append_mode"]
x = "extend_line"
# a = ["append_mode", "collapse_selection"]
V = ["extend_to_line_bounds", "trim_selections"]
D = ["ensure_selections_forward", "extend_to_line_end"]
C-y = "yank_joined"
C-space = "signature_help"
C-backspace = "delete_word_backward"
# tab = "extend_parent_node_end"
# S-tab = "extend_parent_node_start"
tab = "expand_selection"
S-tab = "shrink_selection"
A-tab = "insert_tab"
";" = ["collapse_selection", "normal_mode"]
# tab = "extend_parent_node_end"
# S-tab = "extend_parent_node_start"
L = "goto_next_buffer"
H = "goto_previous_buffer"
@@ -125,15 +131,24 @@ C-h = "jump_view_left"
C-j = "jump_view_down"
C-l = "jump_view_right"
[keys.normal]
"=" = ":format"
"A-=" = "format_selections"
a = ["collapse_selection", "append_mode"]
x = "extend_line"
V = ["extend_to_line_bounds", "trim_selections"]
D = ["ensure_selections_forward", "extend_to_line_end"]
[keys.normal]
x = "extend_line"
"=" = ":format"
"A-=" = "format_selections"
C-y = "yank_joined"
C-space = "signature_help"
tab = "expand_selection"
S-tab = "shrink_selection"
A-tab = "insert_tab"
# tab = "move_parent_node_end"
# S-tab = "move_parent_node_start"
L = "goto_next_buffer"
H = "goto_previous_buffer"
@@ -144,17 +159,6 @@ C-h = "jump_view_left"
C-j = "jump_view_down"
C-l = "jump_view_right"
V = ["extend_to_line_bounds", "trim_selections"]
D = ["ensure_selections_forward", "extend_to_line_end"]
C-space = "signature_help"
tab = "expand_selection"
S-tab = "shrink_selection"
A-tab = "insert_tab"
# tab = "move_parent_node_end"
# S-tab = "move_parent_node_start"
A-j = ["extend_to_line_bounds", "delete_selection", "paste_after"]
A-k = [
@@ -193,16 +197,16 @@ e = ":toggle end-of-line-diagnostics disable hint"
d = ":toggle inline-diagnostics.cursor-line disable warning"
D = ":toggle inline-diagnostics.other-lines disable error"
z = [ # TODO: not work
":set-option cursorline true",
":set-option rulers [100]",
":set-option soft-wrap.enable false",
":set-option line-number relative",
':set-option gutters.layout ["line-numbers","spacer"]',
":set-option bufferline never",
":set-option indent-guides.render true",
":set-option lsp.display-inlay-hints false",
":set-option end-of-line-diagnostics disable",
":set-option inline-diagnostics.other-lines disable",
":set-option inline-diagnostics.cursor-line disable",
]
# z = [ # TODO: not work
# ":set-option cursorline true",
# ":set-option rulers [100]",
# ":set-option soft-wrap.enable false",
# ":set-option line-number relative",
# ':set-option gutters.layout ["line-numbers","spacer"]',
# ":set-option bufferline never",
# ":set-option indent-guides.render true",
# ":set-option lsp.display-inlay-hints false",
# ":set-option end-of-line-diagnostics disable",
# ":set-option inline-diagnostics.other-lines disable",
# ":set-option inline-diagnostics.cursor-line disable",
# ]

View File

@@ -5,13 +5,13 @@ error = "red"
info = "blue"
hint = "orange"
"comment.block.documentation" = { fg = "comment", modifiers = [
"dim", # hard to distinguish otherwise
] } # Block doc comments, e.g '/** */' in rust.
"comment.line.documentation" = { fg = "comment", modifiers = [
"italic",
] } # Line doc comments, e.g '///' in rust.
# Hard to read excluded files if "dim" is present.
# "diagnostic.unnecessary" = { modifiers = [] }
# Block doc comments, e.g '/** */' in rust. Hard to distinguish otherwise
"comment.block.documentation" = { fg = "comment", modifiers = ["dim"] }
# Line doc comments, e.g '///' in rust.
"comment.line.documentation" = { fg = "comment", modifiers = ["italic"] }
# ui.background = {}
# ui.gutter = {}

View File

@@ -40,14 +40,14 @@ column_meter_modes_0=1 1
column_meters_1=DateTime Uptime LoadAverage Tasks Battery DiskIO NetworkIO Memory Swap
column_meter_modes_1=2 2 2 2 2 2 2 1 1
tree_view=0
sort_key=46
sort_key=47
tree_sort_key=0
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
.sort_key=PERCENT_CPU
.sort_key=PERCENT_MEM
.tree_sort_key=PID
.tree_view_always_by_pid=0
.tree_view=0

View File

@@ -143,8 +143,10 @@ bind = SHIFT, F, exec, firefox
bind = SHIFT, F, submap, reset
bind = CTRL, F, exec, torbrowser-launcher
bind = CTRL, F, submap, reset
bind =, T, exec, killall Telegram || Telegram
bind =, T, exec, Telegram
bind =, T, submap, reset
bind = SHIFT, T, exec, killall Telegram
bind = SHIFT, T, submap, reset
bind =, S, exec, killall signal-desktop || signal-desktop
bind =, S, submap, reset
bind =, M, exec, QT_SCALE_FACTOR=1.25 fjordlauncher

View File

@@ -155,6 +155,7 @@ input { # {{{
#}
}
device {
name = logitech-g102-prodigy-gaming-mouse,
sensitivity = 0.5

View File

@@ -7,7 +7,7 @@ bold_font Hack Nerd Font Bold
italic_font Hack Nerd Font Italic
bold_italic_font Hack Nerd Font Bold Italic
font_size 19
font_size 20
force_ltr yes
text_composition_strategy 1 0
@@ -164,10 +164,10 @@ tab_powerline_style slanted
# tab_separator " ┇"
# active_tab_foreground #000
# active_tab_background #e7e7ff
active_tab_background #222
active_tab_font_style bold-italic
# inactive_tab_foreground #444
# inactive_tab_background #c7c7dd
inactive_tab_background #444
# inactive_tab_font_style normal
# tab_bar_background #224
# tab_bar_margin_color #224
@@ -277,7 +277,7 @@ map kitty_mod+u kitten unicode_input
map kitty_mod+c copy_to_clipboard
map kitty_mod+y open_url_with_hints
map kitty_mod+s launch firefox --search "@selection"
map kitty_mod+s launch librewolf --search "@selection"
map ctrl+alt+s launch --stdin-source=@selection --type=tab nvim
map kitty_mod+p kitten hints --type path --program nemo
map ctrl+alt+p kitten hints --type hyperlink --program nemo
@@ -317,7 +317,7 @@ map kitty_mod+enter new_os_window
map ctrl+alt+enter new_os_window_with_cwd
map kitty_mod+w new_window
map ctrl+alt+w new_window_with_cwd
map kitty_mod+q close_window_with_confirmation
map kitty_mod+q close_window_with_confirmation ignore-shell
map kitty_mod+r start_resizing_window
map kitty_mod+n previous_window

View File

@@ -2,12 +2,17 @@
[mgr]
prepend_keymap = [
{ on = "<C-y>", run = "plugin wl-clipboard", desc = "Yank to clipboard" },
{ on = "R", run = "rename --empty=stem --cursor=start", desc = "Rename file full" },
{ on = [
"g",
"d",
], run = "cd ~/documents", desc = "Goto ~/documents" },
# { on = "<C-y>", run = "plugin wl-clipboard", desc = "Yank to clipboard" },
{ on = "<C-y>", run = [
'shell -- for path in "$@"; do echo "file://$path"; done | wl-copy -t text/uri-list',
"yank",
] },
{ on = "<A-s>", run = "search --via=rga", desc = "Search files by content via ripgrep-all" },
{ on = "R", run = "rename --empty=stem --cursor=start", desc = "Rename file full" },
{ on = [
"g",
"d",
], run = "cd ~/documents", desc = "Goto ~/documents" },
{ on = "<A-s>", run = "search --via=rga", desc = "Search files by content via ripgrep-all" },
]

View File

@@ -1,7 +1,5 @@
[[plugin.deps]]
use = "grappas/wl-clipboard"
rev = "c4edc4f"
hash = "51ff959c3c26cb3889589a0f8d394f14"
[plugin]
deps = []
[[flavor.deps]]
use = "yazi-rs/flavors:dracula"