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
core.clipboard.code-blocks does not work as described in wiki. It says that it removes the whitespace only in code-blocks, but it also removes it from table-block. It effectively prevents copy-pasting blocks in place.
I wanted to copy one column in my table and paste in to another column, but due to that module it pasted the column into new lines instead of in-place.
Example:
@table
| aoeu | aoeu | aoeu |
| copy | | aoeu |
| this | | aoeu |
| col | | aoeu |
| to | | aoeu |
| next | | aoeu |
| col | | aoeu |
@end
Outcome was this:
@table
| aoeu | aoeu | aoeu |
| copy | | aoeu |
copy
this
col
to
next
col
| this | | aoeu |
| col | | aoeu |
| to | | aoeu |
| next | | aoeu |
| col | | aoeu |
@end
Expected behavior
When copying blocks in table-section, I want to be able to paste the block in place, like copy-pasting parts of a column. Using the above example, I want the outcome to be like this:
@table
| aoeu | aoeu | aoeu |
| copy | copy | aoeu |
| this | this | aoeu |
| col | col | aoeu |
| to | to | aoeu |
| next | next | aoeu |
| col | col | aoeu |
@end
Steps to reproduce
Try to copy a column in-place in a table-block.
Potentially conflicting plugins
No response
Other information
As noted in discord discussion by vhyrro:
This seems like an issue with the paste functionality, less so with the yanking. Generally you'd want to trim whitespace from all sorts of @ ranged tags but also properly reformat it when pasting.
Help
None
Implementation help
No response
The text was updated successfully, but these errors were encountered:
nuhakala
added
the
bug
Issues related to bugs. Please attach a severity, a priority and category with this label.
label
May 17, 2024
Prerequisites
Neovim Version
0.9.5
Neorg setup
Actual behavior
core.clipboard.code-blocks
does not work as described in wiki. It says that it removes the whitespace only in code-blocks, but it also removes it from table-block. It effectively prevents copy-pasting blocks in place.I wanted to copy one column in my table and paste in to another column, but due to that module it pasted the column into new lines instead of in-place.
Example:
Outcome was this:
Expected behavior
When copying blocks in table-section, I want to be able to paste the block in place, like copy-pasting parts of a column. Using the above example, I want the outcome to be like this:
Steps to reproduce
Try to copy a column in-place in a table-block.
Potentially conflicting plugins
No response
Other information
As noted in discord discussion by vhyrro:
Help
None
Implementation help
No response
The text was updated successfully, but these errors were encountered: