You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
This is based off of the indentation script for ruby which is well written and fast. It is nearly perfect but will sometimes miss edge cases. It usually recovers those errors at the end of a block though, so overall even very long files will be largely correct. Please fork this project at http://github.com/pangloss/vim-javascript to help make it even better. This script includes Yi Zhao's javascri
以前作った vim script この記事(http://la.ma.la/blog/diary_200609280045.htm)を参考に、MozLab(http://dev.hyperstruct.net/trac/mozlab)のMozReplを使って、Vimでファイル(*.html,*.htm,*.js,*.css)保存時にFirefoxをリロードするVimスクリプトを作ってみた。 を修正して、 vim が ruby, python, perl のいずれかが使えるようにコンパイルされていれば動作するようにしました。 どれも使えない場合は個別のスクリプトファイル(*.rb, *.py, *.pl)を使って動作させます。どれを使うかは reloadfirefox.vim を修正して選べます。(デフォルトは *.rb ) reloadfirefox.vim if exists('g:re
二年前に SpiderMonkey 使って perl で簡単な Syntax チェック用の Script を書いてみた 改訂版 と言う記事を書いたのですが、部下に JS を教える為に環境構築していたら、Perl Module の JavaScript と JavaScript::JSLint のテストが通らずイラっとしたので、jslint: The JavaScript Verifier で配布されている fulljslint.js を流用してコマンドを作って Vim から使えるようにしたのでメモを残します。 fulljslint.js の設置 適当にダウンロードしておく。 % mkdir -p ~/bin/js % curl http://www.jslint.com/fulljslint.js > ~/bin/js/fulljslint.js fulljslint.js のラッパーを作
昨日、Operaが最強になった日というエントリを書いたけども、一つだけ不満があった。 というのも、クイックリンクは数字キーを押すとデフォルトでその動作をしてしまう。 (1、2でタブの切替など) どうせ、fしか使わないので、ちょっと書き直してみた。 あと、新しくウインドウ開くのがウザイので、同じウインドウ内で開くようにした。 f用 Go to page,"javascript:var bgcolor = '#FF0';var color = '#000';var hintlist = new Array();var hintedlinks = new Array();var map = new Array();var mapindex = 0;var choice = '';var keycodemapping = {'48':'0','49':'1','50':'2','51':'3','
Firefox拡張:FirefoxをVim風のキーバインドで操作するVimperator | OSDN Magazine Vimperator // Vimperator LDRとかはてブみたいに、サイトでキーボードショートカットが割り当てられている場合は、"I"を打ってVimperatorのキーバインドを解除して使えばいい。 あと、Firebugの為に、:set guioptions=sでステータスバー出しておく。 もうmozlessいらない。 あと、 :js <<EOS alert(1); alert(1); EOS みたいな感じで、jsをeval出来たり。 :set nobeepもしておいた方がいいかな?
Hi JavaScript and VIM funs, If you want to use VIM to edit/view the JavaScript files, you should have this one. Replace it with the javascript syntax file included with the VIMRUNTIME. Why it is here: Because I found that the originaly one which packed with the VIMRUNTIME didn't work very well for the JS files in Mozilla Browser/SeaMonkey/Firefox and Dojo. So I decided to some refine on it. Hope i
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く