1.2 Jag: Terminal Editor With Mouse Support and Colour Highlighting · naver/lisp...
source link: https://github.com/naver/lispe/wiki/1.2-Jag:-Terminal-Editor-With-Mouse-Support-and-Colour-Highlighting
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Jag (작)
jag is a terminal editor that is compatible with Windows, Mac OS and Linux. It is basically the same editor as the one that is currently embedded in LispE.
(In Korean, jag means a job done by someone.)
jag offers:
- mouse support
- color highlighting for many languages (C++, python)
- automatic indentation
- regular expressions to search and replace
- undo/redo mode (ctrl-u / ctrl-r)
The editor is pretty small and comes with a multitude of options:
Commandes :
- Ctrl-k: delete from cursor up to the end of the line
- Ctrl-d: delete a full line
- Ctrl-u: undo last modification
- Ctrl-r: redo last modification
- Ctrl-f: find a string
- Ctrl-n: find next
- Ctrl-g: move to a specific line, '$' is the end of the code
- Ctrl-l: reload file from disk
- Ctrl-t: reindent the code
- Ctrl-h: local help
- Ctrl-w: write file to disk
- Ctrl-c: exit the editor
- Alt-x: cut mouse selection
- Alt-c: copy mouse selection
- Alt-v: paste mouse selection
- Alt-+: indent to the right
- Alt--: de-indent to the left
- Ctrl-x: Combined Commands
- f: search with LispE internal regular expressions (see link below)
- F: search with posix regular expressions
- D: delete a bloc of lines
- n: hide/display line numbers
- c: copy a bloc of lines
- x: cut a bloc of lines
- v: paste a bloc of lines
- w: write and quit
- l: load a file
- h: full help
- m: toggle mouse on/off
- u: toggle between top and bottom of the screen
- +: indent current line or selected lines to the right
- -: de-indent current line or selected lines to the left
- q: quit
LispE Internal Regular Expression Description
About mouse copy/paste
When the editor is in mouse mode, you must use alt-X, alt-C and alt-V to cut, copy and paste the selection. This selection copies the selected strings into an internal clipboard, which is different from the system clipboard. You can still copy from the system clipboard. However, if you want to cut/copy to the system clipboard, you must deactivate mouse mode first, with Ctrl-X m. You can return to mouse mode with Ctrl-X m again.
Compile
First: python configure.py
then compile jag: make jag
See Note On Compiling for more information.
You can edit any file with jag: jag file
.
Recommend
-
127
mycli A command line client for MySQL that can do auto-completion and syntax highlighting. HomePage: http://mycli.net Documentation: ht...
-
54
tart - terminal art program _____ _ ____ _____ _ (_ _)/ \ | (_ _)| | | | / ^ \ | O || | |_| | |/ ___ \| _ < | | _ |_|_/ \_|_| \_\|_| |_| Tart is a program that provid...
-
21
README.md ...
-
26
README.md SQLova SQLova is a neural semantic parser translating natural language utterance to SQL query. The name is originated from the name of o...
-
30
Join GitHub today GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
-
7
Terminal colour highlights I find it very productive working in a terminal environment, as it's efficient and flexible to deal with processes and data, especially text, and especially on remote machines. Now...
-
16
TheoriFollow...
-
8
A component that can arrange items according to the type of grids. Demo / API
-
5
react-native-naver-map Naver Map For React native. This is Naver Map's React Native Bridge. npm install react-native-nmap --save; React Native 0.60+
-
18
Step 1. Install ZSH sudo pacman -S zsh Enter fullscreen modeExit fullscreen mode Step 2. Make ZSH default chsh -s $(whic...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK