Commit graph

49 commits

Author SHA1 Message Date
Jon Grythe Stødle
52f31adb98 Add command to edit selected file in editor
Pressing `e` while looking at a file in the _Status_ view will launch an external editor with the current file opened. The editor chosen is determined by the default logic introduced in #114.

An improvement to this in the future could be launching at the specific line at which the _Diff_ view is focused, but that seems to require a change in `FileDiff` which is a change bigger than this PR.

Fixes #166
2020-07-07 12:42:01 +02:00
Stephan Dilly
de7f48f88e show placeholder popup when waiting for external editor #157 2020-07-04 20:22:55 +02:00
Stephan Dilly
60759d7bec open external editor from commit popup
this puts all commit logic into one 'view' and allows editing amend commit messages in the external editor aswell.
2020-07-04 15:36:12 +02:00
Stephan Dilly
b782472a63 more fancy spinner, cleanup tabs 2020-07-04 12:55:40 +02:00
Jon Grythe Stødle
477fdd303d Add support for external editor
Adds support for editing commit messages in an external editor. It read the GIT_EDITOR, VISUAL, EDITOR environment variables in turn (in the same order git does natively) and tries to launch the specified editor. If no editor is found, it falls back to "vi" (same as git). If vi is not available, it will fail with a message.
2020-06-26 00:50:39 +02:00
Stephan Dilly
b8397ae285 make help headers more obvious (closes #131) 2020-06-22 16:42:16 +02:00
Daniel Obermaier
9dcc445ab9 simple fix for arrow utf8 encoding in help window 2020-06-19 13:16:23 +02:00
Stephan Dilly
24da2f200e
Reset individual hunks (#125)
closes #11
2020-06-14 10:46:25 +02:00
Stephan Dilly
5a6e67cc7e inspect stash commit (closes #121) 2020-06-13 02:11:16 +02:00
Stephan Dilly
5185f1c4d4 support commit amend (#89) 2020-06-13 01:50:39 +02:00
Stephan Dilly
6a6fae9581 show cmds in new commit popup 2020-06-09 16:58:28 +02:00
Stephan Dilly
702415c40d
full commit detail popup (#113)
see #80
2020-06-09 13:30:17 +02:00
Stephan Dilly
5bfdb40a14
commit details in log (#107) 2020-06-06 19:24:48 +02:00
Stephan Dilly
dbd7dd33ea support Stage all/Unstage all (closes #82) 2020-06-02 16:01:54 +02:00
Stephan Dilly
0bf18331a5 better cmd names 2020-06-02 14:43:35 +02:00
Stephan Dilly
26a4245213 better cmd ordering 2020-06-02 14:40:24 +02:00
Stephan Dilly
aa79b92f59 more hotkeys and workdir/stage hotkey change (closes #92) 2020-06-02 14:07:28 +02:00
Stephan Dilly
14a93cbefd support adding file/folder to gitignore (closes #44) 2020-06-01 23:32:11 +02:00
Stephan Dilly
4de0e52418
Support more commands (#101)
closes #83
2020-06-01 22:02:40 +02:00
Stephan Dilly
63d3bf5661 Support stash-apply,stash-drop 2020-05-25 16:16:49 +02:00
Stephan Dilly
3ba3d3e07f consitent title 2020-05-23 00:15:11 +02:00
Stephan Dilly
60ba75f1db fix stash msg popup title/msg 2020-05-22 18:02:25 +02:00
Stephan Dilly
1f5706fa0c support stash msg 2020-05-22 17:37:48 +02:00
Stephan Dilly
3c5e86eee9
stashing support (#70) 2020-05-21 15:46:38 +02:00
Stephan Dilly
f03a1ac611 make msgbox error msgs only for now 2020-05-20 11:29:11 +02:00
Stephan Dilly
478d321f26 fix typo 2020-05-14 13:55:38 +02:00
Stephan Dilly
c44966c1a9 cleanup 2020-05-12 14:05:38 +02:00
Stephan Dilly
7e8e3a0bd5 show tab button in help and fix help for diff (fixes #48) 2020-05-10 14:37:49 +02:00
Stephan Dilly
ec6180af51 only quit gitui on Ctrl+c from now on 2020-05-10 13:27:46 +02:00
Stephan Dilly
8ef80945b0 better label 2020-05-09 22:58:09 +02:00
Stephan Dilly
6bb54cfa8c support home/end to jump up/down (#43) 2020-05-09 22:55:02 +02:00
Stephan Dilly
87d13f84d8 show diffed files path in title 2020-05-07 17:06:02 +02:00
Stephan Dilly
1db1f00302
Log view (#41) 2020-05-05 13:47:21 +02:00
Stephan Dilly
5908d46d56 better wording 2020-04-30 12:25:18 +02:00
Stephan Dilly
5382ce7408 Improve navigation (#29)
* offer commit only when selecting staging area
* show quickbar cmd to switch between unstaged/staged
* adjust size of focused file tree
2020-04-30 12:22:38 +02:00
Stephan Dilly
1ca04496cb Add folder actions unstage/stage/reset 2020-04-28 15:43:11 +02:00
Stephan Dilly
b0fdf5049c
Switch to a tree view for changed files list (#37) 2020-04-28 11:15:05 +02:00
Stephan Dilly
520456d0cd visualize commit-msg hook when failed 2020-04-10 14:02:24 +02:00
Stephan Dilly
b71f39fbb3 Support stage/unstage hunk 2020-04-08 00:21:08 +02:00
Stephan Dilly
923f7a46d6 confirm destive command: reset file 2020-04-03 23:16:49 +02:00
Stephan Dilly
448b6927c3 better help sorting 2020-04-03 16:40:30 +02:00
Stephan Dilly
2282305e7c switch to new command texts 2020-04-03 16:24:52 +02:00
Stephan Dilly
ed5668c4c8 cmd help grouping and long desc 2020-04-03 14:48:41 +02:00
Stephan Dilly
bc85a86000 pedantic clippy 2020-04-02 23:45:50 +02:00
Stephan Dilly
adf925083d first test for a help popup 2020-03-24 14:39:00 +01:00
Stephan Dilly
e355b4f830 better naming 2020-03-24 10:04:41 +01:00
Stephan Dilly
7c454629fe better key controls 2020-03-20 01:53:21 +01:00
Stephan Dilly
c4b2c81227 cleanup 2020-03-19 21:41:59 +01:00
Stephan Dilly
09f893f3b0 central place for strings/keys and better key bindings for focusing 2020-03-19 21:40:48 +01:00