Skip to content

domeniczz/Terminal-Based-Text-Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal-Based-Text-Editor

A Terminal-Based Text Editor (Similar to Vim)

Environment

Runing on JDK-11

depends Java Native Access to call native methods

Features

  • Open given file
  • Vertical & Horizontal scrolling
  • Search through the whole file
  • Support Windows/MacOS/Linux terminal

Feature Demo GIF

Run

Windows Terminal test passed, MacOS and Linux haven't been tested yet

# go to the script path
cd <filepath>
# run editor
java -cp jna-5.13.0.jar Viewer.java <fileToOpen>

Hotkeys

Ctrl + Q to exit editor

Ctrl + F to enter search mode

Ctrl + S to save the file

ESC or ENTER to exit search mode (ESC should be pressed twice)

Thanks

Thanks Marco Behler for offering free guide videos

About

A Terminal-Based Text Editor (Similar to Vim)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages