Giter Site home page Giter Site logo

xim's Introduction

xim

Build Status

the xim source

xim is a minimal terminal frontend for xi editor.

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

This is a fork which don't have any intention to merge on the original.

Installation

Assuming that you have installed xi editor core and you have ~/.cargo/bin into your PATH, the following should suffice:

# syntax highlight plugin
git clone https://github.com/google/xi-editor                                                                                       
cd xi-editor/rust/syntect-plugin                                                                                                      
make install                                                                                                                          
cd $OLDPWD                                                                                                                            

# xim install
git clone https://github.com/xi-frontend/xim                                                                                          
cd xim                                                                          
cargo install  

To run the editor after installing, use xim <filename>.

Logging

To enable logging, use the parameter -l <logfile>. Two files will be written:

  • <logfile>: xim log
  • <logfile>.rpc: rpc messages log

Shortcuts

  • ^s Save
  • ^q Quit

Caveats

Tabs

We assume tabs (\t) are 4 columns large. It that is not the case in your terminal, the cursor position will be inaccurate. On linux, to set the \t width to four spaces, do:

tabs -4

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 color scheme (for now) is base16-eighties.dark.

xim's People

Contributors

ajm188 avatar epocsquadron avatar little-dude avatar llogiq avatar ryukinix avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.