📜 ⬆️ ⬇️

medit is a good replacement for gedit in Linux and TextPad in Windows

I have long ceased to arrange the default editor for Gnome gedit. It seems to have everything you need in it, but two things were annoying enough: the lack of ability to search files (grep, of course, a great team, but I would still not get out of the editor and use the search results right in it) and the lack autodetection of Russian encodings (there seems to be a plug-in encodings at one time, but I refused to activate it). The last moment is also important because I have a lot of heterogeneous text files and PHP scripts of sites made at different times, so some of them are created in the windows-1251 encoding, and some in utf-8.

Searching for links on these issues produced several results, one of which completely suited me. It turned out to be the medit editor. In fact, it is almost completely cloned gedit, but it also implements the mentioned features. A screenshot can be viewed here: screenshot-medit.png .

In terms of functionality, the editor is almost as good as the TextPad editor that is popular in the Windows environment. Search in files is also quite convenient:
')
Find in Files

True grep, caused by this dialog box, swears if you specify the Skip files parameter, but for me this is not a problem, since I usually don’t use this parameter anyway.

As for the autodetection of encodings, it is enough to write the following parameters in the options: Encoding to autodetect: UTF-8, WINDOWS-1251. After that, the file encoding is determined automatically in 99% of cases.

Source: https://habr.com/ru/post/41438/


All Articles