LibreChat Shortcuts + Token Counter

Keyboard Shortcuts for LibreChat

2025/07/18のページです。最新版はこちら

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
Brian Hurd
評価
0 0 0
バージョン
3.0.0.2
作成日
2025/03/28
更新日
2025/07/18
大きさ
73.7KB
ライセンス
不明
対象サイト

// === 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