Jesse Duffield
5edea5a8dc
better handling of cursor relocation
2021-03-30 21:57:00 +11:00
Jesse Duffield
d2b65537f6
handle nothing selected
2021-03-30 21:57:00 +11:00
Jesse Duffield
1183f68e19
better handling of refreshed files
2021-03-30 21:57:00 +11:00
Jesse Duffield
da6fe01eca
allow toggling on/off file tree mode
2021-03-30 21:57:00 +11:00
Jesse Duffield
cd0532b4d6
allow ignoring directories
2021-03-30 21:57:00 +11:00
Jesse Duffield
c9de6c003b
support some more things
2021-03-30 21:57:00 +11:00
Jesse Duffield
a31db3df9c
support toggling collapsed
2021-03-30 21:57:00 +11:00
Jesse Duffield
77a7619690
showing changes for directories
2021-03-30 21:57:00 +11:00
Jesse Duffield
9f2d7adb8e
more improvements
2021-03-30 21:57:00 +11:00
Jesse Duffield
45939171ea
WIP
...
start moving to new interface
WIP
WIP
WIP
WIP
WIP
2021-03-30 21:57:00 +11:00
Jesse Duffield
5671ec5f58
refactor prompt opts
2020-11-28 20:48:17 +11:00
Jesse Duffield
da3b0bf7c8
Start on supporting auto-suggestions when checking out a branch
...
switch to other fuzzy package with no dependencies
2020-11-28 20:48:17 +11:00
Jesse Duffield
999e170f1d
standardise how we read from the config
2020-11-28 10:45:30 +11:00
Davyd McColl
860370a845
👌 update as per PR commentary
2020-11-28 10:27:28 +11:00
Davyd McColl
196761a40a
🐛 should only stage all if configured to do so _and_ there are no items staged
2020-11-28 10:27:28 +11:00
Davyd McColl
26d5444919
✨ implement quick commit when no files staged, if configured to do so
2020-11-28 10:27:28 +11:00
Jesse Duffield
682db77401
fix lint errors
2020-11-18 08:36:19 +11:00
Jesse Duffield
4c9ec88be5
fix mutex deadlock
2020-10-10 00:23:01 +11:00
Jesse Duffield
795e4da8b8
do not put mutexes on state else we might unlock an unlocked mutex
2020-10-10 00:23:01 +11:00
Jesse Duffield
79e59d5460
add some safe goroutines
...
WIP
2020-10-10 00:23:01 +11:00
Jesse Duffield
2e05ac0c90
paging keybindings for line by line panel
...
support searching in line by line panel
move mutexes into their own struct
add line by line panel mutex
apply LBL panel mutex
bump gocui to prevent crashing when search item count decreases
2020-10-10 00:23:01 +11:00
Jesse Duffield
37bb89dac3
type i18n
2020-10-10 00:23:01 +11:00
Jesse Duffield
4912205adb
remove viper
...
WIP
2020-10-10 00:23:01 +11:00
kobutomo
3e15ae3211
Add error panel.
2020-10-06 21:55:01 +11:00
kobutomo
26cb209af2
Ignore "i" command if the filename is .gitignore
2020-10-06 21:55:01 +11:00
Jesse Duffield
da3e00823f
allow submodule init and show submodule diff with a prefix
2020-10-02 08:09:42 +10:00
Jesse Duffield
7b4a0f20b2
add submodules context
2020-10-02 08:09:42 +10:00
Jesse Duffield
ce6f8ed1bc
move models folder into commands folder
2020-09-29 20:48:49 +10:00
Jesse Duffield
8d2af5cc61
move file and submodule
2020-09-29 20:48:49 +10:00
Jesse Duffield
914fb36173
allow entering and returning from submodule
2020-09-29 18:21:59 +10:00
Jesse Duffield
b8da166ab1
support discarding submodule changes
2020-09-29 18:21:59 +10:00
Jesse Duffield
da8eac5538
better interface
2020-09-27 09:49:30 +10:00
Jesse Duffield
14c8b80494
show loading state when amending top commit
2020-09-18 07:58:16 +10:00
Francisco Miamoto
250fe740b2
use GetBool instead of casting
2020-08-31 09:22:39 +10:00
Francisco Miamoto
70eda031dc
implement config option for disabling force pushing
2020-08-31 09:22:39 +10:00
Jesse Duffield
771e87ebeb
do not reset cursor unless previous file has moved position
2020-08-24 22:39:01 +00:00
Jesse Duffield
0f7003d939
allow spamming the p key
2020-08-23 11:30:29 +00:00
Jesse Duffield
364bdcf532
safer getting of branch
2020-08-23 17:49:58 +10:00
Jesse Duffield
94601b4dc9
use context to return to the correct view
2020-08-23 14:29:18 +10:00
Jesse Duffield
5cdfd41dca
prevent spamming pull or push buttons
2020-08-23 14:29:18 +10:00
Jesse Duffield
a95fd581fd
fix logic for entering merging panel
2020-08-23 14:29:18 +10:00
Jesse Duffield
fda9f4ea7a
centralise logic for rendering options map
2020-08-23 14:29:18 +10:00
Jesse Duffield
0dd2c869a8
minor refactor
2020-08-23 14:29:18 +10:00
Jesse Duffield
2eee079d3a
minor rename
2020-08-23 14:29:18 +10:00
Jesse Duffield
146722beb8
rename to SelectedLineIdx
2020-08-23 14:29:18 +10:00
Jesse Duffield
eb5e54e9fd
use interface for panel state rather than pointer
2020-08-23 14:29:18 +10:00
Jesse Duffield
2855b5b4d5
standardise diffmode
2020-08-23 14:29:18 +10:00
Jesse Duffield
419cb9feb8
more standardisation
2020-08-23 14:29:18 +10:00
Jesse Duffield
2f5d5034db
good progress
2020-08-23 14:29:18 +10:00
Jesse Duffield
f0c3d3fc4d
centralise setting of main views context
2020-08-23 14:29:18 +10:00