Tux is very simple code and text editor with minimal features. It is build with rust framework Tauri
, the frontend is build purely with vanilla Javascript, HTML , and CSS.
- Minimal, lightweight out of the box beautiful text & code editor with countless themes.
- AutoComplete and Autosuggest keywords for various programming languages.
- Search using word or regex, replace using word or regex.
- Keyboard oriented workflow with standard easy-to-remember keyboard shortcuts.
- Tab based editor.
- Auto language detection and syntax highlighting.
- Auto-Save files, Zen mode.
Grab the appropiate binary for your operating system from the releases and install Tux on your system.
Ctrl+t
- Add new tabCtrl+{Number}
- For example, Ctrl+2 - Go to Tab 2Ctrl+Tab
- Cycle Through all the tabsCtrl+q
- Close current TabCtrl+f
- Find, Replace TextCtrl+G
- Move to the Bottom of the documentCtrl+g
- Move to the Top of the documentCtrl+z
- UndoCtrl+y
- RedoCtrl+T
- Open Theme PickerCtrl+o
- Open a Single FileCtrl+O
- Open Multiple FilesCtrl+s
- Save unsaved fileCtrl+Q
- Close Tux EditorCtrl+=
- Increase Font Size of the current TabCtrl+-
- Decrease Font Size of the current TabF11
- Enable Zen Mode, Go Fullscreen
To find a text using a pattern such as the word world
, press Ctrl+f
then simply type te word world
and press Enter.
You can also pass flags, to search case insensetve word world
, type the word first, then along with a forward slash type f=
and pass the flag i
. For example, world/f=i
You can also use regex instead of searching the word, however keep in mind that the regex should be typed without starting and ending forward slahes
For example: h.*ld
, You can also pass flags using a forward slash and f=
command.
To find and replace a text, press Ctrl+f
, now type a forward slash first, it is very important that you start the word that you want to find and replace starts with a forward slash. Then type the word for example world
, then again type a forward slash and type the command r=
, type the word that you want to replace with.
For example: /world/r=earth
, You can also use regex and use flags, For example: /w.*ld/r=earth/f=gi
For ease of developing Tux is styled with tailwindcss and there are few JS libraries and CSS helpers that have been used during the developing process which are mentioned below:
hilightjs
- For syntax highlighting, language detection and overall code editor themes.markjs
- To mark specific words during searchdevicon
- Display various programming languages iconscaret_position.js
- To get the caret position in the textarea (Link)fontawesome
- For Font Icons
- Custom Config File to configure Tux Editor.
- Improve Performance and Fix existing Bugs.
- Add Custom Themes.
- Create Tux API's for extension development.
- Integrating LSP and more robust features.