an Entity in Data Space: 134.155.108.49:8890
Here's the function I created. " F7 Will give some spelling suggestions for the current word in any mode nmap \ss vmap \ss omap \ss map! \ss noremap \ss :call SuggestWord() "Make some spelling suggestions for the current word, and allow you to change it for the word you prefer "Requires ispell and perl "By Ben Staniford function! SuggestWord () let rw = tempname() let oldspelling = expand("") "Run ispell on the word under the cursor and prompt us for a choice, then save it to a temp file exe '!echo -n '.oldspelling.' | ispell -a -S | perl -e '."\x27".'print " ";'. \ 'while(<>) {if(/.*:\s(.*$)/){$m=1;@a=split ", ",$1;print "Suggestions: [CTL-C to abort] ";'. \ 'for (@a) {print ++$i.")$_ "} print " >"; open (I, "/dev/tty"); $b=; open(RW,">'.rw.'");'. \ 'print RW "$a[$b-1]";}}if($
Graph IRI | Count |
---|