Sitemap

Terminal Ghostty

4 min readAug 5, 2026

--

Feito em GTK, é um dos terminais que garante aceleração via GPU. Além de ter ótimos variados temas para escolher, seu destaque é ter boa integração com o mouse para selecionar opções através de botões(botão direito também funciona no terminal, com funções básicas como copiar e colar, dividir terminal e abrir configurações), mesmo podendo utilizar atalhos no teclado.

Press enter or click to view image in full size

Instalação:

sudo pacman -S ghostty

Arquivo de configurações:

~/.config/ghostty/config.ghostty
Press enter or click to view image in full size

Botões:

+: cria nova aba.
seta pra baixo: opções de dividir tela com outro terminal ao lado em cima/baixo.
4 janelas: exibe todas as abas do ghostty.
3 pontos:

Press enter or click to view image in full size
Press enter or click to view image in full size
Press enter or click to view image in full size
paleta de comandos
Press enter or click to view image in full size
inspetor de terminal
Press enter or click to view image in full size
sobre o ghostty

Listar atalhos e listas ações que podem virar atalhos:

ghostty +list-keybinds
ghostty +list-actions

Uma boa prática pode ser adicionar os atalhos ao arquivo de configuração:

{
echo
echo "# KEYBINDS #########################"
ghostty +list-keybinds
} >> ~/.config/ghostty/config.ghostty
Press enter or click to view image in full size

Lista de principais atalhos:

Press enter or click to view image in full size
Principais atalhos:
Ao selecionar texto copia automaticamente, se copy-on-select = clipboard estiver configurado
Ctrl+Shift+,Recarrega o arquivo config.ghostty sem reiniciar o Ghostty

Ctrl+Shift+C copia
Ctrl+Shift+V cola
Shift+Insert cola

Ctrl+Shift+T abre nova aba
Ctrl+Shift+W fecha aba atual
Ctrl+PageDown vai para próxima aba
Ctrl+PageUp vai para anterior aba
Ctrl+Shift+1~9 vai para a aba indicada pelo número

Ctrl+Shift+N cria nova janela
Ctrl+Shift+Q fecha a janela

Ctrl+= aumenta a fonte
Ctrl+- diminui a fonte
Ctrl+0 restaura o tamanho original


Ctrl+Shift+F procura texto no scrollback
F3 próxima ocorrência
Shift+F3 ocorrência anterior

Shift+PageUp sobe uma página
Shift+PageDown desce uma página
Control+Shifit+PageUp rola pra cima mais suavemente
Shift+Shifit+PageDown rola pra baixo mais suavemente
Ctrl+Home início do histórico
Ctrl+End final do histórico

F11 tela cheia

Listar fontes do ghostty:

ghostty +list-fonts

Listar temas(q sai do modo de visualização):

ghostty +list-themes
Press enter or click to view image in full size

Só mostra prévia, depois terá que pegar o nome do tema e botar ~/.config/ghostty/config.ghostty em theme = nome_do_tema

Get Linuxmon’s stories in your inbox

Join Medium for free to get updates from this writer.

Exemplo básico de arquivo de configuração:

# THEME /COLOR SCHEME ####################################################################
theme = Cyberpunk


# CONFIGS #################################################################
font-family = "Source Sans Pro Bold"
font-size = 17

window-padding-x = 5
window-padding-y = 5

background-opacity = 0.75
initial-window = true

cursor-style = block
cursor-style-blink = true
copy-on-select = clipboard

Se quiser criar um tema próprio, pode criar um arquivo aqui:

~/.config/ghostty/themes/novo_tema

No config.ghostty, deixar o tema como:

theme = novo_tema

E depois selecionar as cores desejadas em hexadecimal:

Press enter or click to view image in full size
background = #101010
foreground = #ffe14d

cursor-color = #ffe14d
cursor-text = #101011

selection-background = #000000
selection-foreground = #ffe14d

palette = 0=#202020
palette = 1=#ff5555
palette = 2=#50fa7b
palette = 3=#f1fa8c
palette = 4=#8be9fd
palette = 5=#bd93f9
palette = 6=#8be9fd
palette = 7=#c0c0c0

palette = 8=#505050
palette = 9=#ff8080
palette = 10=#80ff80
palette = 11=#ffff99
palette = 12=#80c0ff
palette = 13=#d0a0ff
palette = 14=#a0ffff
palette = 15=#ffffff

Fiz um tema simples preto e amarelo.

Press enter or click to view image in full size

--

--