Skip to content

Commit

Permalink
Update latex2unicode completions
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-schulze authored and carlobaldassi committed Feb 3, 2021
1 parent ce48f42 commit e16cb07
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 34 deletions.
8 changes: 5 additions & 3 deletions keymap/generate_L2U_keymap.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/env julia

import REPL

const filename = "latex2unicode_utf-8"
const include_emoji = false # set this to true if you want to keymap empjis as well

Expand Down Expand Up @@ -78,13 +80,13 @@ open("$filename.vim","w") do f
" The full generating script can be found in the comments at the bottom of this file,
" and it can be extracted with:
"
" \$ grep '^\">' $filename.vim | cut -c4- > $(basename(Base.source_path()))'
" \$ grep '^\">' $filename.vim | cut -c4- > '$(basename(Base.source_path()))'
"
" To produce this keymap file you need to have Julia compilied from source, and
" to run `make UnicodeData.txt` inside Julia's `doc` directory.
" to run `make deps` inside Julia's `doc` directory.
" Then you can run:
"
" \$ julia $(basename(Base.source_path())).jl
" \$ julia $(basename(Base.source_path()))
"
scriptencoding utf-8
Expand Down
Loading

0 comments on commit e16cb07

Please sign in to comment.