Skip to content

gioretikto/litos

Repository files navigation

# litos v. 4.1.0

**litos** aims to be an easy-to-use and fast editor. My target is an editor for quickly editing HTML files, providing shortcuts for inserting HTML tags. I try to use the latest GTK features available, which means that if GTK adds something new in a major release that is useful for the editor, I will likely bump the GTK dependency and integrate this new feature in **litos**.

### Required Packages 

Mousepad depends on the following packages:

* gcc
* make
* pkg-config
* libgtk-4-dev [GTK](https://www.gtk.org) >= 4.8.3
* [GLib](https://wiki.gnome.org/Projects/GLib) >=2.42.0
* libgtksourceview-5-dev [GtkSourceView](https://wiki.gnome.org/Projects/GtkSourceView) >=5.0
* libaspell-dev

### Installation

From source code repository: 

	% cd litos
	% make
	% sudo make install

### Usage

* Ctrl+b If text is selected tranforms "string" into "<b>string</b>"
* Ctrl+i To tranform "string" into "<i>string</i>"
* Ctrl+2 To tranform "string" into "<h2>string</h2>"
* Ctrl+3 To tranform "string" into "<h3>string</h3>"
* Ctrl+p insert "</p>" tag
* Ctrl+ h insert "</a>" tag
* Ctrl+h insert "<a href=\"link\">this</a>"
* Ctrl+Shift + p To tranform "string" into "&lt;sup&gt;string&lt;/sup&gt;"
* Ctrl+l insert "&lt;/li&gt;" tag
* Ctrl+g insert "&emsp;■□&emsp;" characters
* Ctrl+g insert "<div class=\"eq\">this</p>"
* Ctrl+d insert ⋅ character
* Ctrl+m insert − character
* Ctrl+r insert &lt;br&gt; characters
* Ctrl+y insert ⟶⟼⇒ characters
* Shift + Ctrl+y insert ⇌⟵⇐ characters
* Ctrl m insert — character

To create file from Templates make sure you've the "Templates" dir in you home direcotry and the file $HOME/.config/user-dirs.dirs exists (see https://wiki.archlinux.org/title/XDG_user_directories)

###Authors

Giovanni Resta - giovannirestadev@gmail.com

### Reporting Bugs

giovannirestadev@gmail.com