Commit Graph

16 Commits

Author SHA1 Message Date
Jonah Caplan
a174989990
fix(tabs): delete characters when renaming tab (#226) 2021-03-15 10:52:50 +01:00
Aram Drevekenin
8d0ff0fe40
feat(input): new shortcuts and ui (#220)
* feat(statusbar): new shortcuts

* feat(input): new shortcuts and ui

* style(fmt): rustfmt
2021-03-11 16:03:28 +01:00
Jonah Caplan
44b0246e91
feat(tabs): add ability to set tab name (#212)
* send all tabs in vec

* works but no input filtering

* add event types

* add event handler for tab events

* fmt fixups

* update tab name in place, and escape rename works

* rename handle_tab_event handle_tab_rename_keypress

* handle empty new_name when renaming

* fix(tabs): pad active tab name too

* fix(tabs): report proper length

* fix(tabs): always render active tab

* style(fmt): rustfmt

Co-authored-by: Aram Drevekenin <aram@poor.dev>
2021-03-08 10:06:23 +01:00
Aram Drevekenin
845478fe11
New tab styling (#216)
* draft

* feat(tabbar): new ui

* style(fmt): rustfmt
2021-03-03 18:52:17 +01:00
Jonah Caplan
ce54127d7d add basic tab bar #166 2021-02-25 01:44:10 -05:00
a-kenji
683c152fa2
feature(strider): Allow to Hide Hidden Files (#203)
closes #197

default keybinding = '.'
default view = shows hidden files

Alternative:
Hide hidden files by default.
2021-02-23 20:25:02 +01:00
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
henil
9b3c6863d8 some more files... 2021-02-10 12:23:40 +05:30
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
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
eae1b0f18d Moved the status-bar into its own folder 2021-02-09 17:46:01 +00:00