LibreChat Shortcuts + Token Counter

Keyboard Shortcuts for LibreChat

目前為 2025-07-19 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Brian Hurd
評價
0 0 0
版本
3.1.0
建立日期
2025-03-28
更新日期
2025-07-19
尺寸
79.2 KB
授權條款
未知
腳本執行於

// === Shortcut Keybindings ===
// Alt+S → Toggle sidebar (clicks #toggle-left-nav)
// Alt+N → New chat (clicks button[aria-label="New chat"])
// Alt+T → Scroll to top of message container
// Alt+Z → Scroll to bottom of message container
// Alt+W → Focus Chat Input
// Alt+C → Click Copy on lowest message, then strip markdown
// Alt+X → Select and copy, cycles visible messages
// Alt+A → Scroll up one message (.message-render)
// Alt+F → Scroll down one message (.message-render)
// Alt+; → Narrow ideal reading mode (66ch wide, line-height: 1.8). Persists state after reload.
// Alt+p → Toggles Private Chat
// Alt+d → copy the lowest table
// Tables are striped, and have a copy button that copies html so they paste nicely into MS word.

// Just start typing to go to input chatbox
// Paste input when not in chat box

// Alt+r → Toggle header in narrow mode. Persists state after reload.
// alt+m toggle maximize chat area, 5 clicks baby
// control+enter send message
// control+backspace stop generating
// control+; clicks stop then regenerate (or just regenerate if stop isn't available).

// Alt+e → toggle collapse expand chat
// alt+w → Open the preset menu to see the "defaults"
// alt+# 1-9 to activate presets
// alt+g Click right sidebar toggle with alt+g for parameter settings

// other fixes
// label presets with alt+1 to alt+9
// Convert
in tables displaying as literal
to line breaks

// Token Counter is disabled, uncomment to enable and use Alt+U to update the token cost per million

// replaces the multi-conversation and preset icons with ones that are intuitive
// hides ads disguised as features