All Projects → zdharma-continuum → fast-syntax-highlighting

zdharma-continuum / fast-syntax-highlighting

Licence: BSD-3-Clause license
Feature-rich syntax highlighting for ZSH

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to fast-syntax-highlighting

new-moon-atom-syntax
New Moon Syntax Theme for Atom
Stars: ✭ 23 (-95.79%)
Mutual labels:  syntax-highlighting
syntax highlighter
Syntax Highlighter for Dart/Flutter Code
Stars: ✭ 28 (-94.87%)
Mutual labels:  syntax-highlighting
language-grammars
Syntax highlighting for ABNF/BNF/EBNF, Yacc, and other language-related languages.
Stars: ✭ 14 (-97.44%)
Mutual labels:  syntax-highlighting
intellij-diff-plugin
Syntax highlighting for .diff files and .patch files in IntelliJ IDEs
Stars: ✭ 17 (-96.89%)
Mutual labels:  syntax-highlighting
ace-documentation
A free documentation theme for Hugo, powered by Bootstrap 4. Repsonsive, search, code highlighting and more.
Stars: ✭ 91 (-83.33%)
Mutual labels:  syntax-highlighting
axiom
Axiom - A Hugo Theme. GitTip: https://gitcoin.co/tip?username=jhauraw
Stars: ✭ 67 (-87.73%)
Mutual labels:  syntax-highlighting
kirby-highlight
Themeable server-side syntax highlighting for Kirby
Stars: ✭ 14 (-97.44%)
Mutual labels:  syntax-highlighting
githat
Git diff with code syntax highlight
Stars: ✭ 32 (-94.14%)
Mutual labels:  syntax-highlighting
kate-syntax-highlight-v
Syntax highlighting of V files for the Kate editor
Stars: ✭ 17 (-96.89%)
Mutual labels:  syntax-highlighting
shikijs
A JavaScript Library for Syntax Highlighting with Awesome themes
Stars: ✭ 21 (-96.15%)
Mutual labels:  syntax-highlighting
zsh
(๑•̀ㅂ•́)و✧ Easily configure zsh themes and plugins for GNU/Linux and Android-Termux.管理数百个zsh插件和主题,支持Alpine,Android,Arch,Debian,Fedora和Void。
Stars: ✭ 73 (-86.63%)
Mutual labels:  zinit
nord-notepadplusplus
An arctic, north-bluish clean and elegant Notepad++ theme.
Stars: ✭ 112 (-79.49%)
Mutual labels:  syntax-highlighting
clifm
The shell-like, command line terminal file manager: simple, fast, extensible, and lightweight as hell
Stars: ✭ 825 (+51.1%)
Mutual labels:  syntax-highlighting
rdocsyntax
Syntax highlighting for R HTML documentation
Stars: ✭ 20 (-96.34%)
Mutual labels:  syntax-highlighting
chromarkdown
Generate single-file static responsive HTML page from Markdown with syntax-highlighting.
Stars: ✭ 13 (-97.62%)
Mutual labels:  syntax-highlighting
git-split-diffs
GitHub style split diffs in your terminal
Stars: ✭ 2,423 (+343.77%)
Mutual labels:  syntax-highlighting
intellij-firebase-highlighter
A Syntax Highlighter for Firebase Rules.
Stars: ✭ 26 (-95.24%)
Mutual labels:  syntax-highlighting
language-viml
Vim script syntax highlighting for Atom and GitHub.
Stars: ✭ 19 (-96.52%)
Mutual labels:  syntax-highlighting
vaporwave-theme-vscode
AESTHETICS
Stars: ✭ 28 (-94.87%)
Mutual labels:  syntax-highlighting
nord-atom-syntax
An arctic, north-bluish clean and elegant Atom syntax theme.
Stars: ✭ 72 (-86.81%)
Mutual labels:  syntax-highlighting

Fast Syntax Highlighting (F-Sy-H) Gitter

Feature rich syntax highlighting for Zsh.

image could not be loaded

Table of Contents

Other Contents

News

  • 15-06-2019
    • A new architecture for defining the highlighting for specific commands: it now uses abstract definitions instead of top-down, regular code. The first effect is the highlighting for the git command it is now maximally faithful, it follows the git command almost completely. Screencast

Installation

Manual

Clone the Repository.

git clone https://github.com/zdharma-continuum/fast-syntax-highlighting ~/path/to/fsh

And add the following to your zshrc file.

source ~/path/to/fsh/fast-syntax-highlighting.plugin.zsh

Zinit

Add the following to your zshrc file.

zinit light zdharma-continuum/fast-syntax-highlighting

Here's an example of how to load the plugin together with a few other popular ones with the use of Turbo, i.e.: speeding up the Zsh startup by loading the plugin right after the first prompt, in background:

zinit wait lucid for \
 atinit"ZINIT[COMPINIT_OPTS]=-C; zicompinit; zicdreplay" \
    zdharma-continuum/fast-syntax-highlighting \
 blockf \
    zsh-users/zsh-completions \
 atload"!_zsh_autosuggest_start" \
    zsh-users/zsh-autosuggestions

Antigen

Add the following to your zshrc file.

antigen bundle zdharma-continuum/fast-syntax-highlighting

Fig

Fig adds apps, shortcuts, and autocomplete to your existing terminal.

Install fast-syntax-highlighting in just one click.

Zgen

Add the following to your .zshrc file in the same place you're doing your other zgen load calls in.

zgen load zdharma-continuum/fast-syntax-highlighting

Oh-My-Zsh

Clone the Repository.

git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git \
  ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting

And add fast-syntax-highlighting to your plugin list.

Features

Themes

Switch themes via fast-theme {theme-name}.

image could not be loaded

Run fast-theme -t {theme-name} option to obtain the snippet above.

Run fast-theme -l to list available themes.

Variables

Comparing to the project zsh-users/zsh-syntax-highlighting (the upper line):

image could not be loaded
image could not be loaded

Brackets

image could not be loaded

Conditions

Comparing to the project zsh-users/zsh-syntax-highlighting (the upper line):

image could not be loaded

Strings

Exact highlighting that recognizes quotings.

image could not be loaded

here-strings

image could not be loaded

exec descriptor-variables

Comparing to the project zsh-users/zsh-syntax-highlighting (the upper line):

image could not be loaded

for-loops and alternate syntax (brace {/} blocks)

image could not be loaded

Function definitions

Comparing to the project zsh-users/zsh-syntax-highlighting (the upper 2 lines):

image could not be loaded

Recursive eval and $( ) highlighting

Comparing to the project zsh-users/zsh-syntax-highlighting (the upper line):

image could not be loaded

Chroma functions

Highlighting that is specific for a given command.

image could not be loaded

The chromas that are enabled by default can be found here.

Math-mode highlighting

image could not be loaded

Zcalc highlighting

image could not be loaded

Performance

Performance differences can be observed in this Asciinema recording, where a 10 kB function is being edited.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].