Vim Advent Calendar 2012の345日目(2013-11-10)の記事です。
普通のWindowsアプリにおいて、擬似的にViエディタのNormal mode編集操作を使えるようにするIMEを作りました。
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>GraphFromOSM and sample random points</title> | |
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" | |
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" | |
crossorigin=""/> | |
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js" | |
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" |
# lynx-textfragment.patch | |
Lynx patch to support scroll to text fragment #:~:text= | |
## Limitations | |
* Not support prefix, suffix, textEnd, multiple text fragments(&). | |
* Not support word boundary. | |
(for example, | |
https://blog.chromium.org/2019/12/chrome-80-content-indexing-es-modules.html#:~:text=text | |
matches `context` before `text`) |
Vim Advent Calendar 2012の345日目(2013-11-10)の記事です。
普通のWindowsアプリにおいて、擬似的にViエディタのNormal mode編集操作を使えるようにするIMEを作りました。
# Lynx patch to ignore xml encoding if charset is specified in Content-Type header | |
## Problem | |
Some sites (2chcopipe.com, digital-thread.com) use | |
incorrect <?xml encoding value. | |
Lynx displays garbled characters. | |
Content-Type: text/html; charset=euc-jp | |
... | |
<?xml version="1.0" encoding="UTF-8"?> |
$ cat trips.json
[{"vendor":"car","path":[[139.8007914,35.5144044],[139.9108676,35.4396142]],"timestamps":[0,600]},{"vendor":"escooter","path":[[139.9108139,35.439529],[139.8008987,35.5140027]],"timestamps":[0,600]}]
$ curl https://raw.githubusercontent.com/visgl/deck.gl-data/master/examples/trips/trips-v7.json 2> /dev/null | jq -c 'map(select(.path[0][0] < -73.98 and .path[-1][0] < -73.98 and .path[0][0] > -74.02 and .path[-1][0] > -74.02 and .path[0][1] < 40.75 and .path[-1][1] < 40.75 and .path[0][1] > 40.70 and .path[-1][1] > 40.70))' | jq -c '.' > trips-v7_0.json
Vim Advent Calendar 2012の102日目(2013-03-12)の記事です。
W,E,BでのWORD移動を文節単位にする jasegment.vimを作りました。