diff options
author | typebrook <typebrook@gmail.com> | 2019-12-15 15:23:11 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-12-15 15:23:11 +0800 |
commit | c4b991555bfd59e7e414bb2922c0e9d33af23efb (patch) | |
tree | c4d9d6a2d76a91006c496a5cb66e66782e0a9b27 | |
parent | e0c3ebf3298f1ace7331e57e71ecab8e4952e9c6 (diff) |
update
-rw-r--r-- | alias | 1 | ||||
-rw-r--r-- | vimrc | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -163,6 +163,7 @@ alias sample-osm='curl https://api.openstreetmap.org/api/0.6/node/3428095932' | |||
163 | # data file | 163 | # data file |
164 | alias taiwan='curl -O http://download.geofabrik.de/asia/taiwan-latest.osm.pbf' | 164 | alias taiwan='curl -O http://download.geofabrik.de/asia/taiwan-latest.osm.pbf' |
165 | alias data-rudymap='curl -O https://raw.githubusercontent.com/alpha-rudy/taiwan-topo/master/styles/mapsforge_style/MOI_OSM.xml' | 165 | alias data-rudymap='curl -O https://raw.githubusercontent.com/alpha-rudy/taiwan-topo/master/styles/mapsforge_style/MOI_OSM.xml' |
166 | alias data-rudymap-ele='curl -O http://moi.kcwu.csie.org/osm_elevations/ele_taiwan_10_50_100_500_marker-2019.7.o5m' | ||
166 | alias data-osm-diff="curl https://planet.openstreetmap.org/replication/minute/state.txt |\ | 167 | alias data-osm-diff="curl https://planet.openstreetmap.org/replication/minute/state.txt |\ |
167 | sed -n 2p | cut -d'=' -f2 | sed -r 's/(.{1})(.{3})/00\1\/\2\//' |\ | 168 | sed -n 2p | cut -d'=' -f2 | sed -r 's/(.{1})(.{3})/00\1\/\2\//' |\ |
168 | xargs -I {} echo -e https://planet.openstreetmap.org/replication/minute/'{}'.osc.gz |\ | 169 | xargs -I {} echo -e https://planet.openstreetmap.org/replication/minute/'{}'.osc.gz |\ |
@@ -59,7 +59,7 @@ vnoremap // y/\V<C-R>=escape(@",'/\')<CR><CR>'") | |||
59 | " S&R | 59 | " S&R |
60 | nnoremap <leader>; :%s:::g<Left><Left><Left> | 60 | nnoremap <leader>; :%s:::g<Left><Left><Left> |
61 | vnoremap <leader>; :s:::g<Left><Left><Left> | 61 | vnoremap <leader>; :s:::g<Left><Left><Left> |
62 | cnoremap ;\ \(\)<Left><Left> | 62 | cnoremap \\ \(\)<Left><Left> |
63 | 63 | ||
64 | " Fix paste bug triggered by inoremaps | 64 | " Fix paste bug triggered by inoremaps |
65 | set t_BE= | 65 | set t_BE= |