osyo-manga / vim-jplus Goto Github PK
View Code? Open in Web Editor NEWSmart line joint vim plugin.
Smart line joint vim plugin.
nmap J <Plug>(jplus)
を指定した状態で、
let @a='Jj'
のマクロを記録し実行したところ、jJ
したような動作になってしまういます 😢
qで記録しているときはうまく動作するのですが、実行すると動作が変わってしまいます。。。
1
2
3
4
5
の1から4までをvisual modeでlinewiseに選択した状態(つまりVで選択した状態)で<Plug>(jplus-input)
したとき、たとえば", "と入力した場合、
1, 2, 3, 4
5
ではなく、
1, 2, 3
4
5
となってしまうようです。
set formatoptions+=j
でコメント行を結合したときにコメントリーダーが削除されるようにした場合でも、jplus.vimを有効にしているとリーダーが削除されません。s:join(config)
を見た感じjplus.vim側で結合したものを現在の行と置換している?みたいなので、仕方ないのでしょうか?
結合文字に&を使用した場合に&が挿入されず、代わりに%dが挿入されてしまいます。
ざっと見たところsubstitute()でのデリミタのエスケープ漏れに思えます。
doc/jplus.jaxはあるもののdoc/jplus.txtがありません
行を結合する際に挿入する文字を入力して行の結合を行う。
|jplus.vim| concatenates lines by asking which character to insert between them when it concatenates lines.
任意のキーにマッピングして使用します。
Map them to keys that you prefer.
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.