LibreChat Shortcuts + Token Counter

Keyboard Shortcuts for LibreChat

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ავტორი
Brian Hurd
დღიური ინსტალაციები
0
მთლიანი ინსტალაციები
11
რეიტინგი
1 0 0
ვერსია
3.3.0
შექმნილია
28.03.2025
განახლებულია
22.09.2025
Size
81,9 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. default deleting last word now remains active.
// 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