Μετάβαση στο περιεχόμενο

Description

Tilde is a command line text editor with a similar interface to programs for a wide public.

tilde 1.1.3

Homepage

To use tilde, you first load it with the command module load tilde and then you execute it with the command tilde (or tilde my_file.txt to open my_file.txt).

Set as default command line editor

Create the file ~/edit with the following content:

#!/bin/bash
module load tilde>/dev/null 2/&1
tilde "$1"

Then open the file ~/.bashrc and add the following lines at the end.

export EDITOR=~/edit
alias edit=~/edit

Starting from your next login, tilde will be your default editor, and the command edit <file name> will load/unload the necessary modules so that your file is opened with tilde (a bare edit will just start tilde), while closing tilde will return you to your initial environment, with the modules you had before running edit.