yochiyochirb / vimrc Goto Github PK
View Code? Open in Web Editor NEWRuby/Rails-community-driven vimrc and aimed to help you to experience Vim in easy and comfortable ways.
Ruby/Rails-community-driven vimrc and aimed to help you to experience Vim in easy and comfortable ways.
経緯は #4
ある程度しっかり管理したいとはいえ、(所詮?) 設定ファイルで致命的なバグがあってどうのという話ではないので、PR が溜まることをまず第一に避けるべくマージはゆるく行きたいと思います。
暫定で勝手に決めちゃいますが、一旦これで様子見で行きます。意見あればください。
vim を含むさまざまな環境がなぜだかおかしくなってしまったので、いったん設定をすべてしなおして install スクリプトを実行したところ
ln: /Users/yucao24hours/.vim: File exists
となって install スクリプトが終了してしまった。
/Users/yucao24hours/.vim
は、以前このリポジトリを利用しはじめたときに同じスクリプトを実行して設定されたものがあったのでエラーの出方は間違っていないのだけど、既にあって且つバックアップもとれているならシンボリックリンクも消してしまってもいいのかな、と思いました。
ただ、既にあるものを安易(?)に消すことがはたしていいことなのかは判断しきれないので、使う人がエラーメッセージを見て消してから再実行する、でもかまわないと思います。
ひとまず現象の報告まで。
wakatime/vim-wakatime を入れたいのですが、データが送られて困る人もいそうなので、有効無効を切り替えられる用にしようと思っています。なのでデフォルトは無効。
特定のpluginの有効無効の切り替えで以下の方法を考えています。どちらがいいか or 別の案があれば意見下さい
A. 環境変数を使う
# exec vim
$ ENABLE_WATATIME=1 vim
# .vimrc
if $ENABLE_WATATIME == 1
Plug 'wakatime/vim-wakatime'
endif
B. フラグ用のファイルを用意する
# .vimrc.env
let g:enable_wakatime = 1 # if no use, comment out this line
# .vimrc
source .vimrc.env # first line
...
if exists("g:enable_wakatime")
Plug 'wakatime/vim-wakatime'
endif
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.