neoeedit - a smart, light, powerful text editor.
Java C++ Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cpp-src
dist
plugins
scripts
src
LICENSE
README.md
empty
myneoebuild
neoeedit.cmd
neoeedit.reg
neoeedit.sh
worklikemagic.png

README.md

neoeedit

neoeedit - a smart, light, powerful text editor.

https://github.com/neoedmund/neoeedit

  • BSD LICENSE
  • Written in Java
  • Java Swing for GUI, highly customized components.
  • Good performance
  • Good Unicode, CJK support
  • Rectangular mode
  • Integrated IME support
  • Script in Java
  • Hack, Nerd, Vim like
  • Small executable(200KB?)
  • Stable, since 2009

How to use

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

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\\jdk1.8.0\\bin\\javaw.exe\" -Xmx1000M -jar \"C:\\neoe\\neoeedit.jar\" \"%1\""

[HKEY_CLASSES_ROOT\*\Shell\Copy full name\Command]
@="\"C:\\Program Files\\Java\\jdk1.8.0\\bin\\javaw.exe\" -cp \"C:\\neoe\\neoeedit.jar\"  \"neoe.ne.CopyFullName\" \"%1\""
  • add ne.cmd to PATH
start javaw -Xmx500M -jar neoeedit.jar %* 

Linux: add ne.sh to PATH

java -Xmx500M -jar neoeedit.jar $1 &  

Default key-bindings:

    
    
    ctrl-C/V/X for copy/paste/cut
    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
    line number

    alt-Z: move cursor back by history
    alt-Y: move cursor forward by history
    ctrl-L: goto line
    ctrl-A: select all
    ctrl-D: delete current line
    ctrl-R: remove all trailing space
    alt-H:show hex for selected string
    alt-W: wrap lines.(at current X(min 10), non-English character's width calculated as two.)

    ctrl-S: save file
    F2 : save as...
    ctrl-O: open file in directory. It just list them, and use ctrl-G to open one of them.
    drag and drop files to open
    ctrl-N: new empty document in window
    ctrl-M: new one More window.
    ctrl-Q: show all opened documents in window. You can jump to one of them by press ctrl-1 over it.
    ctrl-1: go to file(:lineno) of current line.
    ctrl-Tab: quick switch between opened documents.
    ctrl-W: close current document, and record to open file history.
    ctrl-G or ctrl-1: goto file and line on search result or file by name or document in the window by name.
    Alt-L: launch current line using system default launcher(for file, executable, text, or URL).
    Alt-E: execute current line in system command line(eg. for windows, try "cmd /c dir").
    ctrl-H: open file history
    ctrl-P: print (beautifully)

    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-S : change line seperator between windows(\r\n) and unix(\n)

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

    common language keywords highlighting (java,c,python,basic, 500+ words)

    (){}<> pair marking. Alt-P: move cursor between pair marks.

    F1: help(about)

    Encoding auto detection . for UTF-8, UTF-16, UTF-32, SJIS, GBK. Good unicode support.
    Comments auto detection . like # // -- for many languages.

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

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

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

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

    alt-j: script

    alt-c: switch between preset color modes, there are 3 now: White, Black, Blue.

    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
        

    configurable custom Freetype font (in config file)

    integrated NeoeIme as a plugin.(see Plugins)

        ctrl-space to toggle IME

    context_menu: show commands panel.
    (more...not listed or not added)

'Work Like Magic'

(c) 2009-2100 neoe