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
+41 -37
View File
@@ -97,25 +97,31 @@ wrap-indicator = "↪"
[keys.insert] [keys.insert]
C-space = "signature_help"
# tab = "move_parent_node_end"
tab = "completion" tab = "completion"
# S-tab = "move_parent_node_start"
A-tab = "insert_tab" 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] [keys.select]
";" = ["collapse_selection", "normal_mode"]
a = ["collapse_selection", "append_mode"]
x = "extend_line" 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-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" tab = "expand_selection"
S-tab = "shrink_selection" S-tab = "shrink_selection"
A-tab = "insert_tab" A-tab = "insert_tab"
# tab = "extend_parent_node_end"
";" = ["collapse_selection", "normal_mode"] # S-tab = "extend_parent_node_start"
L = "goto_next_buffer" L = "goto_next_buffer"
H = "goto_previous_buffer" H = "goto_previous_buffer"
@@ -125,15 +131,24 @@ C-h = "jump_view_left"
C-j = "jump_view_down" C-j = "jump_view_down"
C-l = "jump_view_right" 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"] V = ["extend_to_line_bounds", "trim_selections"]
D = ["ensure_selections_forward", "extend_to_line_end"] D = ["ensure_selections_forward", "extend_to_line_end"]
[keys.normal]
x = "extend_line"
"=" = ":format"
"A-=" = "format_selections"
C-y = "yank_joined" 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" L = "goto_next_buffer"
H = "goto_previous_buffer" H = "goto_previous_buffer"
@@ -144,17 +159,6 @@ C-h = "jump_view_left"
C-j = "jump_view_down" C-j = "jump_view_down"
C-l = "jump_view_right" 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-j = ["extend_to_line_bounds", "delete_selection", "paste_after"]
A-k = [ 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.cursor-line disable warning"
D = ":toggle inline-diagnostics.other-lines disable error" D = ":toggle inline-diagnostics.other-lines disable error"
z = [ # TODO: not work # z = [ # TODO: not work
":set-option cursorline true", # ":set-option cursorline true",
":set-option rulers [100]", # ":set-option rulers [100]",
":set-option soft-wrap.enable false", # ":set-option soft-wrap.enable false",
":set-option line-number relative", # ":set-option line-number relative",
':set-option gutters.layout ["line-numbers","spacer"]', # ':set-option gutters.layout ["line-numbers","spacer"]',
":set-option bufferline never", # ":set-option bufferline never",
":set-option indent-guides.render true", # ":set-option indent-guides.render true",
":set-option lsp.display-inlay-hints false", # ":set-option lsp.display-inlay-hints false",
":set-option end-of-line-diagnostics disable", # ":set-option end-of-line-diagnostics disable",
":set-option inline-diagnostics.other-lines disable", # ":set-option inline-diagnostics.other-lines disable",
":set-option inline-diagnostics.cursor-line disable", # ":set-option inline-diagnostics.cursor-line disable",
] # ]
+6 -6
View File
@@ -5,13 +5,13 @@ error = "red"
info = "blue" info = "blue"
hint = "orange" hint = "orange"
"comment.block.documentation" = { fg = "comment", modifiers = [ # Hard to read excluded files if "dim" is present.
"dim", # hard to distinguish otherwise # "diagnostic.unnecessary" = { modifiers = [] }
] } # Block doc comments, e.g '/** */' in rust.
"comment.line.documentation" = { fg = "comment", modifiers = [
"italic",
] } # Line doc comments, e.g '///' in rust.
# 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.background = {}
# ui.gutter = {} # ui.gutter = {}
+2 -2
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_meters_1=DateTime Uptime LoadAverage Tasks Battery DiskIO NetworkIO Memory Swap
column_meter_modes_1=2 2 2 2 2 2 2 1 1 column_meter_modes_1=2 2 2 2 2 2 2 1 1
tree_view=0 tree_view=0
sort_key=46 sort_key=47
tree_sort_key=0 tree_sort_key=0
sort_direction=-1 sort_direction=-1
tree_sort_direction=-1 tree_sort_direction=-1
tree_view_always_by_pid=0 tree_view_always_by_pid=0
all_branches_collapsed=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 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_sort_key=PID
.tree_view_always_by_pid=0 .tree_view_always_by_pid=0
.tree_view=0 .tree_view=0
+3 -1
View File
@@ -143,8 +143,10 @@ bind = SHIFT, F, exec, firefox
bind = SHIFT, F, submap, reset bind = SHIFT, F, submap, reset
bind = CTRL, F, exec, torbrowser-launcher bind = CTRL, F, exec, torbrowser-launcher
bind = CTRL, F, submap, reset bind = CTRL, F, submap, reset
bind =, T, exec, killall Telegram || Telegram bind =, T, exec, Telegram
bind =, T, submap, reset 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, exec, killall signal-desktop || signal-desktop
bind =, S, submap, reset bind =, S, submap, reset
bind =, M, exec, QT_SCALE_FACTOR=1.25 fjordlauncher bind =, M, exec, QT_SCALE_FACTOR=1.25 fjordlauncher
+1
View File
@@ -155,6 +155,7 @@ input { # {{{
#} #}
} }
device { device {
name = logitech-g102-prodigy-gaming-mouse, name = logitech-g102-prodigy-gaming-mouse,
sensitivity = 0.5 sensitivity = 0.5
+5 -5
View File
@@ -7,7 +7,7 @@ bold_font Hack Nerd Font Bold
italic_font Hack Nerd Font Italic italic_font Hack Nerd Font Italic
bold_italic_font Hack Nerd Font Bold Italic bold_italic_font Hack Nerd Font Bold Italic
font_size 19 font_size 20
force_ltr yes force_ltr yes
text_composition_strategy 1 0 text_composition_strategy 1 0
@@ -164,10 +164,10 @@ tab_powerline_style slanted
# tab_separator " ┇" # tab_separator " ┇"
# active_tab_foreground #000 # active_tab_foreground #000
# active_tab_background #e7e7ff active_tab_background #222
active_tab_font_style bold-italic active_tab_font_style bold-italic
# inactive_tab_foreground #444 # inactive_tab_foreground #444
# inactive_tab_background #c7c7dd inactive_tab_background #444
# inactive_tab_font_style normal # inactive_tab_font_style normal
# tab_bar_background #224 # tab_bar_background #224
# tab_bar_margin_color #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+c copy_to_clipboard
map kitty_mod+y open_url_with_hints 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 ctrl+alt+s launch --stdin-source=@selection --type=tab nvim
map kitty_mod+p kitten hints --type path --program nemo map kitty_mod+p kitten hints --type path --program nemo
map ctrl+alt+p kitten hints --type hyperlink --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 ctrl+alt+enter new_os_window_with_cwd
map kitty_mod+w new_window map kitty_mod+w new_window
map ctrl+alt+w new_window_with_cwd 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+r start_resizing_window
map kitty_mod+n previous_window map kitty_mod+n previous_window
+12 -7
View File
@@ -2,12 +2,17 @@
[mgr] [mgr]
prepend_keymap = [ prepend_keymap = [
{ on = "<C-y>", run = "plugin wl-clipboard", desc = "Yank to clipboard" }, # { on = "<C-y>", run = "plugin wl-clipboard", desc = "Yank to clipboard" },
{ on = "R", run = "rename --empty=stem --cursor=start", desc = "Rename file full" }, { on = "<C-y>", run = [
{ on = [ 'shell -- for path in "$@"; do echo "file://$path"; done | wl-copy -t text/uri-list',
"g", "yank",
"d", ] },
], run = "cd ~/documents", desc = "Goto ~/documents" },
{ 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" },
] ]
+2 -4
View File
@@ -1,7 +1,5 @@
[[plugin.deps]] [plugin]
use = "grappas/wl-clipboard" deps = []
rev = "c4edc4f"
hash = "51ff959c3c26cb3889589a0f8d394f14"
[[flavor.deps]] [[flavor.deps]]
use = "yazi-rs/flavors:dracula" use = "yazi-rs/flavors:dracula"