diff options
Diffstat (limited to 'ar/.config')
| -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]│" |
