Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/damon-kwok/modern-sh

:guitar: An Emacs minor mode for editing shell script.
https://github.com/damon-kwok/modern-sh

emacs-lisp emacs-mode emacs-package emacs-packages

Last synced: 16 days ago
JSON representation

:guitar: An Emacs minor mode for editing shell script.

Awesome Lists containing this project

README

        

Emacs Logo
[![GitHub license](https://img.shields.io/github/license/damon-kwok/modern-sh?logo=gnu&.svg)](https://github.com/damon-kwok/modern-sh/blob/master/COPYING)
[![Sponsor](https://img.shields.io/badge/Support%20Me-%F0%9F%92%97-ff69b4.svg)](https://www.patreon.com/DamonKwok)
[![MELPA](http://melpa.org/packages/modern-sh-badge.svg)](http://melpa.org/#/modern-sh)

# Modern sh

An Emacs minor mode for editing shell script.

## Features

- [x] Modern syntax highlighting
- [x] Auto format on save
- [x] Code navigation (using `imenu`)
- [x] Go to definition (using `ctags`)
- [x] REPL

## Installation

### Using MELPA
This package can be obtain from
[MELPA](http://melpa.org/#/modern-sh) or
[MELPA Stable](http://stable.melpa.org/#/modern-sh). The `master`
branch is continuously deployed to `MELPA`, and released versions are
deployed to `MELPA Stable`.

M-x package-install [RET] modern-sh [RET]

```elisp
(require 'modern-sh)
(define-key modern-sh-mode-map (kbd "") 'modern-sh-menu)
(add-hook 'sh-mode-hook #'modern-sh-mode)
```