summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig35
1 files changed, 1 insertions, 34 deletions
diff --git a/src/config.zig b/src/config.zig
index 0e469c28..49dd4f78 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -113,17 +113,12 @@ pub const leader_path = paths: {
.Newcol = "cn",
.Delcol = "cd",
.Joincol = "cj",
- .Placement = "cp",
.SearchPlace = null,
.SearchPane = null,
.SearchRows = null,
.Search = null,
.Panes = null,
.More = null,
- .BootShell = null,
- .LookWord = null,
- .DirLook = null,
- .DiffLook = null,
.Pager = null,
.PagerColor = null,
.TermImages = null,
@@ -851,24 +846,6 @@ pub const Runtime = struct {
/// never, while the window has the focus, or always (ghostty's
/// custom-shader-animation).
shader_animation: ShaderAnimation = .on,
- /// Where a new pane goes (exec.placeNew): `acme`, acme's makenewwindow,
- /// or `pardes`, the rules pardes had before it.
- placement: Placement = .acme,
- /// A document dragged into the left column where a lone shell nobody
- /// has typed into stands: `keep` leaves the shell, `replace` closes it
- /// (exec.evictLonePristineTty).
- boot_shell: BootShell = .keep,
- /// A plain word looked at in a pane: `search`, acme's look3, selects its
- /// next place in that pane, wrapping; `list`, what pardes did before,
- /// lists every place in a +Search pane (look.zig, lookWord).
- look_word: LookWord = .search,
- /// A directory looked at: `pane`, acme's, a pane listing it (Dir.zig);
- /// `terminal`, what pardes did before, `ls` in a terminal there.
- dir_look: DirLook = .pane,
- /// A .diff or .patch looked at (a look, `pardes FILE`, `--wait`):
- /// `hunks`, a +Diff stacking its hunks (hunks.zig); `text`, the file
- /// itself, as pardes showed it before. Diff goes from one to the other.
- diff_look: DiffLook = .hunks,
/// What a terminal's shell pages through (host_io.ChildEnv): `pardes`,
/// PAGER and GIT_PAGER set to `pardes -`, a +Pager pane, where the
/// user's environment set neither; `off`, the environment as it is.
@@ -901,11 +878,6 @@ pub const Runtime = struct {
search_rows: u16 = 8,
pub const ShaderAnimation = enum { off, on, always };
- pub const Placement = enum { acme, pardes };
- pub const BootShell = enum { keep, replace };
- pub const LookWord = enum { search, list };
- pub const DirLook = enum { pane, terminal };
- pub const DiffLook = enum { hunks, text };
pub const Pager = enum { pardes, off };
pub const TermImages = enum { real, petscii };
pub const JumpScope = enum { file, all };
@@ -914,7 +886,7 @@ pub const Runtime = struct {
pub const SearchPlace = enum { attached, column };
pub const SearchPane = enum { reuse, new };
/// A setting that is one of a few words, each an enum field of Runtime.
- pub const Choice = enum { placement, boot_shell, look_word, dir_look, diff_look, pager, term_images, jump_scope, callstack_layout, callstack_corners, search_place, search_pane };
+ pub const Choice = enum { pager, term_images, jump_scope, callstack_layout, callstack_corners, search_place, search_pane };
/// shadow: a soft drop shadow. rim: a light hairline along the top of
/// the focused pane's tag rows. auto: a shadow on a light page; on a
@@ -1194,11 +1166,6 @@ pub const Runtime = struct {
.{ .word = "Grain", .action = .{ .scene = .grain }, .doc = "The page takes a fine, still grain, like paper: a level, 0 (off) through 3." },
.{ .word = "Shader", .action = .shader, .doc = "A Shadertoy file into the post chain, or out of it, compiled again when saved; off empties the chain." },
.{ .word = "ShaderAnimation", .action = .shader_animation, .doc = "When the post chain animates on its own: off, on (while focused) or always." },
- .{ .word = "Placement", .action = .{ .choice = .placement }, .doc = "Where a new pane goes: acme, as makenewwindow does, or pardes, the older rules." },
- .{ .word = "BootShell", .action = .{ .choice = .boot_shell }, .doc = "A document dropped where a lone untouched shell stands: keep the shell, or replace it." },
- .{ .word = "LookWord", .action = .{ .choice = .look_word }, .doc = "A plain word looked at: search selects its next place in the pane, list lists every place in a +Search." },
- .{ .word = "DiffLook", .action = .{ .choice = .diff_look }, .doc = "A .diff or .patch looked at: hunks, a +Diff stacking its hunks, or text, the file itself; Diff goes from one to the other." },
- .{ .word = "DirLook", .action = .{ .choice = .dir_look }, .doc = "A directory looked at: pane, a pane listing it as acme's directory window, or terminal, ls in a terminal there." },
.{ .word = "Pager", .action = .{ .choice = .pager }, .doc = "What a terminal's commands page through: pardes, a +Pager pane (pardes -), or off, the environment's own; for terminals started after it." },
.{ .word = "PagerColor", .action = .{ .toggle = .pager_color }, .doc = "A +Pager keeps its program's colours, on or off; for the next text paged." },
.{ .word = "TermImages", .action = .{ .choice = .term_images }, .doc = "How a new terminal draws its program's kitty graphics: real, as pixels where it can, or petscii, as glyph art." },