wiki:cypress/FileEditingSoftware

Version 8 (modified by fuji, 3 months ago) ( diff )

File Editing

File Editing Software

The following are the three most commonly used editors

nano

nano is the easiest to use editor available on the clusters.

Use the following command to open a file for editing with nano:

user@host> nano filename

vim

vim is the improved version of vi with code syntax highlighting and other features useful for programming. This editor has a steep learning curve, but is very efficient.

Vim Quick Reference

Use the following command to open a file for editing with vim:

user@host> vim filename

emacs

emacs also has code syntax highlighting along with auto-indentation and a whole list of other advanced editing features.

Emacs Reference

Use the following command to open a file for editing with emacs:

user@host> emacs filename

GUI Based Editors

There are a number of GUI based editors available across platforms (VSCode, gedit, notepad++, sublime text edit just to name a few). The choice of GUI based text editor is a personal one and we offer no opinions on which is best.

That being said, any GUI based editor you use should be able to save files in a clean text format (so Microsoft Word is out).

Visual Studio Code

Visual Studio Code, also commonly referred to as VS Code, is a source-code editor developed by Microsoft for Windows, Linux, macOS and web browsers. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded version control with Git. Users can change the theme, keyboard shortcuts, preferences, and install extensions that add functionality.

Exercise

Exercise

Remote Editing with VSCode

Visual Studio Code

Next Section

Transferring Files

Note: See TracWiki for help on using the wiki.