Add font and window geometry settings to "Quick Start" example config (#6412)

* Add initial rows/cols to config quick start
* Add 'docs' target to Makefile
This commit is contained in:
Kevin Ernst authored and GitHub committed 2025-05-11 06:06:10 -07:00
1 parent 408b2016e2
commit 7f52f05580
2 files changed
+22 -4

No files matched your search

+6 -1
View File
@@ -1,4 +1,4 @@
.PHONY: all fmt build check test
.PHONY: all fmt build check test docs servedocs
all: build
@@ -22,3 +22,8 @@ build:
fmt:
cargo +nightly fmt
docs:
ci/build-docs.sh
servedocs:
ci/build-docs.sh serve
+16 -3
View File
@@ -11,15 +11,28 @@ local wezterm = require 'wezterm'
-- This will hold the configuration.
local config = wezterm.config_builder()
-- This is where you actually apply your config choices
-- This is where you actually apply your config choices.
-- For example, changing the color scheme:
-- For example, changing the initial geometry for new windows:
config.initial_cols = 120
config.initial_rows = 28
-- or, changing the font size and color scheme.
config.font_size = 10
config.color_scheme = 'AdventureTime'
-- and finally, return the configuration to wezterm
-- Finally, return the configuration to wezterm:
return config
```
For more details, see:
- [wezterm.config_builder](lua/wezterm/config_builder.md)
- [initial_cols](lua/config/initial_cols.md)
- [initial_rows](lua/config/initial_rows.md)
- [font_size](lua/config/font_size.md)
- [color_scheme](lua/config/color_schemes.md)
## Configuration Files
`wezterm` will look for a [lua](https://www.lua.org/manual/5.3/manual.html)