67bbeb195b
support custom keybindings
2020-09-27 09:49:30 +10:00
dd29ee7288
convert to string in a better way because I'm pretty sure alpine needs it
2020-09-26 11:12:47 +10:00
1fd89b4f46
Be able to copy file name
2020-09-21 15:35:50 +10:00
1494a3863d
Remove tab keybinding for cycling tab
...
This keybinding has been more pain than it's worth. Having a tab keybinding
to cycle tabs implies that you can shift+tab and when you shift+tab the
application exits because termbox, our dependency, doesn't know how to
interpret the escape sequence (so it takes it for an actual ESC key which
will exit lazygit at the top level).
If people get mad at me they can set nextBlock-alt to <tab> and they'll have
the functionality back :)
2020-08-25 10:48:13 +00:00
f5c55f066b
use new branch logic when 'checking out' remote branch
2020-08-25 09:25:17 +00:00
3ebb91c07a
better keybinding ('W') for viewing diff
2020-08-24 23:08:05 +00:00
66bd86b9b7
set keybindings after initialising views
2020-08-23 17:49:58 +10:00
438abd6003
centralise code for copying to clipboard
2020-08-23 14:29:18 +10:00
442f6cd854
more cherry picking stuff, mostly around the reflog
2020-08-23 14:29:18 +10:00
c2b154acad
better handling of our different modes and also cherry picking
2020-08-23 14:29:18 +10:00
fbd61fcd17
refactor how we handle different modes
2020-08-23 14:29:18 +10:00
63209ef71e
try allowing creating branches off the stash too
2020-08-23 14:29:18 +10:00
f63ec38aae
genericise creating new branches off things
2020-08-23 14:29:18 +10:00
974c6510b8
add sub commit context
2020-08-23 14:29:18 +10:00
2d90e1e8ee
commit files kind of generalised
2020-08-23 14:29:18 +10:00
ddf25e14af
allowing commit files to be viewed in reflog as well
2020-08-23 14:29:18 +10:00
a59ac064d2
statically define context keys
2020-08-23 14:29:18 +10:00
433d54fcec
WIP constants for context keys
2020-08-23 14:29:18 +10:00
99707a527d
WIP
2020-08-23 14:29:18 +10:00
bc410d8e4a
use camelCase
2020-08-23 14:29:18 +10:00
e4beaf4de9
more stuff
2020-08-23 14:29:18 +10:00
4f4df8f9cc
move context specific keybindings into context file
2020-08-23 14:29:18 +10:00
ac0eedda91
lots more stuff
2020-08-23 14:29:18 +10:00
6fb83b740b
WIP
2020-08-23 14:29:18 +10:00
7f89113245
WIP
2020-08-23 14:29:18 +10:00
0ea0c48631
WIP
2020-08-23 14:29:18 +10:00
44d8b3e8f3
allow overriding default confirm/escape keybindings
2020-08-17 18:22:57 +10:00
db826b3c87
add keybinding to create new branch off of commit
...
retain focus in commits panel
surface prompt errors
better description
2020-08-16 22:24:54 +10:00
9b7a6934b3
more removing of g
2020-08-15 18:01:43 +10:00
15229bbdab
more removing of g and v
2020-08-15 18:01:43 +10:00
c44ee71ad4
update cheatsheet
2020-08-15 11:41:37 +10:00
291a8e4de0
allow opening files on the selected line in the staging panel
2020-08-15 11:41:37 +10:00
27cd12e2d9
accept umlaut keybindings
2020-08-12 20:07:56 +10:00
f4718a9047
allow editing commit files
2020-07-21 18:24:39 +10:00
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
003e45d2f5
allow creating branches off of remote branches
2020-05-19 09:57:37 +10:00
2974a57943
support copying stuff to clipboard
2020-04-15 10:44:56 +00:00
40fbce91ce
add new diff mode
...
WIP
WIP
WIP
WIP
WIP
WIP
WIP
2020-03-29 18:26:24 +11:00
33d287d2f0
remove old diff mode code
2020-03-29 18:26:24 +11:00
a2790cfe8e
rename to filtered mode
2020-03-29 11:37:29 +11:00
624ae45ebb
allow scoped mode where the commits/reflog/stash panels are scoped to a file
...
WIP
restrict certain actions in scoped mode
WIP
2020-03-29 11:37:29 +11:00
52f41ab0d5
update cheatsheet
2020-03-28 03:16:44 +00:00
fbb767893e
support lazyloading in commits view
2020-03-28 14:02:53 +11:00
229f5ee48c
add keybindings for paging in list panels and jumping to top/bottom
2020-03-28 14:02:53 +11:00
83757f1065
limit size of menu panel
2020-03-26 21:44:33 +11:00
daecdd7c2b
redoing
2020-03-25 09:39:04 +11:00
137fd80fdb
note that undo functionality is experimental
2020-03-25 09:39:04 +11:00
b1941c33f7
undo via rebase
2020-03-25 09:39:04 +11:00
5d460e1e5e
add tab keybindings
2020-03-23 23:25:00 +11:00
8fbcc36331
allow resetting cherry picked commits selection
2020-03-19 21:42:21 +11:00