Vim Advent Calendar 2012の102日目(2013-03-12)の記事です。
-
W,E,BでのWORD移動を文節単位にする jasegment.vimを作りました。
Vim Advent Calendar 2012の102日目(2013-03-12)の記事です。
W,E,BでのWORD移動を文節単位にする jasegment.vimを作りました。
Vim Advent Calendar 2012 の109日目(2013-03-19)の記事です。
Vimで文章を書いている際に、国語辞典や和英辞典などを引きたくなることがあります。
eblook.vimプラグインを使うと、購入してローカルにインストールしてある 広辞苑やジーニアス英和・和英などの様々な辞典を、
Vim Advent Calendar 2012の345日目(2013-11-10)の記事です。
普通のWindowsアプリにおいて、擬似的にViエディタのNormal mode編集操作を使えるようにするIMEを作りました。
| uname -a | |
| Linux colinux 2.6.33.7-co-0.7.9 #1 PREEMPT Sat Apr 9 20:30:51 UTC 2011 i686 GNU/Linux | |
| VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar 8 2014 09:55:01) | |
| Included patches: 1-192 | |
| Compiled by deton@colinux | |
| Huge version without GUI. Features included (+) or not (-): | |
| +acl +farsi +mouse_netterm +syntax | |
| +arabic +file_in_path +mouse_sgr +tag_binary |
| bind g command -c buffilt | |
| bind -c buffilt \\ eval writebuf screen 'stuff "scrbuf.sh rmwrap-emacs&&exit^M"' | |
| bind -c buffilt > eval writebuf screen 'stuff "scrbuf.sh rmwrap-vim&&exit^M"' | |
| bind -c buffilt + eval writebuf screen 'stuff "scrbuf.sh rmwrap-mutt&&exit^M"' | |
| bind -c buffilt ^E eval writebuf screen 'stuff "scrbuf.sh rmwrap-width&&exit^M"' | |
| bind -c buffilt $ eval writebuf screen 'stuff "scrbuf.sh picklastarg&&exit^M"' | |
| bind -c buffilt ' ' eval writebuf screen 'stuff "scrbuf.sh join-with-blank&&exit^M"' | |
| bind -c buffilt e eval writebuf screen 'stuff "scrbuf.sh edit&&exit^M"' | |
| bind -c buffilt g eval writebuf screen 'stuff "scrbuf.sh grep2l&&exit^M"' | |
| bind -c buffilt h eval writebuf screen 'stuff "scrbuf.sh rmhtmltag&&exit^M"' |
| ha121 u014b | |
| ha122 u00ca | |
| ha123 u2033 | |
| ha124 u00ec | |
| ha125 u2212 | |
| ha126 u02cc | |
| ha127 u00fa | |
| ha128 u00fc | |
| ha129 u01c1 | |
| ha12a - # ue003 not a valid unicode character |
| --- bdf2fontx.c.orig 2001-12-07 01:51:03.000000000 +0900 | |
| +++ bdf2fontx.c 2015-07-20 14:52:11.000000000 +0900 | |
| @@ -106,6 +106,9 @@ void bdfheader(char *name, int *width, i | |
| else if (match(coding, "jisx0208") == 0) { | |
| *type = 1; | |
| } | |
| + else { | |
| + *type = 0; | |
| + } | |
| break; |
| #!/usr/bin/perl | |
| # make jisx0208 or jisx0201 BDF font file from iso10646(unicode) BDF font file. | |
| use strict; | |
| use warnings; | |
| use Encode; | |
| # from cp932_roundtrip | |
| sub encode_ { | |
| my $unicode = $_[0]; | |
| if (#(0xe000 <= $unicode && $unicode <= 0xf8ff) || # private use area |
| diff --git a/bdf2fontx.c b/bdf2fontx.c | |
| index 816cfa6..b40a9a4 100644 | |
| --- a/bdf2fontx.c | |
| +++ b/bdf2fontx.c | |
| @@ -85,19 +85,20 @@ int match(char *s, char *t) | |
| "FONT -%[^-]-%*[^-]-%*[^-]-%*[^-]-%*[^-]--%d-%*d-%*d-%*d-%*[^-]-%d-%[^-]-%*s" | |
| /* jis fixed medium r normal 14 130 75 75 C 70 jisx0201 */ | |
| -void bdfheader(char *name, int *width, int *height, int *type) | |
| +void bdfheader(char *name, int *width, int *height, int *type, int *xoffset, int *yoffset) |
Eject Advent Calendar 2015の記事です。
会社の内線電話がMicrosoft Lync(Skype for Business)になったのですが、 スピーカからの着信音に気付かないことがあったので、 気付きやすくするために、着信時にDVDトレイを開くようにしてみました。