Sure, Emacs does AucTeX better, but until it does everything better (or Vim does everything better) it's a flawed editor. So overall, both editors have huge issues that would require serious overhauls or tedious bug fixing in various modes. But some lower-level issue in Vim causes this constant error message in Vim whenever YouCompleteMe uses clang - bloody annoying. Vim has YouCompleteMe, which is smooth as silk compared to Emac's options (which are painful and poorly integrated, especially with clang). Vim-R-Plugin is useful, but it's sort of a painful hack to use tmux just to get R and Vim to talk (and I'm saying this even though I love Tmux). Rnw file) in between LaTeX blocks that are fully connected to AucTeX, well. In general, if you want flawless R support in certain blocks of text (as in a. The feature's entirely lacking in Vim AFAIK, and poly-mode in R uses a high level hack that (1) doesn't play well with other modes (including evil) and (2) has so thoroughly destroyed my documents in the past I refuse to use it now (mostly because it uses many buffers behind the scenes, which destroys undo history). First, there's too little ability to switch between modes within a single buffer in both Vim and Emacs. Frankly, for what I do most (R, R+knitr, C++ with clang autocomplete), no single editor is great. I used Emacs for years, switched to Vim because of RSI, then recently switched back to emacs+evil. I hate the best editor debate because I think it's distracting from what's more important - what both editors can learn from each other and what both need to do to improve.
#LATEX EDITOR WINDOWS EMACS KEYBINDINGS CODE#
I'm talking about built-in features, not the ability to code up the features myself. But I think that's because most emacs users don't know what they're missing.Īnd before someone says it, yes, I know yasnippet gives you the ability to embed eLisp code in it, so I could potentially write all the functionality I need myself. This comparative lack of features in yasnippet is pretty surprising, because emacs extensions are usually very feature rich, and everyone seems to love yasnippet. There are tons of other examples of far more advanced functionality, such as a variety of snippet repetition and embedding features. This is pretty annoying, especially for long snippet names.
#LATEX EDITOR WINDOWS EMACS KEYBINDINGS FULL#
In yasnippet, you have to type out the full snippet name before it can be expanded. Just a simple example is that in xptemplate (and probably any respectable snippet plugin in vim) you can type a part of a snippet name, hit TAB, and it will expand the snippet whose partial name you typed (assuming there's no exact match). Xptemplate has a bazillion features, and yasnippet is primitive in comparison.
My main gripe with yasnippet is that its feature list is pretty lackluster compared to some advanced vim snippet plugins like xptemplate.