All Projects → xi-frontend → Xi Term

xi-frontend / Xi Term

Licence: mit
A terminal frontend for Xi

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Xi Term

Dte
A small, configurable console text editor (moved to https://gitlab.com/craigbarnes/dte)
Stars: ✭ 98 (-78.03%)
Mutual labels:  terminal, tui, text-editor
Vim Quickui
The missing UI extensions for Vim 8.2 (and NeoVim 0.4) !! 😎
Stars: ✭ 714 (+60.09%)
Mutual labels:  terminal, tui, text-editor
Pulsemixer
CLI and curses mixer for PulseAudio
Stars: ✭ 441 (-1.12%)
Mutual labels:  terminal, tui
Termox
C++17 Terminal User Interface(TUI) Library.
Stars: ✭ 306 (-31.39%)
Mutual labels:  terminal, tui
Ticker
Terminal stock ticker with live updates and position tracking
Stars: ✭ 3,986 (+793.72%)
Mutual labels:  terminal, tui
Ftxui
💻 C++ Functional Terminal User Interface. ❤️
Stars: ✭ 433 (-2.91%)
Mutual labels:  terminal, tui
Spotui
Spotify in the terminal 💻🎶
Stars: ✭ 302 (-32.29%)
Mutual labels:  terminal, tui
Gitui
Blazing 💥 fast terminal-ui for git written in rust 🦀
Stars: ✭ 6,762 (+1416.14%)
Mutual labels:  terminal, tui
Tg
terminal telegram client that really works
Stars: ✭ 281 (-37%)
Mutual labels:  terminal, tui
Ratatouille
A TUI (terminal UI) kit for Elixir
Stars: ✭ 373 (-16.37%)
Mutual labels:  terminal, tui
Stig
TUI and CLI for the BitTorrent client Transmission
Stars: ✭ 360 (-19.28%)
Mutual labels:  terminal, tui
Castero
TUI podcast client for the terminal
Stars: ✭ 375 (-15.92%)
Mutual labels:  terminal, tui
Tart
Tart - draw ASCII art in the terminal with your mouse!
Stars: ✭ 296 (-33.63%)
Mutual labels:  terminal, tui
Tcpterm
tcpterm is a packet visualizer in TUI.
Stars: ✭ 288 (-35.43%)
Mutual labels:  terminal, tui
Fff
📁 A simple file manager written in bash.
Stars: ✭ 3,445 (+672.42%)
Mutual labels:  terminal, tui
Micro
A modern and intuitive terminal-based text editor
Stars: ✭ 18,526 (+4053.81%)
Mutual labels:  terminal, text-editor
Peaclock
A responsive and customizable clock, timer, and stopwatch for the terminal.
Stars: ✭ 314 (-29.6%)
Mutual labels:  terminal, tui
Py cui
A python library for intuitively creating CUI/TUI interfaces with widgets, inspired by gocui.
Stars: ✭ 380 (-14.8%)
Mutual labels:  terminal, tui
Writing A Tui In Bash
How to write a TUI in BASH
Stars: ✭ 263 (-41.03%)
Mutual labels:  terminal, tui
Mac Setup
🛠️ Front end web development setup for macOS.
Stars: ✭ 265 (-40.58%)
Mutual labels:  terminal, frontend

xi-term

Build Status

Formerly xi-tui, xi-term is a terminal frontend for xi.

It is experimental and under development, so don't expect anything magical (yet!).

Installation

The frontend assumes that you have installed the core editor and is available in your PATH. The following should suffice:

git clone https://github.com/xi-editor/xi-editor
cd xi-editor/rust
cargo install --path .

# if you want syntax highlighting, you need to install the syntect plugin:
cd syntect-plugin
make install

# You need to add ~/.cargo/bin to your PATH
# (this is where `cargo install` places binaries).
# In your .bashrc (or equivalent), add `export PATH=$PATH:~/.cargo/bin`

Then you can clone this repository and run the frontend with cargo run --release -- <your_file>. your_file can be an existing file or any dummy name.

Logging

For debugging, it can be useful to have logs. You can specify a location for log files xi-term with -l <logfile>. Two files will be written:

  • <logfile>: all the xi-term logs
  • <logfile>.rpc: the RPC messages exchanged between the core and the frontend

Screenshots

a python file

the README file

Shortcuts

For now, there are only two shortcuts:

  • ^w saves the current view
  • ^c exits

Commands

xi-term supports a vim-like command prompt for executing commands, accessed via Alt-X.

Currently supported commands:

Short form Long form Description
q quit Quits xi-term
s save Saves the current file
o filename open filename Open filename for editing
b backspace Delete the previous character and move the cursor one position back
d delete Delete the character under the cursor
bn next-buffer Switch to the next buffer
bp prev-buffer Switch to the previous buffer
pd page-down Advance the current view by one page
pu page-up Move the current view back by one page
ml move-left Move the cursor one position left
mr move-right Move the cursor one position right
mu move-up Move the cursor one line up
md move-down Move the cursor one line down
t theme theme theme-name Set the theme to theme
ln line-numbers Toggle displaying line numbers

Future commands:

Short form Long form Description
c close Closes the current view
? string search string Search for string
sl select-left Move the cursor one position left and update the current selection accordingly
sr select-right Move the cursor one position right and update the current selection accordingly
su select-up Move the cursor one line up and update the current selection accordingly
sd select-down Move the cursor one line down and update the current selection accordingly

Preferences

Xi-core supports several user-configurable options through a preferences.xiconfig file. The default location for this is $XDG_CONFIG_HOME/xi/preferences.xiconfig, or, if $XDG_CONFIG_HOME is not set, it defaults to $HOME/xi/preferences.xiconfig.

Caveats

Colors

If you have the syntect plugin installed, colors will be enabled by default, with two caveats:

  • you must have true colors enabled. Otherwise, some portions of text won't be displayed
  • the default theme is for dark backgrounds
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].