Skip to content

Commit 099cb98

Browse files
committed
better support for guifont
1 parent 5b55f0d commit 099cb98

File tree

6 files changed

+1072
-1048
lines changed

6 files changed

+1072
-1048
lines changed

LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Modified and tailored by Lu Wang for Vim.js
4040
MIT License
4141

4242

43+
4344
web/transform.js:
4445
decompiler.js from Narcissus is modified and included
4546
Copyright (c) 2013 Lu Wang <[email protected]>

web/usr/local/share/vim/vimrc

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,35 @@
11
" Default .vimrc for vim.js
2-
" By Lu Wang
2+
" Copyright (c) 2013 Lu Wang <[email protected]>
33

4+
" Use CSS font format
5+
" Use monospace fonts only!
6+
set guifont=12px\ monospace
7+
8+
" Only Darkside is available right now
9+
" Help me implement file system hooks (for loading external files)!
10+
colorscheme Darkside
11+
12+
" To save you from some warning messages
13+
" (I don't why swap files are not working)
14+
set noswapfile
15+
16+
" Obviously
17+
set nocompatible
18+
19+
20+
21+
" Others
22+
" Some are actually not yet supported
423
set go=
524
set ruler
625
set number
7-
set mouse=
826
set wildmenu
927
set tabstop=4
1028
set expandtab
11-
set noswapfile
12-
set smartindent
13-
set nocompatible
14-
set cindent shiftwidth=4
1529
set fileencodings=utf8
1630
set backspace=indent,eol,start
1731
set wildmode=longest,list,full
18-
1932
syntax on
20-
colorscheme Darkside
33+
set mouse=
34+
set smartindent
35+
set cindent shiftwidth=4

web/vim.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
border:0;
2828
margin:0;
2929
padding:0;
30+
line-height:1;
3031
}
3132
.vimjs-line span {
3233
white-space: pre;

web/vim.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
<div class="jumbotron">
4747
<h1>Vim.js</h1>
4848
<h2>JavaScript port of Vim</h2>
49+
<code>:e $VIM/vimrc</code>
4950
</div>
5051
<div id="vimjs-container" class="container">
5152
<div style="text-align:center">
@@ -61,7 +62,7 @@ <h3>Loading...(~1MB to download, ~4MB uncompressed)</h3>
6162
<br>
6263
<br>
6364
<div class="footer">
64-
<p class="text-muted">Last updated: Fri Dec 13 08:51:40 UTC 2013</p>
65+
<p class="text-muted">Last updated: Fri Dec 13 11:45:54 UTC 2013</p>
6566
<p>© <a target="_blank" href="http://coolwanglu.github.io/">Lu Wang</a> 2013</p>
6667
</div>
6768
</div>

0 commit comments

Comments
 (0)