Giter VIP home page Giter VIP logo

neoeedit's Introduction

neoeedit

neoeedit - a smart, light, powerful text editor.

intro to neoeedit

  • Open source, BSD LICENSE
  • Written in Java
  • Highly customized Java Swing GUI editor component
  • Stable, performant, crash proof
  • Good Unicode, CJK support, Good font handling
  • Rectangular mode
  • Integrated IME support
  • Also an image viewer
  • Also a command line console (no tty no input support)
  • Script ( in Java )
  • Advanced search (like grep)
  • Smart philosophy:
    • when encounter a problem , instead of panic, it find solutions to go on
    • when you don't configure , it find best option for you
  • Small executable(200KB?), no bloatware. drop features that not often used while need lots code
  • No online data transmission or any telemetry, means privacy protected
  • Since 2009

screenshot

Default key-bindings:(can be changed in config file, located in $homedir/.neoeedit)

    ctrl-C/V/X: copy/paste/cut

    ctrl-1: go to file (and lineno) of current line.
    alt-E(or F9): execute current line as command line
    ctrl-O: list files in current dir, then use ctrl-1 to open one of them.
    alt-P: move cursor between pair marks. (works on (){}<>)
    ctrl-L: goto line
    ctrl-A: select all
    alt-A: select and copy current line
    ctrl-D: delete current line
    ctrl-R: remove all trailing spaces
    alt-H: show hex for selected string
    alt-W: wrap lines (at cursor position, CJK character's counted as two.)

    ctrl-S: save file
    F2 : save as

    ctrl-N: new empty document in current window
    ctrl-M: new empty document in new window
    ctrl-TAB: show all documents in window. You can jump to one of them by press ctrl-1 on it.
    ctrl-Q: quick switch between documents.
    ctrl-W: close current document, and record to open file history.
    alt-L: launch current line using system default launcher (for file, executable, text, or URL).
    ctrl-H: open file history
    ctrl-P: print (beautiful)

    ctrl-Z: undo
    ctrl-Y: redo

    ctrl-F: find/replace
    F3 : find next
    F4 : find prev

    ctrl-E: set encoding
    F5 : reload with encoding

    alt-left alt-right: quick indent
    home end, ctrl up,down,left,right: cursor control

    Keywords highlighting (java,c,python,lua,shader 500+ keywords)
    Comments auto detection, like # // -- /**/
    drag and drop files to open
    F1: help
    ctrl-F1: show banner

    Encoding auto detection . for UTF-8, UTF-16, UTF-32, SJIS, GBK. Good unicode support.

    replace/find in files, and in dir/sub-dir

    alt-\: rectangular mode
    alt-/: switch line between / and \ (for path seperator)

    ctrl-mouse scroll: zoom in/out
    ctrl-0: zoom reset

    alt-f:list fonts, then ctrl-1 on it to set font

    alt-j: script to process on the text

    alt-c: switch between preset color modes, there are 3 now: White, Black, Blue.
    
    alt-S : change line seperator between windows(\r\n) and unix(\n)
    
    alt-R : readonly mode (for novel reading)

    It's also a image viewer! View large JPG, GIF, BMP, PNG images easily.
        Left, Right: view previous/next image
        Up, Down: rotate image
        0: reset image
        Ctrl-W / H / O: functions like what it did in text editor mode
        F1: toggle thumbnail
        `[` `]`:slide show speed
        ctrl-click, ctrl-drag to select an area, then ctrl-s to save.


    Configurable font List (in config file)

    Plugins:
    how to use: copy plugin jar into [home-dir]/.neoeedit/plugins/
    
    
    ctrl-space: toggle IME (need plugin `neoeime`, support Chinese,Japanese,English etc.)
    ctrl-shift-f: format source (need plugin `neoeformatter.jar`, support Java, C or C liked, Lua, json)
    
    select text using both mouse and keyboard
    cursor keys: up down left right home end(also Ctrl-Enter) pageup pagedown
    alt-pageup, alt-pagedown, alt-mouse scroll: horizon cursor movement
    
    (more...not listed or not added)

How to use

Just download a single jar to start: https://github.com/neoedmund/neoeedit/raw/master/dist/neoeedit.jar

Linux:

java -Xmx2G -jar neoeedit.jar $1 &

Windows:

  • add to content-menu using neoeedit.reg
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\Shell\Open with neoeedit]

[HKEY_CLASSES_ROOT\*\Shell\Open with neoeedit\Command]
@="\"C:\\Program Files\\Java\\jdk9\\bin\\javaw.exe\" -Xmx1000M -jar \"C:\\neoe\\neoeedit.jar\" \"%1\""

[HKEY_CLASSES_ROOT\*\Shell\Copy full name\Command]
@="\"C:\\Program Files\\Java\\jdk9\\bin\\javaw.exe\" -cp \"C:\\neoe\\neoeedit.jar\"  \"neoe.ne.CopyFullName\" \"%1\""
start javaw -Xmx2G -jar neoeedit.jar %*

install plugins

copy plugins/*.jar into [userhome]/.neoeedit/plugins/

'Work Like Magic'

(c) 2009-2099 neoe

neoeedit's People

Contributors

neoedmund avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

neoeedit's Issues

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.