Commit Graph

314 Commits

Author SHA1 Message Date
categorille
c74e2ef273
feat(input): new keybindings and persistent mode as default (#181)
* added some comments in the input module

* InputHandler now has InputState instead of separate InputMode and permanent bool

* keybinds are now associated with a Vec<Action> instead of a single Action

* removing "persistent" modes alltogether to reimplement the feature, help bar broken

* locked command mode by default, fixes #161, help bar still broken

* status bar fixed, still a few improvements/bugs to go

* better shortcut help bar contents

* fixed last bits and i think we are good

* modified tests according to new controls, not working

* Revert "modified tests according to new controls, not working"

This reverts commit f2d9421ff0.

* basic.rs tests now pass, not the rest

* close_pane.rs tests pass, but very slowly?

* compatibility.rs tests pass, very slowly as well

* {layout, {move_focus_*}}.rs all working mildly slowly

* {resize_*}.rs should all work but very slowly and funky, see PR comments

* {tabs,toggle_fullscreen}.rs pass. Test performance issue yet to be fixed

* tests now work, with a hack :| ready for merge

* rustfmt + deleted references to InputState and mode persistency
2021-02-12 14:55:22 +01:00
Aram Drevekenin
695a75c363
feat(strider): add vim h key (#182) 2021-02-12 11:44:39 +01:00
Aram Drevekenin
ed22071381
feat(strider): add vim keys (#180)
* feat(strider): add vim keys

* style(fmt): rustfmt
2021-02-11 14:51:46 +01:00
Aram Drevekenin
a5b30c52e6
fix(build): copy assets also without --release (#179) 2021-02-11 13:19:15 +01:00
Aram Drevekenin
4d69c5c9b1
docs(readme): updates 2021-02-10 13:40:31 +01:00
henil
fb701afb0f Use temporary fork of termion for now
Because crates.io require each package in the dependency to be published on
crates.io
2021-02-10 17:26:13 +05:30
henil
bf02a7df29 add version to Cargo.toml 2021-02-10 16:37:19 +05:30
henil
ae37edd4f1 Update plugins 2021-02-10 16:33:04 +05:30
henil
436b4ee19e fix: Some warnings 2021-02-10 15:49:41 +05:30
henil
e52e9b1b37 And from Goodbye message 2021-02-10 12:26:38 +05:30
henil
9b3c6863d8 some more files... 2021-02-10 12:23:40 +05:30
henil
af95b3ff9a Update references in src/ 2021-02-10 12:22:15 +05:30
henil
30f0567d8a Update references of mosaic to Zellij in md files 2021-02-10 12:12:19 +05:30
Brooks Rady
4704510917
style(reorg): merge plugin repos and start the mosaic -> zellij transition
Major Repo Reorganisation
2021-02-10 00:15:46 +00:00
Brooks J Rady
d28b66a2a7 Fix non-release builds 2021-02-09 23:59:28 +00:00
Brooks J Rady
4f199d5d35 Fix actions 2021-02-09 23:46:09 +00:00
Brooks J Rady
db3ec62cf2 Fix tests 2021-02-09 23:40:16 +00:00
Brooks J Rady
ec06f0e5e8 Got the build to a functional state 2021-02-09 23:30:07 +00:00
Brooks J Rady
9791970856 Well, it turns out that I spent 4 hours on something impossible... 2021-02-09 22:19:34 +00:00
Brooks J Rady
678a6f877c Work towards a functional build 2021-02-09 19:06:47 +00:00
Brooks J Rady
dc9e2b1e6c Move the README and link it to the zellij crate 2021-02-09 18:05:51 +00:00
Brooks J Rady
50ec879933 Rough outline of the final structure 2021-02-09 18:01:50 +00:00
Brooks J Rady
e81e547364 Moved strider into its own folder 2021-02-09 17:49:37 +00:00
Brooks J Rady
012cce2389 Merged in strider 2021-02-09 17:48:09 +00:00
Brooks J Rady
eae1b0f18d Moved the status-bar into its own folder 2021-02-09 17:46:01 +00:00
Brooks J Rady
8447527477 Merged in the status-bar 2021-02-09 17:42:16 +00:00
Brooks J Rady
7bab33e5d2 Merged in mosaic-tile and started renaming to zellij 2021-02-09 17:38:02 +00:00
Brooks J Rady
fd001860f4 Push the mosaic folder down a directory 2021-02-09 17:27:36 +00:00
Aram Drevekenin
14783c2b2c
feat(ui): new keybindings and status bar (#160)
* work

* feat(statusbar): new design and keybindings

* fix(ipc): add missing const

* style(fmt): rustfmt

* style(input): remove accidental comment
2021-02-09 17:36:37 +01:00
Aram Drevekenin
380f056315
feat(ui): new design 2021-02-09 17:36:07 +01:00
Aram Drevekenin
167b891b0f
feat(api): set invisible borders 2021-02-09 17:35:41 +01:00
Aram Drevekenin
f344451dfa
Merge branch 'master' into new-design 2021-02-09 17:33:56 +01:00
Aram Drevekenin
a23630a3cc feat(ui): new design 2021-02-09 17:13:30 +01:00
Aram Drevekenin
36938c504a feat(api): set invisible borders 2021-02-09 17:12:04 +01:00
Henil Dedania
c5370803ac
Merge pull request #158 from mosaic-org/add-files
docs: Add initial issue template and CONTRIBUTING.md
2021-02-05 21:18:11 +05:30
henil
0508bf90d3 chore(cleanup): Remove .vscode 2021-02-05 21:15:40 +05:30
henil
b1006b9f4d Follow Conventional commits where necessary 2021-02-05 21:03:24 +05:30
Kyle Sutherland-Cash
b6fb330da3
refactor(input): hotkeys (#132)
* Initial definitions and thoughts for hotkeys

* Actually document InputKey properly

* Add a to string function for input keys

* Define keybinds and actions; restructure

* Implement hash and start on defining key bindings

* Derive Serialize for input keys

* Store the key strings as tuples for two-way mapping

* Some string to key functions

* Use termion's Key definition and implement action dispatch

* Fix some borrow-checker errors

* Missing keybind and command mode switching

* Fix incorrect handling of spawn terminal command

* fix(plugins): work with new input - tests not passing

* fix(infra): stabilize tests and properly close pty sessions

* style(fmt): rustfmt

Co-authored-by: Brooks J Rady <b.j.rady@gmail.com>
Co-authored-by: Aram Drevekenin <aram@poor.dev>
2021-02-05 11:28:34 +01:00
henil
81989ede17 change heading level 2021-02-04 18:51:00 +05:30
henil
0854461519 fix links 2021-02-04 18:48:47 +05:30
henil
c906a8b2fa removed CHANGELOG for now and added some more details 2021-02-04 14:51:11 +05:30
henil
aa8da0b142 Add initial issue template and CONTRIBUTING.md 2021-01-31 12:12:55 +05:30
Denis Maximov
63a2dc3399
Merge pull request #157 from mosaic-org/restructure
Restructure
2021-01-30 13:45:51 +02:00
denis
1afab052a9 chore: formatting 2021-01-29 10:55:25 +02:00
denis
c488b38642 wip: unused imports 2021-01-29 10:55:12 +02:00
denis
354316d20c chore: formatting 2021-01-29 07:25:58 +02:00
denis
be9a059116 wip: moved stuff from main into common 2021-01-29 07:21:33 +02:00
denis
6a3481f54f Merge branch 'main' into restructure 2021-01-29 06:24:59 +02:00
Aram Drevekenin
dd56deb2d2
feat(statusbar): max status bar height (#156) 2021-01-28 18:29:44 +01:00
Aram Drevekenin
31b415e391
Merge pull request #1 from mosaic-org/max-height
feat(init): set max height on startup
2021-01-28 18:24:03 +01:00