18

I really like Vim and its keyboard commands, but I need the formatting of Word 2011 (mainly because TextEdit only uses 1.25 in. margins, and I need 1 in.). How can I make Word's text-entry as Vim-like as possible?

9
  • 8
    Wow. Just wow. +1 for this poor, lost Linux soul. I hope he finds his way back home.
    – Joshua
    Commented Dec 14, 2011 at 2:48
  • (ok ok, I kid you maybe a little ;) )
    – Joshua
    Commented Dec 14, 2011 at 2:49
  • @bb010g: so all you want to fix is how the text from within vim is printed?
    – akira
    Commented Dec 14, 2011 at 9:16
  • 1
    try this viemu.com
    – user109508
    Commented Dec 14, 2011 at 9:31
  • 4
    Have you considered using LaTeX instead of Word? Commented Dec 15, 2011 at 5:17

4 Answers 4

3

If you really just need the 1" margins, follow @tonyk's advice: write in markdown, use pandoc to convert to ODT or RTF and open in Word or LibreOffice. Sure, LibreOffice is bleh, but it isn't bad if you are just using it to tweak final formatting.

Or just use pandoc's markdown2pdf to convert to PDF, and use a custom latex template with \usepackage[margin=1in]{geometry} in the preamble.

If you really want to use Word 2011 but make it feel like vim, you might try Quickcursor. Not sure what happens when things get complex, but should work with simple text.

3

One option would be to write your documents in Markdown, then use Pandoc to convert it to ODT, which you should be able to open and style in Word 2011.

2

KeyRemap4MacBook has four different vi "modes" that you can turn on to get some vi bindings in most applications. They each support different bindings (but are all basic compared to a real MacVIM/VIM editor). You can see the different bindings here. I personally use "Ubiquitous VIM Mode" on occasion to get Normal Mode commands like dd, dw, yy, etc.

Also, I haven't personally tried it, but viWord promises the basics using a Word template.

Note that ViEmu (someone listed it in the comments) is not available for the Mac.

2

The cross references below are also informative:

https://stackoverflow.com/questions/586355/vim-for-word-or-something-like-it?answertab=votes#tab-top

and

https://www.reddit.com/r/vim/comments/5s0kxh/word_processor_with_vimlike_shortcuts/

2
  • 2
    Just links to external content would be more appropriate as a comment. Link-only answers tend to attract downvotes.
    – fixer1234
    Commented Dec 29, 2018 at 6:52
  • just no........
    – vwvan
    Commented Nov 20, 2019 at 6:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .