diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-12-03 19:41:54 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-12-03 19:41:54 +0900 |
| commit | e3a7163e9fb68a4d9bb12891c86a8cf2ebc555ac (patch) | |
| tree | e7b7b2f0251207da9dae79cd709070cb1786a430 /ar | |
| parent | 5164a09f91af4127e715385bba27a688d7bd2a6d (diff) | |
updates
Diffstat (limited to 'ar')
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/rest.lua | 7 | ||||
| -rw-r--r-- | ar/.config/tmux/tmux.conf | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/rest.lua b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/rest.lua index 3c491dd..33586d3 100644 --- a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/rest.lua +++ b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/rest.lua @@ -112,6 +112,13 @@ return { _log_level = vim.log.levels.WARN, } end, + init = function() + local wk = require("which-key") + wk.add({ + mode = { "n" }, + { "<localleader>h", group = "HTTP" }, + }) + end, keys = { { "<localleader>ho", ":Rest open<CR>", desc = "Open result pane" }, { "<localleader>hr", ":Rest run<CR>", desc = "Run request under the cursor" }, diff --git a/ar/.config/tmux/tmux.conf b/ar/.config/tmux/tmux.conf index cc63f7f..921865a 100644 --- a/ar/.config/tmux/tmux.conf +++ b/ar/.config/tmux/tmux.conf @@ -282,7 +282,7 @@ set -g @offline_icon "nok" set -ogq @thm_bg "default" # transparent background set -g status-left "" set -g status-left-length 90 -set -ga status-left "#[bg=default,fg=#{@thm_red}] #(tmux list-sessions | nl | grep -w \"$(tmux display-message -p '#S')\" | awk '{print \$1}')/#(tmux list-sessions | wc -l) " +set -ga status-left "#[bg=default,fg=#{@thm_red}] #(tmux list-sessions | nl | grep -w \"$(tmux display-message -p '#S')\" | awk '{print \$1}' | tr -d '[:space:]')/#(tmux list-sessions | wc -l | tr -d '[:space:]') " set -ga status-left "#[bg=default,fg=#{@thm_overlay_0},none]│" set -ga status-left "#{?client_prefix,#{#[bg=#{@thm_surface_2},fg=#{@thm_green},bold,italics] #S },#{#[bg=default,fg=#{@thm_green}] #S }}" set -ga status-left "#[bg=default,fg=#{@thm_overlay_0},none]│" |
