User Tools

Site Tools


cluster:text_editing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cluster:text_editing [2021/05/03 02:28] – [Emacs] abraslavcluster:text_editing [2024/11/11 20:46] (current) – removed mcloughlin
Line 1: Line 1:
-======Text Editing====== 
-It is possible that you might need to tweak your programs or to view output files.  There are many options to edit text on a Linux system. Some are text-only (console mode) and some use a graphical user interface. 
- 
-=====Nano===== 
-[[http://www.nano-editor.org/|Nano]] is a very simple console text editor.  To use it to edit a file, type: 
-<code>$ nano [file name]</code> 
-Note that nano may automatically wrap long lines (unless started with ''-w'') and it does not have an undo function. 
- 
-=====Gedit===== 
-[[https://wiki.gnome.org/Apps/Gedit|Gedit]] is a simple GUI text editor. You will need an X-server to run it. It's only installed on some of the machines (econ1-5). 
-<code>$ gedit [file name]</code> 
- 
-=====Emacs===== 
-[[http://www.gnu.org/software/emacs/|Emacs]] is one of the oldest text-editors (along with vi(m)). To start, enter the command: 
-<code>$ emacs</code> 
- 
-To edit a file, use: 
-<code>$ emacs [file name]</code> 
- 
-You can find an interactive emacs tutorial by typing ''C-h t'' (Control+h together, then t). To quit, type ''C-x C-c'' 
- 
-======Vim===== 
-You can run [[http://www.vim.org/|Vim]] with: 
-<code>$ vim</code> 
- 
-Upon starting Vim, you will be in 'command mode' In command mode, you cannot actually edit a file.  To edit the file type ''i'' to enter 'insert mode' and type ''Esc'' to return to 'command mode' A tutorial is available for Vim, by typing '':help'' and pressing enter (in command mode). To quit, type '':quit''+Enter (in command mode). 
  
cluster/text_editing.1620008906.txt.gz · Last modified: 2021/05/03 02:28 by abraslav