This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Specification
Takayuki Kamiyama edited this page Oct 6, 2022
·
60 revisions
※ 日本語 (正式名:まっすぐ、開発名:ゴースト)
totolotとは違い、go_straightは自分以外の変更を受け付けません。
issuesはありません、PRは拒否します。
※ 英語
Unlike totolot, go_straight does not accept changes other than its own; it rejects all PR.
※ deopleteでRuby辞書補完の最小構成です
※ 日本語
すべては自分の開発スタイルのためです。
※ 英語
It's all about my development style.
1x.2x.3x.4x.5x
1. 正式番号
2. 機能追加や正式手前の番号
3. Fix対応や高速化などの修正を含んだ番号
4. 最適化や細かい修正などの番号
5. 動作確認やエラー対応番号
→ 最新は更新した日付です。
・ Python3で機能追加できそうなことを試す
・ 特微量エンジニアリングを意識する
・ Rubyを書きやすく変更する → requireできるファイルパスを辞書に追加しました。
・ sortとitemgetterを使用することで高速化を図りました。
・ 読み込む辞書のファイルはCSV形式に限定しました。(エクセルなど表計算ソフトで管理するためです。)
※ pandasとdaskで並列分散処理を取り込み → 分散数を1からコア数に変更しました。
※ ruby-dictionary3の依存をなくした。後日、手動でPATHを設定できるように変更しました。
C:\Python3\python.exe -m pip install --upgrade pip
[[plugins]]
repo = 'takkii/go_straight'
build = 'ruby install.rb'
repo = 'takkii/config'
[[plugins]]
repo = 'takkii/go_straight'
repo = 'takkii/config'
Plug 'takkii/go_straight', { 'do': 'ruby ./install.rb' }
※ plugin installにdaskを含めました。すでにプラグインが入っていれば要りません。
~/.vim/.cache/dein/
~/.vim
~/.cache/dein
~/.config/nvim/.cache/dein/
~/.config/nvim/
※ 公式を参考にdeinを設置してください。
cd $HOME
git clone https://github.com/takkii/go_straight.git
.vimrc
set runtimepath^=~/go_straight
辞書探し、(GitHub_version: v1.3.3 ~)
※ カスタム辞書(例:ruby-dictionary3)へPATHをつなぐことができるようになりました。
# デフォルトの辞書 ($HOME/config)
cd $HOME
git clone [email protected]:takkii/go_straight.git
cd go_straight
ruby install.rb
# デフォルトの辞書 ($HOME/config)
cd $HOME
git clone [email protected]:takkii/go_straight.git
cd go_straight
ruby uninstall.rb
# 設定ファイルの場所は固定($HOME/config)
cd $HOME
curl https://raw.githubusercontent.com/takkii/go_straight/main/install.rb > install.rb
ruby install.rb
rm install.rb
# アンインストーラ (installer.rb / 削除処理実行)
cd $HOME
curl https://raw.githubusercontent.com/takkii/go_straight/main/uninstall.rb > uninstall.rb
ruby uninstall.rb
rm uninstall.rb
※ ($HOME/config/load.yml) コメント内、設定例を追加したので各自カスタマイズできる。
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
CFLAGS="-I$(brew --prefix openssl)/include" LDFLAGS="-L$(brew --prefix openssl)/lib" pyenv install -v 3.10.7
※ これでインストールできる。バージョンを変えてもよい。
takayuki kamiyama is listed as a Vim sponsor
Copyright © 2021-2024 Takayuki, Kamiyama.