1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-01 00:54:58 +02:00

189 Commits

Author SHA1 Message Date
11316b7a48 feat: add rename stash 2022-10-16 09:12:42 +09:00
7e9dffe1b9 Add Key field to CustomCommandPrompt struct
Add Form field to CustomCommandObjects struct

Write user prompts responses to Form field

Ensure that map keys exists

Add form prompts integration test

Remove redundant index
2022-09-17 14:58:44 -07:00
9c0d860980 basic custom command test 2022-08-14 20:49:20 +10:00
e1f41b653c Add showOutput option to custom commands (#1163) 2022-07-28 18:40:30 +08:00
c087dca60a Merge pull request #2027 from jesseduffield/gozes-jesse
Attempt at fixing CI
2022-07-05 19:37:09 +10:00
11d766053e Allow adding a file to the .git/info/exclude file 2022-07-05 19:33:44 +10:00
39ba397cf7 Update pkg/config/user_config.go 2022-07-04 11:36:18 -07:00
9d304098bb feat: add confirm prompt for custom keybindings
- Supports configuring a custom confirmation prompt via `config.yml` for
  custom keybindings. A new `CustomCommandPrompt.Body` field is
  used to store the immutable body text of the confirmation popup.
- Adds a sample 'confirm' prompt to the example `config.yml`.
- Updates the `Prompts` section of the documentation to include
  'confirm' prompt type and also describe which fields pertain to it
  (i.e. `initialValue`).

Closes: https://github.com/jesseduffield/lazygit/issues/1858

Signed-off-by: Michael Mead <mmead.developer@gmail.com>
2022-07-04 11:36:13 -07:00
Lay
684ea284af fix: lint error 2022-05-30 23:19:48 +08:00
Lay
666180cfd0 Add config param that displays the whole git graph by default 2022-05-30 13:52:39 +08:00
1f1d871837 feat: add ability to customize time format 2022-05-18 20:55:27 +09:00
1ef585969f add option to always show unstaged/staged panels 2022-05-08 17:24:55 +09:00
7c573a5bea Add command to reset the commit author from the commits panel. 2022-05-08 13:29:56 +10:00
d458e78d95 feat: add ability to edit hunk 2022-05-06 21:53:00 +09:00
b07aeda5a6 feat(gui): show file icons 2022-04-23 12:25:40 +09:00
9b947b74a2 allow hiding bottom line 2022-04-18 09:58:36 +10:00
6a153acc8f clearer highlighting of current line 2022-04-16 15:19:32 +10:00
b7928042f0 chore: typo hunting ft. codespell 2022-04-06 08:52:41 +10:00
240483953f config: Add option 'git.autoRefresh' to en-/disable auto-refresh
Adds a new 'autoRefresh' option to the 'git' config section that allows user to
disable auto-refresh (defaults to on). If auto-refresh is enabled, the
refreshInterval is now checked before starting the timer to prevent crashes when
it is non-positive.

Fixes #1417
2022-03-27 10:14:33 +11:00
540edb0bf4 Add copy commit attributes option 2022-03-26 17:22:42 +11:00
a34bdf1a04 update linters 2022-03-19 12:12:57 +11:00
7be25a105d allow skipping confirmation prompt after opening subprocess 2022-03-17 17:52:31 +11:00
f5a5b7f966 Add unstagedChangesColor config option 2022-03-16 19:21:39 +11:00
4df7646654 Add configurable colors for branch prefixes
Branches can now be colored based on their prefix, if it matches
a user defined prefix in the config file. If no user defined
prefix matches, then it will fallback to the defaults: green for
'feature', yellow for 'bugfix', and red for 'hotfix'. All
remaining branches will be set to the default text color.
2022-02-01 18:55:45 +11:00
14b9a0b647 stop skipping stash warnings 2022-01-24 19:18:09 +11:00
4ab5e54139 add support for git bisect 2022-01-22 10:48:51 +11:00
f89747451a allow opening a commit in the browser 2021-12-29 09:01:06 +11:00
b4ea565c99 add signoff config
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-12-25 12:01:55 +11:00
1996eddd91 more efficient context diff size changing 2021-12-06 22:37:28 +11:00
f7ffbbd72a Add a menu entry and keybinding to { for decreasing the context size 2021-12-06 22:37:28 +11:00
0fbde05928 Add a menu item and keybinding to } to increase the context size 2021-12-06 22:37:28 +11:00
9feaf5d70f Add the DiffContextSize setting to GitConfig
It defaults to 3 lines, which is the default value for git.
2021-12-06 22:37:28 +11:00
ccd80a0e4b add menu options for log stuff 2021-11-05 07:58:21 +11:00
37be9dbea1 support scrolling left and right 2021-11-05 07:58:21 +11:00
f6ec7babf5 add some config 2021-11-05 07:58:21 +11:00
c47c539e12 support user-configurable author colours 2021-10-30 18:26:06 +11:00
5011cac7ea show filetree by default 2021-10-22 22:39:17 +11:00
f6e316dfe5 Improve JumpToBlock keybinding functionality
Improve experience when yaml file has != 5 keybindings and change view
helper to use the length of the array instead of hardcoded value.
2021-10-22 22:38:26 +11:00
91e8765d9c Add JumpToBlock keybinding
This should allow users to decide their own keybinding for jumping
between blocks/panels.
E.g. A user could choose 5-9 instead of 1-5.
2021-10-22 22:38:26 +11:00
6388af70ac simplify pull logic 2021-10-22 21:33:17 +11:00
268d4080b3 Fix text formatting 2021-09-30 01:26:05 +10:00
5c57c973d6 Tidy of spacing on GetDefaultConfig in user_config 2021-09-30 01:26:05 +10:00
c5f7ad5adb Make cherry pick commit color customisable
Two new settings in the config, which allow the cherry picked
foreground and background to be custom colors.

Issue #856
2021-09-30 01:26:05 +10:00
63072af5bc allow user to configure the gui language 2021-08-30 09:12:29 +10:00
2dc6f5f079 Implement state filtering for commit files 2021-08-25 20:13:50 +10:00
487ad196a7 Merge pull request #1413 from Ryooooooga/feature/edit-line
Make os.editCommand customizable using template
2021-08-23 10:15:38 +02:00
906ec30cac Minor changes to menuFromCommand prompts 2021-08-06 10:53:32 +01:00
a8ec044f0e Make menuFromCommand format menu items and their description 2021-08-05 15:45:18 +01:00
ac609bd37c fix backward compatibility 2021-08-04 18:43:34 +09:00
4f66093335 introduce edit command template to open a specifig line of a file 2021-08-03 21:42:14 +09:00