retext – Editor for restructured text

restructured text is a simple text editor for markdown/restructured text which can show preview as well. So, here is some details on same :

Name        : retext
Arch        : noarch
Epoch       : 0
Version     : 5.0.1
Release     : 7.fc22
Size        : 412 k
Repo        : @System
Summary     : Text editor for Markdown and reStructuredText
URL         :
License     : GPLv3+
Description : ReText is a simple but powerful text editor for Markdown and reStructuredText.


To install :

dnf install retext

ncurses based eFTE editor – programmers lightweight editor

nefte is a lightweight programmers editor. Here is descriptioin:


Description : eFTE is an advanced programmers editor with goals of being lightweight, yet
            : totally configurable. Support for user defined programming languages, menu
            : systems and key bindings are provided with many common defaults already
            : defined. eFTE is still a new project, however, we extend from the FTE editor
            : which was first released in 1995, so eFTE is tried and true with many features
            : for the programmer/text editor.
            : This package contains nefte, the ncurses version of the editor.

And to install:

sudo yum install nefte


There are lot of features taht you can explore and use.
It is quite lightweight programmers editor.

Check all vim colorschemes for minor issues

Here is script that checks all the colorschemes in the current directory and corrects them if possible (Processing of the file is done with simple commands like sed, grep)

Checks that the color_name is same as Filename

Here is the script:

#!/bin/bash -
#          FILE:
#         USAGE: ./
#       OPTIONS: ---
#          BUGS: ---
#         NOTES: ---
#        AUTHOR: Amit Agarwal (aka), 
#      REVISION:  ---
cd ~/.vim/colors
for i in *vim
    #echo "Processing $i"
    if [[ $(grep -c g:colors_name $i ) -eq 0 ]]; then
        if [[ $(grep -c colors_name $i ) -eq 0 ]]; then
            echo "File $i does not have colorname";
            missing=$missing" $i"
            sed -i.bak '/colors_name/ s/.*/let g:colors_name="'${i//.vim}'"/g' $i
        if [[ $(grep -c colors_name $i|grep let ) -gt 1 ]]; then
            echo "WARN ----->> File $i has more than one colorsname"
        colorname=$(grep g:colors_name $i|grep let| sed -e 's/"//g' -e 's/.*=//' |tr -d ' ')
        if [[ ${colorname}.vim != $i ]]; then
            echo "Filename $i does not match colorname $colorname .. correcting "
            sed -i.bak '/colors_name/ s/.*/let g:colors_name="'${i//.vim}'"/g' $i
            #sed -i.bak 's/(.*g:colors_name.*=)/1'${i//.vim}'/g' $i

if [[ x$missing != x ]] ; then
    echo "Missing colornames in $missing"


Enhanced by Zemanta