Giter Site home page Giter Site logo

zw963 / dte Goto Github PK

View Code? Open in Web Editor NEW

This project forked from craigbarnes/dte

0.0 2.0 0.0 8.54 MB

Dexterous Text Editor (forked from tihirvon/dex)

Home Page: https://gitter.im/craigbarnes/dte

License: GNU General Public License v2.0

Makefile 2.30% Awk 0.30% Shell 0.68% C 96.11% Lua 0.61%

dte's Introduction

dte

A small and easy to use console text editor.

Features

  • Multiple buffers/tabs
  • Unlimited undo/redo
  • Regex search and replace
  • Syntax highlighting
  • Customizable color schemes
  • Customizable key bindings
  • Support for all xterm Ctrl/Alt/Shift key codes
  • Command language with auto-completion
  • Unicode 13 compatible text rendering
  • Support for multiple encodings (using iconv)
  • Jump to definition (using ctags)
  • Jump to compiler error
  • EditorConfig support

Screenshot

dte screenshot

Installing

dte can be installed via package manager on the following platforms:

OS Install command
Debian Testing apt-get install dte
Ubuntu apt-get install dte
Arch Linux (AUR) $AUR_HELPER -S dte
Void Linux xbps-install -S dte
Slackware (SlackBuilds) See: SlackBuild Usage HOWTO
FreeBSD pkg install dte
DragonFly BSD (DPorts) pkg install dte
OpenBSD pkg_add dte
NetBSD (pkgsrc) pkg_add dte
OS X (Homebrew) brew tap yumitsu/dte && brew install dte
Android (Termux) pkg install dte

Building

To build from source, first ensure the following dependencies are installed:

...then download and unpack the latest release tarball:

curl -LO https://craigbarnes.gitlab.io/dist/dte/dte-1.10.tar.gz
tar -xzf dte-1.10.tar.gz
cd dte-1.10

...and compile and install:

make && sudo make install

Documentation

After installing, you can access the documentation in man page format via man 1 dte, man 5 dterc and man 5 dte-syntax.

Online documentation is also available at https://craigbarnes.gitlab.io/dte/.

Packaging

See docs/packaging.md.

For linux user, you can always try play with the newest version from here.

Limits

At the moment, bindings that include Ctrl must use uppercase letters. e.g. bind C-y 'paste -c' should change to bind C-Y 'paste -c'.

I've been thinking about this problem for a long time, but it's hard to fix without breaking backwards compatibility, It's been this way since the code was forked from dex.

Until I fix the problem, I think dte -K is the most useful way to see how to bind key combinations.

For now, copying and pasting in dte use the primary selection, in the future, I will be adding a new option to the copy and paste commands to allow copying and pasting from the system (X11/Wayland/Mac) clipboard, as did in emacs since 24.1.

License

Copyright (C) 2017-2021 Craig Barnes.
Copyright (C) 2010-2015 Timo Hirvonen.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details.

dte's People

Contributors

craigbarnes avatar tihirvon avatar data-man avatar pepa65 avatar ameenross avatar zw963 avatar dmgk avatar flyingmutant avatar akkartik avatar

Watchers

 avatar  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.