Skip to content

Instantly share code, notes, and snippets.

@saitoha
saitoha / screen.c.diff
Last active August 29, 2015 14:12 — forked from ttdoda/screen.c.diff
origin mode 無効時でもvsplitが動作するように
--- screen.c.orig 2013-06-15 17:29:09.000000000 +0900
+++ screen.c 2013-06-15 17:45:44.000000000 +0900
@@ -9020,6 +9020,7 @@
int j;
unsigned temp;
int cursor_row;
+ int cursor_col = 0;
int type;
int result_empty;
int can_ce = can_clear(T_CE);
@saitoha
saitoha / emoji-option.diff
Created February 28, 2016 16:10 — forked from mattn/emoji-option.diff
Emoji Support for Vim (with emoji option)
diff --git a/runtime/tools/unicode.vim b/runtime/tools/unicode.vim
index d733fe8..dfe9cef 100644
--- a/runtime/tools/unicode.vim
+++ b/runtime/tools/unicode.vim
@@ -251,6 +251,27 @@ func! BuildWidthTable(pattern, tableName)
wincmd p
endfunc
+" Build the amoji width table in a new buffer.
+func! BuildEmojiTable(pattern, tableName)