ZeroMask
d00936fb4e
fix: MacOS default path misspelling
2023-12-07 11:52:39 +03:00
zottelsheep
7ffb6ffb0f
Add 'lvim' editor preset for lunarvim
...
Add 'lvim' as a new standardTerminalEditorPreset, since lunarvim uses an alias for nvim.
2023-10-14 15:04:23 +02:00
Karim Khaleel
d02deeefd8
Add disabled compat for user config ( #2833 )
...
Treat <disabled> setting as equivalent to "null"
in keybindings user configs.
2023-10-09 22:34:50 +03:00
Nikita Karamov
8390622f70
Add Micro editor preset
2023-10-03 19:42:28 +02:00
Louis DeLosSantos
9c72d8a2b0
Add ability to force portrait mode
...
A new gui config flag 'portraitMode':<string> is added to influence when
LazyGit stacks its UI components on top of one another.
The accepted values are 'auto', 'always', 'never'.
'auto': enter portrait mode when terminal becomes narrow enough
'always': always use portrait mode unconditional of the terminal
dimensions
'never': never use portraid mode
Signed-off-by: Louis DeLosSantos <louis.delos@gmail.com>
2023-09-30 20:57:38 +02:00
Stefan Haller
5b8a8d356c
Change the default of the "gui.borders" config to "rounded"
...
Most people seem to agree that it looks better than the sharp edges of "single".
2023-09-09 10:42:24 +02:00
Maria José Solano
387fbf6ab6
feat: add jump-to-panel label setting
2023-09-09 09:45:08 +02:00
Stefan Haller
7774fe0ab3
Move diff context size from UserConfig to AppState
2023-09-05 13:55:30 +02:00
Mark Skelton
e95505453e
Update docs
2023-08-25 08:52:52 -05:00
Jesse Duffield
b2023f10b6
Fix: Update 'zh' to 'zh-CN' in lazygit Language Configuration ( #2842 )
2023-08-21 17:56:45 +10:00
Stefan Haller
b2d629b50a
Add scrollOffEnabled config
2023-08-21 09:03:45 +02:00
Stefan Haller
51d9f70f9e
Fix section levels
...
These appeared as subsections of "Platform Defaults", which doesn't make sense.
2023-08-21 08:10:28 +02:00
Stefan Haller
341b9725d4
Add ScrollOffMargin user config
...
When set to a non-zero value, views will scroll when the selection gets this
close to the top or bottom of the view.
2023-08-15 11:40:40 +02:00
Jesse Duffield
9c5eedf748
use 'suspend' instead of 'editInTerminal' internally
...
'suspend' is a more appropriate name, especially now that you can choose not to suspend despite
still being in a terminal
2023-08-09 22:03:58 +10:00
Jesse Duffield
ca08956f77
Use soft wrapping in config doc
...
Looking online I can't find any consensus about whether soft or hard wrap is better.
This post goes into the pros/cons: https://martin-ueding.de/posts/hard-vs-soft-line-wrap/
I find that editing hard-wrapped text is a pain in the ass, and it's hard to enforce
consistency. So I'm switching to soft-wrapping for this doc.
2023-08-09 21:33:12 +10:00
Jesse Duffield
aa74239f05
Add nvim-remote editor preset
...
This allows us to jump back to the parent neovim process when we want to edit a file, rather than opening a new neovim
process within lazygit.
Arguably this should be the default, but I'm not familiar with the various ways people use lazygit with neovim.
2023-08-09 21:32:53 +10:00
Jesse Duffield
ebd56bd8d5
Mention JSON schema ( #2893 )
2023-08-08 08:19:05 +10:00
微笑
82b5c20050
Add zh-TW to docs/Config.md
...
Co-authored-by: Bill ZHANG <36790218+Lutra-Fs@users.noreply.github.com>
2023-08-07 19:52:28 +08:00
EmilySeville7cfg
f32fe84c9b
feat(doc): better JSON schema usage explanation
2023-08-07 18:27:37 +10:00
EmilySeville7cfg
fb05ee369f
feat(doc): mention JSON schema
2023-08-07 03:38:30 +10:00
Jesse Duffield
a200fccba9
Add explosion animation when nuking working tree
...
I've been thinking about this for a while: I think it looks really cool if nuking your working tree
actually results in a nuke animation.
So I've added an opt-out config for it
2023-08-01 22:16:04 +10:00
Stefan Haller
9c57444adc
Remove the old experimentalShowBranchHeads mechanism and config
...
We are going to replace it with a better one later in this branch.
2023-07-31 08:34:00 +02:00
Jesse Duffield
3a7468ecac
Support opening worktree in editor
2023-07-30 18:35:23 +10:00
Red S
d7f84aed8a
feat: add os.copyToClipboardCmd to allow for a custom command
...
Issue #1055
test: CopyPatchToClipboard (temporary commit for review)
2023-07-29 19:09:59 +10:00
微笑
1431ffcebf
Corrected 'zh' to 'zh-CN' in lazygit docs for proper localization
2023-07-29 12:07:40 +08:00
Scott Callaway
9617737352
config: rely on .gitconfig for verbose commit messages
...
As discussed in https://github.com/jesseduffield/lazygit/pull/2599 , it
makes more sense to have the user specify whether they want verbose
commits from their own git config, rather than lazygit config.
This means that we can remove all the code (including test coverage)
associated with the custom verbose flag, and lazygit will just inherit
the .gitconfig settings automatically.
2023-07-14 07:56:09 +02:00
Jesse Duffield
9df634f13f
Color view frame differently when searching/filtering
...
Given that we now persist search/filter states even after a side context loses focus, we need to make it really
clear to the user that the context is currently being searched/filtered
2023-07-03 12:54:14 +10:00
Amirzhan Aliyev
5133113142
feat(i18n): add russian translation
2023-06-28 00:34:59 +06:00
Stefan Haller
51a558040d
Fix the title and text (and variable names) of the Discard Changes prompt
...
The title was saying "Unstage lines", which was just wrong. The text said
"Delete lines", which can be seen as a bit misleading; we are only discarding
the changes to the selected lines, not deleting the lines themselves.
For consistency, rename the config variable skipUnstageLineWarning accordingly.
2023-06-26 08:15:35 +02:00
Stefan Haller
77c5d1761d
Add nerdFontsVersion config
2023-06-15 21:47:52 +02:00
Jesse Duffield
a4db44bc3d
show commits against branches
2023-06-01 19:21:24 +10:00
Stefan Haller
31a2ea1f19
Add --all to "git fetch" command when not fetching a specific remote
2023-06-01 10:13:14 +02:00
Jesse Duffield
0e0458f355
More compact and flexible date format
...
You can now configure both a time format and a short time format, where the short format kicks in
when the time is within the last day
2023-05-26 17:31:39 +10:00
dvic
ed496deeca
Add helix editor preset
2023-05-24 23:08:26 +02:00
Jesse Duffield
820f7b9404
Support strikethrough text style
2023-05-21 10:46:13 +10:00
Stefan Haller
46b93bba0e
Add config git.mainBranches
...
It defaults to {"master", "main"}, but can be set to whatever branch names
are used as base branches, e.g. {"master", "devel", "v1.0-hotfixes"}. It is
used for color-coding the shas in the commit list, i.e. to decide whether
commits are green or yellow.
2023-05-16 13:20:03 +02:00
Christian Rackerseder
1636931c2b
Include "kakoune" in supported edit presets
2023-05-04 08:28:58 +02:00
Christian Rackerseder
6e027f42da
Include "nvim" in supported edit presets
2023-05-03 13:30:51 +02:00
Jesse Duffield
c88ecdf87c
update open docs
2023-05-03 13:48:04 +10:00
Stefan Haller
fba1a2b5ac
Add config gui.experimentalShowBranchHeads
...
People find the new (*) display for branch heads in the commits list confusing,
so make it opt-in for now.
2023-05-02 18:58:54 +10:00
Sean
49da7b482d
Split commit message panel into commit summary and commit description panel
...
When we use the one panel for the entire commit message, its tricky to have a keybinding both for adding a newline and submitting.
By having two panels: one for the summary line and one for the description, we allow for 'enter' to submit the message when done from the summary panel,
and 'enter' to add a newline when done from the description panel. Alt-enter, for those who can use that key combo, also works for submitting the message
from the description panel. For those who can't use that key combo, and don't want to remap the keybinding, they can hit tab to go back to the summary panel
and then 'enter' to submit the message.
We have some awkwardness in that both contexts (i.e. panels) need to appear and disappear in tandem and we don't have a great way of handling that concept,
so we just push both contexts one after the other, and likewise remove both contexts when we escape.
2023-04-30 12:17:34 +10:00
Noah Gao
bf3dd79b7a
feat: add gitea to hosting service
2023-04-18 16:16:09 +00:00
Stefan Haller
e3c5e07b20
Update documentation
2023-04-13 13:14:00 +02:00
Jesse Duffield
a82d952f48
Merge pull request #2495 from jesseduffield/feature/remove-altreturn
2023-03-20 20:11:35 +11:00
yk-kd
b5d612e6d6
Add border config ( #2344 )
...
Co-authored-by: yk-kd <yosuke.komada@gmail.com>
2023-03-18 11:23:31 +11:00
Luka Markušić
f314cb3763
Remove alternative confirmation and return keymappings
2023-03-09 10:32:00 +01:00
Tyler Barnes
6735bf4c89
Update Config.md
2023-03-07 11:54:47 -08:00
Jesse Duffield
56424eb1aa
remove x keybinding for opening menu so we now only use '?'
2023-02-20 19:28:45 +11:00
Ryooooooga
67b08ac239
feat: support to create tag on branch
2023-02-19 23:31:46 +09:00
Phanindra Kumar Paladi
01f0efb997
Merge branch 'master' into #2319_default_screen_mode
2023-01-29 10:25:14 +05:30
Jesse Duffield
996a1e469f
Merge pull request #2401 from Ryooooooga/disable-log-order
2023-01-29 14:05:31 +11:00
Ryooooooga
2183c157d4
feat(log): allow to disable git.log.order
2023-01-28 21:17:05 +09:00
stk
67fb28e2b8
Add user config gui.skipRewordInEditorWarning
2023-01-26 09:01:22 +01:00
Jesse Duffield
fd86d29400
Merge pull request #2343 from Ryooooooga/commit-verbose
2023-01-17 09:19:22 +11:00
Phanindra kumar Paladi
a11e91e651
replaced 'screenMode' to 'windowSize' in config
2023-01-16 20:07:21 +05:30
Phanindra kumar Paladi
f4ccb68464
Added screenMode configuration to gui configuration
2023-01-11 16:51:46 +05:30
Ryooooooga
acbcf9933d
docs(Config.md): add missing keybindings
2023-01-10 20:43:23 +09:00
Ryooooooga
965f7bfcb2
feat(config): change git.commit.verbose to accept "default"
2023-01-06 11:15:33 +09:00
Paul Horn
d98130c3ef
Add option to allow --verbose commit in editor commits
2023-01-01 02:01:04 +01:00
Jesse Duffield
f3fa9ec2d1
Merge pull request #2311 from wakaka6/add_return_alt1
2022-12-28 11:54:16 +11:00
Ryooooooga
ac127f017e
chore(config): remove unused config
2022-12-26 16:14:30 +09:00
wakaka6
b6c73b3620
Change null as the default return-alt1
2022-12-20 21:39:24 +08:00
wakaka6
6bf28d325f
Ament description about return-alt1
2022-12-20 14:08:33 +08:00
wakaka6
6386a03805
add return alt1
2022-12-11 15:44:25 +08:00
Jesse Duffield
03ce22f3c9
Update docs/Config.md
2022-11-26 13:39:00 +11:00
Arnaud PERALTA
37997dcbcd
[ #2279 ] defaultFgColor entry in theme config
2022-11-21 21:48:18 +01:00
Jesse Duffield
1ac3ae1ad1
use better colour defaults
2022-11-12 14:59:15 +11:00
Ryooooooga
808b35d8f2
docs: add examples of disabling keybindings
2022-10-18 22:23:56 +09:00
Ryooooooga
14ec0cd92e
feat: allow null in keybindings
2022-10-18 22:20:03 +09:00
Ryooooooga
11316b7a48
feat: add rename stash
2022-10-16 09:12:42 +09:00
Takao
fecf2ab810
fix: how to change the config dir for MacOS
2022-09-15 00:15:50 +09:00
Ryooooooga
8b371ada73
feat(config): add notARepository: quit
2022-08-08 18:11:58 +09:00
Jesse Duffield
524bf83a4a
refactor to only have one context per view
2022-08-06 13:49:11 +10:00
Ryooooooga
60049f8f4f
docs(Config.md): fix docs on specifying config file
2022-07-02 19:53:54 +09:00
Ryooooooga
92b0e0edd0
docs(Config.md): add missing keybinding.branches.renameBranch
2022-06-16 23:29:48 +09:00
Jesse Duffield
de3114edc3
Merge pull request #1972 from lei4519/feature/display-whole-graph-by-default
2022-06-09 20:17:25 +10:00
Shin-JaeHeon
d533427173
Korean translation
2022-06-07 23:31:56 +09:00
Jesse Duffield
b6b3be9ac7
Update docs/Config.md
2022-05-30 17:34:30 +10:00
Lay
666180cfd0
Add config param that displays the whole git graph by default
2022-05-30 13:52:39 +08:00
Ryooooooga
1f1d871837
feat: add ability to customize time format
2022-05-18 20:55:27 +09:00
HiromasaNojima
1ef585969f
add option to always show unstaged/staged panels
2022-05-08 17:24:55 +09:00
Jesse Duffield
6253258d4b
Merge pull request #1913 from Ryooooooga/feature/japanese
2022-05-06 08:40:43 +10:00
Ryooooooga
cda359fbc9
feat(i18n): japanese translation
2022-05-05 18:42:27 +09:00
Ryooooooga
494368a241
feat: accept named colors for gui.authorColors
2022-05-04 19:03:00 +09:00
Jesse Duffield
d85f4792af
Merge pull request #1894 from Ryooooooga/feature/icons
2022-05-01 12:21:32 +10:00
Ryooooooga
5524f007f3
docs(Config.md): add docs about nerd fonts
2022-04-30 23:13:49 +09:00
Ryooooooga
e5730cb80b
fix: improve default editCommandTemplate
2022-04-23 17:39:12 +09:00
Ryooooooga
b07aeda5a6
feat(gui): show file icons
2022-04-23 12:25:40 +09:00
Jesse Duffield
8b103b16bd
add highlighting docs
2022-04-18 11:08:54 +10:00
Jesse Duffield
9b947b74a2
allow hiding bottom line
2022-04-18 09:58:36 +10:00
Jesse Duffield
6a153acc8f
clearer highlighting of current line
2022-04-16 15:19:32 +10:00
TheBlob42
d0e099d2fc
doc: add missing provider
2022-04-11 17:17:40 +10:00
Moritz Haase
4abd80e2c4
pkg/gui: Fix crash if auto-fetch interval is non-positive
...
Check whether the auto-fetch interval configured is actually positive before
starting the background fetcher. If it is not, an error is logged. Also improve
the config option documentation a bit to make it easier to understand how to
disable auto-fetch.
2022-03-27 10:14:33 +11:00
Moritz Haase
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
Ram Bhosale
7be25a105d
allow skipping confirmation prompt after opening subprocess
2022-03-17 17:52:31 +11:00
Daniel Kiss
f5a5b7f966
Add unstagedChangesColor config option
2022-03-16 19:21:39 +11:00
Matt Cles
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
Jesse Duffield
14b9a0b647
stop skipping stash warnings
2022-01-24 19:18:09 +11:00
Jesse Duffield
4ab5e54139
add support for git bisect
2022-01-22 10:48:51 +11:00
Mark Sagi-Kazar
b4ea565c99
add signoff config
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-12-25 12:01:55 +11:00
Cokile
76e6745526
fix typo
2021-12-25 11:54:27 +11:00
Cokile
3771f9c98b
support config unified color for commit authors
2021-12-25 11:54:27 +11:00
Theodore Keloglou
3926d0f278
fix show filetree default value in docs
2021-12-13 13:28:14 +00:00
DerTeta
f7ffbbd72a
Add a menu entry and keybinding to { for decreasing the context size
2021-12-06 22:37:28 +11:00
DerTeta
0fbde05928
Add a menu item and keybinding to } to increase the context size
2021-12-06 22:37:28 +11:00
DerTeta
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
Jesse Duffield
ccd80a0e4b
add menu options for log stuff
2021-11-05 07:58:21 +11:00
Jesse Duffield
37be9dbea1
support scrolling left and right
2021-11-05 07:58:21 +11:00
Jesse Duffield
f6ec7babf5
add some config
2021-11-05 07:58:21 +11:00
Jesse Duffield
c47c539e12
support user-configurable author colours
2021-10-30 18:26:06 +11:00
Sam Burville
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
Sam Burville
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
Jesse Duffield
6388af70ac
simplify pull logic
2021-10-22 21:33:17 +11:00
Ryooooooga
7b615e3186
Fix open link command in Windows
2021-10-16 22:40:50 +11:00
Jesse Duffield
d02e52989e
small changes
2021-10-16 12:22:34 +11:00
mjarkk
913a2fd065
Allow having multiple config files
2021-10-16 12:22:34 +11:00
Sam Burville
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
Dwarven YANG
63072af5bc
allow user to configure the gui language
2021-08-30 09:12:29 +10:00
Ryoga
44140adb92
Update docs/Config.md
...
Co-authored-by: Jesse Duffield <jessedduffield@gmail.com>
2021-08-23 08:33:05 +09:00
Ryooooooga
821a59f21d
apply suggestion for the document of editCommandTemplate
2021-08-21 01:01:34 +09:00
Ryooooooga
5ea3dc7579
add documentation of editCommandTemplate
2021-08-20 22:39:08 +09:00
Ryooooooga
ac609bd37c
fix backward compatibility
2021-08-04 18:43:34 +09:00
Ryooooooga
4f66093335
introduce edit command template to open a specifig line of a file
2021-08-03 21:42:14 +09:00
mjarkk
79848087bc
Switch to github.com/gookit/color for terminal colors
2021-07-30 15:14:46 +02:00
mjarkk
a3b820fb5f
add missing universal keybindings to doc
2021-07-29 14:15:26 +02:00
Denis Palashevskii
b590397dce
Update docs
2021-07-27 21:30:08 +10:00
mjarkk
4fca89bc52
Allow hex theme colors
2021-07-26 10:38:45 +02:00
mjarkk
7b19c5ad95
add parse github emoji to docs
2021-07-16 21:13:01 +02:00
Emiliano Ruiz Carletti
40f10c3388
Update config.md
2021-06-15 08:31:07 +10:00
Jesse Duffield
ce7cbe58a0
naming change
2021-06-14 18:17:08 +10:00
Andrei Yangabishev
7588d5290b
ShowTotal flag
2021-06-10 12:43:05 +03:00
Jesse Duffield
0df02dacc2
minor changes
2021-06-05 10:58:09 +10:00
caojoshua
3258c24fb3
Better english for Configuring File Editing.
2021-06-05 10:58:09 +10:00
caojoshua
e7c657fba0
Docs for EditCommand.
2021-06-05 10:58:09 +10:00
Robert Verst
94b52af661
Remove config, make default sort order descending
2021-06-05 10:56:46 +10:00
Robert Verst
472288c81b
Add user config to change the sort order of tags
2021-06-05 10:56:46 +10:00
Liberatys
44f7fc6f7c
Add global binding to open recent repos
2021-05-30 13:25:44 +10:00
Peijun Ma
dab5ba363c
Fix typo: scrool -> scroll
2021-04-14 19:11:30 +10:00
Jesse Duffield
4fb2dba587
allow hiding random tip
2021-04-12 21:48:08 +10:00
Jesse Duffield
1f3070c882
fix up doc
2021-04-12 21:48:08 +10:00
Jesse Duffield
06a8eb115c
make command log size configurable
2021-04-11 23:36:34 +10:00
Jesse Duffield
764bd556f3
prettify config.md
2021-04-11 21:42:41 +10:00
Jesse Duffield
393ce05860
allow focusing on command log view
2021-04-11 17:07:49 +10:00
Jesse Duffield
70b5c822bb
update config.md to explain situation with config paths
2021-04-11 10:25:37 +10:00
tafryn
f2df77a4f1
Fix path for Linux config file
...
The listed config file directory for Linux is incorrect.
2021-04-11 10:22:26 +10:00
Jesse Duffield
43a9dc48e0
default to not quitting when hitting esc at the top level.
...
I've been using this config option for years now so I don't think much of it,
but newcomers are going to find it annoying that hitting escape gets you out
of filtering/cherry-picking/patch-building mode, but also quits the app. So
if you want to exit all the modes you're in, you need to take care not to
press the key one too many times or the app will close.
We'll see if anybody gets mad about this change, but I think it's reasonable.
The only downside is that you won't be able to always quit by spamming the escape
key. If you're in a prompt panel, you'll need to hit escape to exit that, and
then 'q' at the top level. Or CTRL+C of course.
2021-04-06 19:34:32 +10:00
Jesse Duffield
b7cc4158d5
Update Config.md
2021-04-01 20:52:56 +11:00
Jesse Duffield
2bbe6269cd
Update Config.md
2021-04-01 20:44:27 +11:00
Jesse Duffield
6fc3c03c4b
allow configuring to show file tree on startup
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