diff options
Diffstat (limited to 'ligature_plugins/README.md')
-rw-r--r-- | ligature_plugins/README.md | 33 |
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 | |||
3 | These features are supported *in vim only*. | ||
4 | |||
5 | ### Installation | ||
6 | |||
7 | Symlink 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 | |||
26 | Haskell in vim with scientifica: | ||
27 | ![haskell_ligs](https://0x0.st/sT8a.png) | ||
28 | |||
29 | Credits go to [romeovs](https://github.com/romeovs/) for the haskell plugin. | ||
30 | Credits go to [ehamberg](https://github.com/ehamberg/vim-cute-python) for the python plugin. | ||
31 | |||
32 | Both plugins have been modified (haskell.vim especially) to play well with scientifica. | ||
33 | If you need ligatures for other languages, just open an issue, with the language and the ligature sequence. | ||