From 1920eb19f0efd0477c171b4eeda6b979fdefbe18 Mon Sep 17 00:00:00 2001 From: NerdyPepper Date: Tue, 13 Feb 2018 17:19:15 +0530 Subject: Add ligature plugins, installation instructions --- ligature_plugins/README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 ligature_plugins/README.md (limited to 'ligature_plugins/README.md') diff --git a/ligature_plugins/README.md b/ligature_plugins/README.md new file mode 100644 index 0000000..a17c67b --- /dev/null +++ b/ligature_plugins/README.md @@ -0,0 +1,33 @@ +# Ligatures and Unicode substitution + +These features are supported *in vim only*. + +### Installation + +Symlink the required vim plugins to + + - `~/.vim/after/syntax/` (vim) + - `~/.config/nvim/after/syntax/` (neovim) + + ```shell + #vim + cd ~/scientifica/ligature_plugins/ + for i in `ls *.vim`; do + ln -sf ~/scientifica/ligature_plugins/"$i" ~/.vim/after/syntax/"$i" + done + + #nvim + cd ~/scientifica/ligature_plugins/ + for i in `ls *.vim`; do + ln -sf ~/scientifica/ligature_plugins/"$i" ~/.config/nvim/after/syntax/"$i" + done + ``` + +Haskell in vim with scientifica: +![haskell_ligs](https://0x0.st/sT8a.png) + +Credits go to [romeovs](https://github.com/romeovs/) for the haskell plugin. +Credits go to [ehamberg](https://github.com/ehamberg/vim-cute-python) for the python plugin. + +Both plugins have been modified (haskell.vim especially) to play well with scientifica. +If you need ligatures for other languages, just open an issue, with the language and the ligature sequence. -- cgit v1.2.3