LibreChat Shortcuts + Token Counter

Keyboard Shortcuts for LibreChat

作者
Brian Hurd
日安装量
0
总安装量
4
评分
1 0 0
版本
3.2.0
创建于
2025-03-28
更新于
2025-08-21
大小
79.4 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

// 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+q → 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
// alt+e edit lowest user message
// alt+d simulate control enter

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

// table copy buttons: Every table also gets a copy button just below it and copying is ms word (HTML + TSV) friendly
// replaces the multi-conversation and preset icons with ones that are intuitive
// In narrow mode it condenses buttons to one row.
// resizeable right sidebar width