Skip to main content

Crate xei_core

Crate xei_core 

Source

Re-exports§

pub use app::App;
pub use app::BufferTab;
pub use app::EditorContextMenu;
pub use app::EditorCtxItem;
pub use app::EditorViewport;
pub use app::Mode;
pub use app::MouseState;
pub use app::ProcMetrics;
pub use app::ResizeTarget;
pub use app::SplitSepHit;
pub use app::set_cursor_esc;
pub use macros::MacroBank;
pub use macros::MacroKey;
pub use multi_cursor::MultiCursor;
pub use nav::FindKind;
pub use nav::Jump;
pub use nav::JumpList;
pub use nav::LastFind;
pub use nav::Marks;
pub use ops::LastChange;
pub use ops::Motion;
pub use ops::Operator;
pub use ops::TextObject;
pub use palette::Palette;
pub use palette::PaletteAction;
pub use palette::PaletteKind;
pub use peek::PeekState;
pub use registers::Registers;
pub use fold::FoldState;
pub use git::GitBlame;
pub use git::GitGutter;
pub use git::GitSign;
pub use git_graph::GraphGlyph;
pub use git_graph::GraphRow;
pub use gh::AuthLoginSession;
pub use gh::GhAuthInfo;
pub use gh::GhAuthState;
pub use git_workbench::GitCtxItem;
pub use git_workbench::GitFocus;
pub use git_workbench::GitLoadTarget;
pub use git_workbench::GitPane;
pub use git_workbench::GitTab;
pub use git_workbench::GitWorkbench;
pub use git_workbench::HistoryView;
pub use media::is_media_path;
pub use media::AudioPlayer;
pub use media::ImageAsset;
pub use preview::PreviewKind;
pub use preview::PreviewState;
pub use scm::ScmFocus;
pub use scm::ScmPanel;
pub use scm::ScmStatus;
pub use settings::help_entries;
pub use settings::HelpEntry;
pub use settings::SettingRow;
pub use settings::SettingsAction;
pub use settings::SettingsPage;
pub use settings::SettingsPanel;
pub use screensaver::Screensaver;
pub use screensaver::WeatherInfo;
pub use pet::PetState;
pub use split::Pane;
pub use split::SplitKind;
pub use split::SplitState;
pub use substitute::SubstituteCmd;
pub use which_key::ChordHint;
pub use which_key::WhichKeyState;
pub use workspace_search::SearchHit;
pub use workspace_search::WorkspaceSearch;
pub use call_hierarchy::CallDirection;
pub use call_hierarchy::CallHierarchyState;
pub use call_hierarchy::CallItem;
pub use dap::load_launch_configs;
pub use dap::Breakpoint;
pub use dap::DapClient;
pub use dap::DapState;
pub use dap::DebugPane;
pub use dap::LaunchConfig;
pub use dap::StackFrameInfo;
pub use dap::VarNode;
pub use hooks::HookEvent;
pub use hooks::HooksConfig;
pub use update::UpdateState;
pub use pr_review::PrReviewFocus;
pub use pr_review::PrReviewState;
pub use rebase::RebaseAction;
pub use rebase::RebaseState;
pub use lsp::CodeLens;

Modules§

app
bench
In-editor self-benchmark (:bench).
buffer
call_hierarchy
Call hierarchy panel state (LSP-backed).
clipboard
System clipboard access with multi-backend fallbacks.
completion
config
User config at ~/.xei.toml (simple line-oriented, no extra deps).
dap
Debug Adapter Protocol (DAP) client — launch, breakpoints, step, stack/vars.
explorer
fold
Indent-based code folding.
gh
Optional GitHub CLI (gh) integration — auth + PR/issue helpers.
git
Git gutter signs from git diff (working tree vs HEAD) + optional blame.
git_graph
Pretty commit graph layout (VS Code / lazygit style).
git_ops
Shared git CLI helpers for SCM + Git workbench.
git_workbench
Full Git workbench (Ctrl+Shift+G) — mini GitHub surface.
highlight
Token kinds, theme styling, and line-based fallback tokenizer.
hooks
Limited plugin hooks — run shell commands on editor events.
lsp
Minimal but stable LSP client over stdio.
macros
Simple vim-style macro recording / playback storage.
media
Media helpers for explorer/preview: images, CSV/NPY tables, audio playback.
multi_cursor
Multi-cursor (v1) — primary + extra carets for insert/edit.
nav
Marks, jumplist, and last f/t/T for ; / , repeat.
ops
Vim-style operators × motions × text objects.
palette
VS Code-style command / file / problems palette.
peek
Peek definition overlay (VS Code Alt+F12 style).
pet
Desktop pet — looping GIF/PNG overlay (Kitty graphics) placed at cell coords.
pr_review
PR review surface — files + review comments via gh.
preview
Pretty document preview (GitHub-flavored Markdown, JSON, plain).
rebase
Interactive rebase planner — edit pick/squash/fix/drop then run git rebase -i.
registers
Vim-style registers: unnamed ", named az, system + / *.
scm
VS Code–style Source Control (SCM) panel state.
screensaver
:screensaverxeifetch: neofetch-style splash with theme colors, analog clock, and optional location weather emoji.
session
Lightweight session restore: open files + cursor positions.
settings
Unified Settings panel (Ctrl+,) — About · Setting · Pet · Help.
snippets
Insert-mode snippets (v1) — Tab expands a trigger word before the cursor.
split
Editor pane splits (vertical / horizontal), up to MAX_PANES panes in a single direction. Repeating Ctrl+W v / Ctrl+W s adds another pane next to the focused one (Vim-style enough for daily use; no mixed-direction trees yet).
substitute
Ex-style substitute: :s/pat/repl/flags and :%s/.../
syntax
Tree-sitter syntax highlighting via highlight queries (highlights.scm).
term
Built-in terminal emulator with a real PTY.
theme
undo
Delta-based undo with SSD spill + optional on-close persistence.
update
Version check + self-update.
which_key
Which-key style chord maps — discoverable prefixes for Normal mode.
workspace_search
Project-wide text search (ripgrep preferred, walk fallback).
xlc