This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/ansi.c b/src/ansi.c | |
index d88e153..fc42a0a 100644 | |
--- a/src/ansi.c | |
+++ b/src/ansi.c | |
@@ -1493,8 +1493,24 @@ int c; | |
{ | |
if (curr->w_stringp >= curr->w_string + MAXSTR - 1) | |
curr->w_state = LIT; | |
+# ifdef UTF8 | |
+ else if (c < 0x80) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fizz = function f() { | |
fizz = function () { | |
fizz = function () { | |
fizz = f | |
return "Fizz" | |
} | |
} | |
} | |
buzz = function f() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! s:ITerm2Copy() range | |
let l:tmp = @@ | |
silent normal gvy | |
let l:selected = @@ | |
let l:i = 0 | |
let l:len = strlen(l:selected) | |
let l:escaped = '' | |
while l:i < l:len | |
let l:c = strpart(l:selected, l:i, 1) | |
let l:escaped .= printf("\\u%04x", char2nr(l:c)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
my (%sequential, %random); | |
my ($type, $blocksize, $ratio, $iodepth, $header); | |
while (my $line = <STDIN>) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ANSIColor=0,7,54,66, 1,203,75,22, 2,88,110,117, 3,101,123,131, 4,131,148,150, 5,108,113,196, 6,147,161,161, 7,253,246,227, 8,0,43,54, ,220,50,47, 10,133,153,0, 11,181,137,0, 12,38,139,210, 13,211,54,130, 14,42,161,152, 15,238,232,213 | |
; Solarized Dark | |
VTColor=131,148,150,0,43,54 | |
VTBoldColor=147,161,161,7,54,66 | |
VTBlinkColor=133,153,0,0,43,54 | |
;VTReverseColor=0,43,54,131,148,150 | |
VTReverseColor=101,123,131,253,246,227 | |
URLColor=181,137,0,0,43,54 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vcs_info 設定 | |
RPROMPT="" | |
autoload -Uz vcs_info | |
autoload -Uz add-zsh-hook | |
autoload -Uz is-at-least | |
autoload -Uz colors | |
# 以下の3つのメッセージをエクスポートする |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
foreach (<stdin>) { | |
# DCS/OSC/SOS/PM/APC | |
$_ =~ s/\x1b[P\]X\^_].*(\x07|\x1b\\)//g; | |
# CSI | |
$_ =~ s/\x1b\[[\x30-\x3f]*[\x20-\x2f]*[\x40-\x7e]//g; | |
# single shift |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -cr vim.ba8835947b8b/runtime/doc/options.txt vim/runtime/doc/options.txt | |
*** vim.ba8835947b8b/runtime/doc/options.txt 2013-02-10 14:03:58.000000000 +0900 | |
--- vim/runtime/doc/options.txt 2013-02-10 14:03:58.000000000 +0900 | |
*************** | |
*** 699,704 **** | |
--- 699,709 ---- | |
when the system locale is set to one of CJK locales. See Unicode | |
Standard Annex #11 (http://www.unicode.org/reports/tr11). | |
+ Vim may set this option automatically at the startup time. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r e56bf2af53c0 src/os_unix.c | |
--- a/src/os_unix.c Wed May 15 23:13:10 2013 +0200 | |
+++ b/src/os_unix.c Tue May 21 00:04:11 2013 +0900 | |
@@ -2190,6 +2190,7 @@ | |
|| STRNICMP(name, "kterm", 5) == 0 | |
|| STRNICMP(name, "mlterm", 6) == 0 | |
|| STRNICMP(name, "rxvt", 4) == 0 | |
+ || STRNICMP(name, "screen", 6) == 0 | |
|| STRCMP(name, "builtin_xterm") == 0); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let &t_ti = &t_ti . "\e[?6h\e[?69h" | |
let &t_te = "\e[?69l\e[?6l" . &t_te | |
let &t_CV = "\e[%i%p1%d;%p2%ds" | |
let &t_CS = "y" |