TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

VIM is the perfect IDE (at least for me)

8 pointsby allanmacgregorabout 8 years ago

2 comments

johncoltraneabout 8 years ago
About your &#x27;vimrc&#x27;…<p>* &#x27;set nocompatible&#x27; is useless.<p>* &#x27;syntax on&#x27; also does &#x27;filetype on&#x27;. Why enable something if you are going to disable it a few lines below? You should move that line to your &quot;Theme and Styling&quot; section.<p>* Why is &#x27;set nowrap&#x27; not in the &quot;Configuration Section&quot;?<p>* &#x27;set encoding=utf-8&#x27; is generally useless on Mac OS X. Your whole config is broken if you need it.<p>* &#x27;set backspace=indent,eol,start&#x27; is not an &quot;OSX stupid backspace fix&quot;; it&#x27;s needed <i>everywhere</i>. And… why is this setting not in the &quot;Configuration Section&quot;?<p>* &#x27;set ruler&#x27; is overridden by your &quot;fancyline&quot; plugin so it&#x27;s useless.<p>* &#x27;set t_Co=256&#x27; is useless, Vim can determine that on its own.<p>* &#x27;set background=dark&#x27; is also useless; your colorscheme already does that.<p>* Your whole &quot;Enable omni completion.&quot; section is useless; Vim already does all of that.<p>* &#x27;get(g:, &#x27;elite_mode&#x27;)&#x27; will always return &#x27;1&#x27; so you should simply keep your four mappings and scrap all that unnecessary configuration.<p>* &#x27;mapleader&#x27; and &#x27;maplocalleader&#x27; are not set anywhere, not sure what&#x27;s the point of a &#x27;&lt;localeader&gt;&#x27; mapping.<p>* Your PHP and Elixir autocommands should be in dedicated groups or, ideally, in proper ftplugins.<p>About your writeup…<p>* Vim&#x27;s built-in file explorer already does everything NERDTree does so why did you decide to add a second file explorer? Maybe you should explain that to your readers, don&#x27;t you think?<p>* Vim doesn&#x27;t do autocompletion to begin with so any kind of autocompletion is like steroids.<p>* Like with NERDTree, why Syntastic instead of the built-in &#x27;:help :make&#x27;?<p>* Vim is not your IDE; it&#x27;s the editor of your IDE.
评论 #14126467 未加载
评论 #14126425 未加载
arca_voragoabout 8 years ago
Emacs not even mentioned as an alternative tried?
评论 #14126646 未加载