aboutsummaryrefslogtreecommitdiff
path: root/ligature_plugins/README.md
diff options
context:
space:
mode:
authorNerdyPepper <[email protected]>2018-02-13 11:49:15 +0000
committerNerdyPepper <[email protected]>2018-02-13 11:49:15 +0000
commit1920eb19f0efd0477c171b4eeda6b979fdefbe18 (patch)
tree44b9604cd6590129cef9baacc3b3354a0cee808f /ligature_plugins/README.md
parent1492427be5317478f040aff795439eb092173e6b (diff)
Add ligature plugins, installation instructions
Diffstat (limited to 'ligature_plugins/README.md')
-rw-r--r--ligature_plugins/README.md33
1 files changed, 33 insertions, 0 deletions
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 @@
1# Ligatures and Unicode substitution
2
3These features are supported *in vim only*.
4
5### Installation
6
7Symlink the required vim plugins to
8
9 - `~/.vim/after/syntax/` (vim)
10 - `~/.config/nvim/after/syntax/` (neovim)
11
12 ```shell
13 #vim
14 cd ~/scientifica/ligature_plugins/
15 for i in `ls *.vim`; do
16 ln -sf ~/scientifica/ligature_plugins/"$i" ~/.vim/after/syntax/"$i"
17 done
18
19 #nvim
20 cd ~/scientifica/ligature_plugins/
21 for i in `ls *.vim`; do
22 ln -sf ~/scientifica/ligature_plugins/"$i" ~/.config/nvim/after/syntax/"$i"
23 done
24 ```
25
26Haskell in vim with scientifica:
27![haskell_ligs](https://0x0.st/sT8a.png)
28
29Credits go to [romeovs](https://github.com/romeovs/) for the haskell plugin.
30Credits go to [ehamberg](https://github.com/ehamberg/vim-cute-python) for the python plugin.
31
32Both plugins have been modified (haskell.vim especially) to play well with scientifica.
33If you need ligatures for other languages, just open an issue, with the language and the ligature sequence.