Comments (10)
Try pressing +
and _
to switch screen modes to see if that helps.
from lazygit.
A few things to try:
- press
+
to go into "half" screen mode (you'd have to do that every time you start lazygit, so maybe not ideal; also, it divides panel vs. diff view 50/50, maybe also not what you want. We have a PR to make this configurable, but it hasn't been reviewed by anybody yet: #3411) - set the
gui.expandFocusedSidePanel
config to true. I like this a lot, it enlarges whatever panel has the focus; maybe that's already enough?
from lazygit.
This is great! Not sure where this came from, since it's not in the docs, but it does work.
Oh wow. We recently switched to auto-generating the docs, and there's a pretty bad bug in there that omitted all boolean config keys. Here's a fix: #3622.
Only thing is it "expands" the panel to be ever so slightly larger than it used to be (34 lines in my case instead of the default 22 lines). Is there a way to make it expand even more?
I think currently it expands it to make it twice as high as the others. I guess we could make this configurable somehow; I would also like it if it could be taller (maybe, not sure yet 😄). If you want to experiment with this yourself, the code is here.
from lazygit.
Try pressing
+
and_
Press
+
to go into "half" screen mode
Cool feature I didn't know about! This is sooo close to being what I want. In half screen mode, pressing Enter on a file hides the file list, which is not ideal. And having to press + to start every lazygit session isn't so good either.
Set the
gui.expandFocusedSidePanel
config to true
This is great! Not sure where this came from, since it's not in the docs, but it does work. Only thing is it "expands" the panel to be ever so slightly larger than it used to be (34 lines in my case instead of the default 22 lines). Is there a way to make it expand even more? Not including the UI element lines with the borders, my default layout has 68 usable lines (1 in the Status panel, 22 in each of the other 3 panels, and 1 in the Stash panel). If all the non-active panels actually fully collapsed instead of just shrinking a little, that would be neat.
from lazygit.
Since it was so easy to do, I went ahead and made a PR: #3623. I find it useful, and I like a value of 3 myself. @nullromo Can you build from source and give it a try?
from lazygit.
I would love to, but I haven't worked with Go before. I got as far as cloning the repo, checking out the branch, and installing go. Now I'm here and wildly googling...
$ go version
go version go1.18.1 linux/amd64
$ pwd
/home/kkovacs/lazygit
$ make
go build -gcflags='all=-N -l'
pkg/config/user_config_validation.go:5:2: cannot find package "." in:
/home/kkovacs/lazygit/vendor/slices
make: *** [Makefile:6: build] Error 1
No idea what this means. Kind of embarrassing but hey, you have start somewhere.
EDIT I am reading CONTRIBUTING.md
now...
from lazygit.
Your version of go is very old, where did you install that from? Lazygit requires 1.22 to build.
from lazygit.
sudo apt-get -y install golang-go
from lazygit.
Ok, this works
$ sudo add-apt-repository ppa:longsleep/golang-backports
$ sudo apt-get update
$ sudo apt-get install golang
$ go version
go version go1.22.3 linux/amd64
from lazygit.
Ok after that brief aside, I was able to get it working. Looks good! Setting the value between 22 and 32 looks good for me. However, it's a little unclear what the option actually does. I think it's pretty easy to understand the concept of "weight," but not that intuitive to translate the weight into what that actually looks like. For instance, I had to mess around with the number and set it to 5, 10, 20, 30, 40, etc. just to see what looked good.
But anyway, I'm not sure that really matters. Messing around with it is fine. And it works! So if this gets merged, it's fully providing what I asked for in the original issue ❤️
from lazygit.
Related Issues (20)
- Add an option to hide the detail of git merge
- implement github release HOT 6
- Range select with more than just up/down arrows HOT 1
- `M` no longer in yellow to signify staged modifications/commit HOT 2
- Lazygit from neovim inside tmux is slightly different than vanilla lazygit HOT 4
- Commit "Reset" does not do anything HOT 2
- UI shifts to the left and gets cut off when making an amend (when using floating window)
- Custom pagers do not work with WSL
- Ability to have folders or '/' character in custom branch colours (MacOS) HOT 2
- Interacting with Custom Command Output (Git-Town) HOT 2
- The & operator is reserved for future use (Windows Terminal)
- Feature request: Implement `git log --graph --all` functionality in LazyGit HOT 2
- Why is <c-h> not supported as a keybind? HOT 1
- Add option to show modified filenames log panel HOT 2
- Error when launching in a none repository folder HOT 2
- Ability to exclude diff signs from "changes" copied contents
- Add the ability to copy the 7-character commit hash in lazygit: [4] Commits :: `y` <== Add first 7 characters hash mode HOT 3
- Non-sticky range diff HOT 6
- Set default color to icons/folders the LazyVim way, how to ? HOT 9
- Offer to autostash changes when creating a new branch HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lazygit.