Commit Graph

59 Commits

Author SHA1 Message Date
008d7cd0cd Added background for chat to avoid relying on terminal background 2025-02-03 16:50:53 +02:00
2e9e0785c3 Fixed wrapping issues of placeholder in viminput and also re-phrased
some things
2025-01-28 19:33:51 +02:00
7c4a45f413 Made UI more responsive 2025-01-19 18:07:25 +02:00
15067a81c5 Added client and server side edit message functionality 2025-01-16 19:11:15 +02:00
9ebd017160 Added visual indicators for chat when the frequency is read-only the
viminput is grayed out and the cursor is hidden, when muted (untested)
the viminput border is red, and when no access it's grayed and a message
showing no perms instead of the "this frequency is empty", along with
placeholders for "Send message..." that say that you are muted/don't
have permission to write message
2025-01-16 17:36:06 +02:00
2f1ee548be viminput can now be exited with ctrl+q in insert mode 2025-01-14 19:14:18 +02:00
8f25e33d57 Implemented ctrl+a to select all in viminput and also a very scuffed
pasting from system clipboard in insert mode
2025-01-13 18:54:05 +02:00
d87c6090d4 Fixed viminput crash where pressing backspace in insertmode while on the
first char in a non-blank line crashes due to index out of bounds
2024-12-23 18:48:45 +02:00
eb6156ff10 Refactored local config and added support for tab in insert mode in
viminput
2024-12-21 19:42:01 +02:00
90c54591cc Implemented remembering messages in frequencies 2024-12-21 16:54:43 +02:00
ff032e5e07 Implemented client-side message sending 2024-12-19 17:03:18 +02:00
f58c860d55 Added frame around viminput which includes a statusline 2024-12-18 19:49:01 +02:00
692e10d825 Fixed extra newline due to placeholder issues 2024-12-18 18:48:02 +02:00
c2ca65580d Removed line decorations from viminput 2024-12-18 18:21:50 +02:00
438e887d6f Fixed motion counts only going up to 9 in viminput 2024-12-18 18:10:56 +02:00
b50ef57f44 Implemented o motion for visual and visual line in viminput 2024-12-18 17:59:13 +02:00
9e3f12d290 Implemented support for placeholders to prompt the user to send a
message (only if there is exactly 1 blank line)
2024-12-18 17:51:21 +02:00
6b13e0184d Fixed a bug where blank lines in visual or visual line mode won't be
highlighted
2024-12-18 17:45:37 +02:00
86c1b7aa58 Implemented scrolling in viminput 2024-12-18 17:04:27 +02:00
a8d0606e92 Changed i in chat to go into insert mode for better UX 2024-12-17 19:32:27 +02:00
066d55dcaa Added undo/redo to viminput (doesn't exactly match NVIM but it's good
enough)
2024-12-17 19:25:48 +02:00
f394b15846 Added motion count for normal, visual, and visual line mode in viminput 2024-12-17 17:40:44 +02:00
6b05b468a5 Added ctrl+d/ctrl+u which move vertically half the height of viminput 2024-12-16 18:27:46 +02:00
2b0812ae7e Added capability for chat to be "locked" into viminput, which solves the
issue of H/L, they can now be typed normally, pressing "i" to go into
locked mode and "q" (in normal mode) to leave it
2024-12-16 18:19:18 +02:00
91992de3c0 Fixed a bug when forward-pasting in normal mode where it'd have an extra
blank line when pasting on a blank line when the register ends with \n
2024-12-16 18:02:24 +02:00
c990c26906 Implemented pasting for visual and visual line mode in viminput 2024-12-16 17:56:16 +02:00
2ca354c92c Finished implementing pasting in normal mode 2024-12-16 17:08:27 +02:00
b0bb27ca25 Implemented multiline x/d/c in visual mode and fixed a bug in visual
mode where multiline yank caused crashes/was incorrect
2024-12-16 16:46:41 +02:00
0a0492156a Added support for y and single-line x/d/c for visual mode in viminput 2024-12-15 19:25:53 +02:00
5a7a3028e9 Implemented x/d/c/y for visual line mode in viminput 2024-12-15 18:39:55 +02:00
c65b6f9f04 Added visual and visual line modes, with basic highlighting to viminput 2024-12-15 18:03:39 +02:00
a694b3916a Implemented iw/aw/iW/aW text objects in viminput 2024-12-14 19:45:49 +02:00
04bbc516e3 Added support for "word" motions in O-pending mode (d/c/y) in viminput 2024-12-14 18:54:54 +02:00
18352d5439 Implemented ge/gE in viminput 2024-12-14 17:32:24 +02:00
feacef91b8 Reverted last bug fix, it was a wrong fix that caused a different bug,
the root cause was the SearchChar function which was fixed in this
commit
2024-12-14 17:29:18 +02:00
9c4d6d4616 Implemented w motion in viminput and fixed a bug with w/W when on the
start of the line it'd jump to the next (even if a word in the current
line exists)
2024-12-14 16:23:42 +02:00
e33f4f003a Implemented W motion in viminput (might need some extra testing) 2024-12-13 19:31:52 +02:00
ccb7fca556 Implemented e and b in viminput 2024-12-13 18:25:22 +02:00
29d70f27c5 Implemented B motion in vimniput 2024-12-13 17:35:24 +02:00
c68adab0ba Implemented E motion in viminput 2024-12-13 17:22:35 +02:00
310afed684 Implemented f/t/F/T motions in viminput 2024-12-12 19:38:13 +02:00
25844d347f Added gg and G motions to viminput 2024-12-12 18:16:38 +02:00
2183261c3f Implemented multiline motion support for opending mode in viminput 2024-12-12 17:32:23 +02:00
aa9c3d6a57 Fixed bug where j/k in normal mode would not be on a char 2024-12-12 16:15:20 +02:00
cd69bf019d Pasting forward fully complete in viminput 2024-12-09 19:17:18 +02:00
37bdf70ea7 Partially implemented multiline paste 2024-12-09 18:39:06 +02:00
a4e069b330 Implemented dd, cc, yy in viminput 2024-12-09 17:47:18 +02:00
f9971074a6 Implemented single-line command + motion for viminput 2024-12-09 17:28:39 +02:00
2a6f5c2c3d Added C and fixed pasting in viminput 2024-12-08 22:51:53 +02:00
bca8e44586 Added single-line yanking and pasting 2024-12-08 18:18:10 +02:00