Jesse Duffield
077f113618
add in-built logging support for a better dev experience
2020-09-26 11:00:50 +10:00
Jesse Duffield
845c80721f
Decouple escaping from quitting
...
When a user is not entering text into a prompt, the 'q' key should immediately
quit the application. On the other hand, the 'esc' key should cancel/close/go-back
to the previous context.
If we're at the surface level (nothing to cancel/close) and the user hits the
escape key, the default behaviour is to close the app, however we now have a
`quitOnTopLevelReturn` config key to override this.
I actually think from the beginning we should have made this config option
default to false rather than true which is the default this PR gives it,
but I don't want to anger too many people familiar with the existing behaviour.
2020-07-18 20:00:48 +10:00
Jesse Duffield
e47ad846c4
big golangci-lint cleanup
2020-03-09 12:23:13 +11:00
Jesse Duffield
a7508a5dfd
fix cheatsheet script to support different contexts
2020-02-29 17:46:00 +11:00
Jesse Duffield
131113b065
simplify how the context system works
2019-11-10 22:32:13 +11:00
Christian Muehlhaeuser
69ac0036e6
Swallow errors entirely, instead of assigning and ignoring them
2019-07-27 10:53:19 +10:00
Suhas Karanth
e38d9d5f22
Add alternatives for scroll actions to context map
2019-05-12 16:20:42 +10:00
Suhas Karanth
97f060d38d
Add field Alternative to gui.Binding
...
Document and use alternative keybinding for generating cheatsheet. Add
alt keybinding fn+up/down for scroll up/down actions.
Also run `go run scripts/generate_cheatsheet.go`.
2019-05-12 16:20:42 +10:00
Jesse Duffield
e68dbeb7eb
organise keybindings better
2019-03-22 20:20:06 +11:00
skanehira
c453bfeb32
generate the cheatsheet for each supported language
2019-03-18 09:49:23 +11:00
Jesse Duffield
7a170bbccf
extend cheatsheet generator to contain context based keybindings
2019-03-02 19:05:21 +11:00
Jesse Duffield
e331dfcaf8
update i18n
2019-03-02 17:46:56 +11:00
Jesse Duffield
198cbee498
introduce panel contexts and more work on rebasing
2019-02-16 12:07:27 +11:00
Dawid Dziurla
0dcfa09ff2
run go fmt against generator
2019-01-17 10:11:17 +11:00
Dawid Dziurla
d5401ab200
add script generating keybindings cheatsheet
2019-01-17 10:11:17 +11:00
Jesse Duffield
c14a4eed0e
bump modules and add bump_modules script
2018-12-18 23:03:26 +11:00
Denis Isaev
4e8e4612bd
fix 'main' redefinition in scripts/ dir
2018-11-24 12:23:46 +03:00
Dawid Dziurla
db2e2160a9
change menu keybinding from ? to x
2018-09-05 15:55:24 +02:00
Dawid Dziurla
08395ae76c
workaround to include menu keybinding in cheatsheet
2018-09-05 15:45:20 +02:00
Dawid Dziurla
906f8e252e
include global keybindings in menu
2018-09-05 13:16:40 +02:00
Dawid Dziurla
557009e660
help -> menu
2018-09-05 11:12:11 +02:00
Dawid Dziurla
36874be45b
apply very important fmt
2018-09-03 17:54:06 +02:00
Dawid Dziurla
359636c1aa
add generate_cheatsheet script
...
script is generating markdown document with small cheatsheet
in selected language
2018-09-03 17:54:06 +02:00
Jesse Duffield
77191ea67c
show output line by line in deploy script
2018-08-11 17:07:56 +10:00
Jesse Duffield
d08241b2ea
Obtain branches in a more robust way. Begin refactor work on gitcommands
2018-08-10 21:34:17 +10:00