glab(1)
π
glab-config-edit β like, the glab(1) manual page, but make it make sense π
okay bestie, so this is a page from the glab(1) manual and it's specifically about glab config edit β the little command that pops open your glab config file in an editor. it's giving "small but mighty" ngl β¨
πΈ NAME πΈ
glab-config-edit β opens the glab configuration file. that's it. that's the whole job. iconic. π
π¦ SYNOPSIS π¦
glab config edit [flags]
π DESCRIPTION π
so when you run this, glab has to figure out which editor to open your config in. and it's not random β there's a whole little priority list it goes through, in this exact order, no cap:
- the
glab_editorfield in the configuration file π₯ - the
VISUALenvironment variable - the
EDITORenvironment variable
like, it checks them top to bottom and the first one it finds wins. main character energy for whoever's at #1, honestly. π«Ά
β¨ OPTIONS β¨
-l,--local[=false]β opens the.git/glab-cli/config.ymlfile instead of the global~/.config/glab-cli/config.ymlfile. so it's like "hey, keep it local bestie" π vs. the global one which is your whole-world config.
π OPTIONS INHERITED FROM PARENT COMMANDS π
-h,--help[=false]β shows help for this command. the classic. the moment. when you're lost, press it. π
π₯ EXAMPLE π₯
the receipts, literally verbatim:
# Open the configuration file with the default editor
glab config edit
# Open the configuration file with vim
EDITOR=vim glab config edit
# Set vim to be used for all future 'glab config edit' invocations
glab config set editor vim
glab config edit
# Open the local configuration file with the default editor
glab config edit -l
see that third one? that's the permanent glow-up β set vim once and every future glab config edit just knows. obsessed. π
π§ SEE ALSO π§
glab-config(1)β the parent command, go say hi π
little reminder:--localopens the repo-level file at.git/glab-cli/config.yml, while the default is the global~/.config/glab-cli/config.yml. don't mix 'em up, bestie π«Ά
and that's the page!! β¨ auto generated by spf13/cobra, dated Nov 2026, and yeah β this was glab(1). slay, you read the whole thing π
ππ¦
π¦ where this page comes from
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms