I’ve encountered a formatting issue when I copy and paste Markdown content into Obsidian. It seems that a lot of empty lines are added, making the text look wonky. Does anyone else face this problem, and if so, how do you go about fixing it? I’d appreciate any tips or tricks to streamline this process.
On another note, I’m also curious if there’s a simple guide available for using Vim keybindings in Obsidian. If you have any recommendations or resources for using Vim keybindings in Obsidian, please share them!
Thanks in advance for your help.
The extra lines are probably the Markdown syntax converting existing formatting - a single line in rendered text are represented as double lines in markdown source. E.g. by default, copying html with single lines will convert to markdown, which represents them as double lines.
Try adding a shift to the paste command to paste without converting the formatting on text in the clipboard across to markdown. Or there’s a convert from HTML toggle in preferences under Editor.
Vim bindings, as far as I can tell is exactly as vim proper is - any vim cheat-sheet would get you started. However, if Obsidian has a hotkey set that collides with default vim bindings, it seems to pick at random either to do nothing or run the obsidian interface shortcut. Search your hotkeys and rebind if a vim command seems broken!
There is a vim mode in the settings of the editor. The only downside is, that the spell checking and correction is not working property then, because of the vim modes.