One text editor I have always wanted is a word processor with first class vim keybindings support. I don't need too many fanciful features but the most important features would be proper text reflowing and vim integration. Vim doesn't do too well with reflowing text when a hard margin is set, nor when there a single digital line is stretched across several visual lines. Vim by default would treat it as a single digit…
I had the same problem and I added the following lines to my vimrc to fix the movement issues. noremap j gj noremap k gk http://vim.wikia.com/wiki/Move_cursor_by_display_lines_when_...
Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
21–30 of 52 posts
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#22For me, the speed of rendering is fantastic. But, the TexRoman font, the lack of lockstep scrolling, and the non-compartmental MathJax rendering causing the entire document to flick-around when making any edits makes this non-feasible for documents > 1 page. I'm also a sucker that needs inline sequence diagrams for my documents. For now, for me, hackmd.io is king... but, maybe that will change.
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#23For me, the most satisfying markdown editor is Typora( https://typora.io/ ), which doesn't need a separate preview pane to show the rendered contents. But I haven't tried the Math support of it yet. After using Typora for a long time, I really don't think a separate preview is that necessary.
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#24This is very neat! It made me think of hackmd.io which offers similar features though maybe less minimalist/distraction free but with collaboration. Thanks for sharing!
I just tried hackmd.io and even if it's cool, it wouldn't be usable for me on everyday use because it's not responsive enough: write some text, wait 0.5sec to see it in the preview, write some text, wait 0.5sec to see it in the preview, etc.
Also it's not "LPWP" enough for me (i.e. the first page that you visit on the website is the page where things actually happen, that means that there is no welcome page or login page). See https://github.com/josephernest/writing#why-another-markdown...
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#25I'm so glad it uses Computer Modern, and supports \align environments etc. I know the latter is just MathJax, but Computer Modern is a detail that every other Markdown/LaTeX mix has forgetten, and it shows.
Funnily the math it renders doesn’t use Computer Modern at all.
@font-face {
font-family: texroman;
src: url(cmunrm.otf); /* https://tex.stackexchange.com/a/267197/27733 */
}
And a spot check of some of symbols in the rendered math seems to prove it is Computer Modern.Funnily for me, just today I was telling a colleague how I'm happy to see math textbooks that aren't in Computer Modern.
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#26For me, the speed of rendering is fantastic. But, the TexRoman font, the lack of lockstep scrolling, and the non-compartmental MathJax rendering causing the entire document to flick-around when making any edits makes this non-feasible for documents > 1 page. I'm also a sucker that needs inline sequence diagrams for my documents. For now, for me, hackmd.io is king... but, maybe that will change.
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#27Nice update speed. But the font in the preview panel looks really blurry -- both regular and bold...
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#28Earlier quoted context omitted.
I had the same problem and I added the following lines to my vimrc to fix the movement issues. noremap j gj noremap k gk http://vim.wikia.com/wiki/Move_cursor_by_display_lines_when_...
This is not flesh out, but it does support vim keybindings. http://ivanceras.github.io/spongedown-editor/
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#29Earlier quoted context omitted.
Funnily the math it renders doesn’t use Computer Modern at all.
What do you mean? At https://josephernest.github.io/writing/ it includes cmunrm.otf: @font-face { font-family: texroman; src: url(cmunrm.otf); /* https://tex.stackexchange.com/a/267197/27733 */ } And a spot check of some of symbols in the rendered math seems to prove it is Computer Modern. Funnily for me, just today I was telling a colleague how I'm happy to see math textbooks that aren't in Computer Modern.
The only reason it's still used in CS papers is a persistent blend of hero worship (it's by Knuth!), implementation fetishism (it's a Metafont!), and plain old cargo cult.
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#30It seems like the \pagebreak is not respected when printing on Safari (Chrome works fine). The preview shows a dotted line but the printed pdf is not broken.
Also, the footnotes are not on the correct page but always at the end. (This is on all browsers)