Live data from Hacker News

Vim After 11 Years

statico.github.com

61–70 of 254 posts

Re: Vim After 11 Years

#62

Can vim do the following? I'm editing some project with 10000 C++ files. There is some C++ file I currently don't have open, say "palette.cpp" which is in a subdirectory "project/graphics/algorithms/color/". Now I want to open palette.cpp without ever having to type, not even with tab autocompletion, that path. IntelliJ (which I do use for C++ ;)) can do this easily: just press CTRL+R, then palette.cpp, ENTER, and th…

> if you change lines, it marks it with some color on the left

This is the feature that I miss the most in Vim, after working 5+ years in IDEs like Visual Studio. There are some Vim plugins addressing this (at least a year or so ago, when I searched), but nothing as elegant and seamless as in IDEs.

Re: Vim After 11 Years

#65

netrw comes by default. No need to install NERDTree.

Good suggestion. In the article, I failed to point out that the advantage of NERDTree is its hierarchal folder view. When a project's directory structure become gigantic it's useful to see the directory structure as you edit.

Re: Vim After 11 Years

#66
post #39

The author mentioned CtrlP for fuzzy filename matching. Its great because it's in pure Vimscript, but in my experience it becomes unusably slow for moderately sized projects. A month or two ago, I switched back to CommandT (requires Vim to be compiled with Ruby support, engine written in C) and haven't thought twice about it since then.

How large is "moderately sized" ?

Re: Vim After 11 Years

#67
post #39

The author mentioned CtrlP for fuzzy filename matching. Its great because it's in pure Vimscript, but in my experience it becomes unusably slow for moderately sized projects. A month or two ago, I switched back to CommandT (requires Vim to be compiled with Ruby support, engine written in C) and haven't thought twice about it since then.

[deleted]

Re: Vim After 11 Years

#68
post #40

Lots of people seem to declare ; or , to be useless keys and remap them. They're two of my most used movement keys in certain circumstances. I used to have , remapped to but switched back when I realised what I was missing out on. I'd advise anybody else to reconsider if they've made the same mistake I did.

I have the spacebar as my : doesn't clobber a useful mapping and much easier to hit than '\'.

Re: Vim After 11 Years

#69
post #17

> Emacs has a useful mode which highlights hexidecimal colors in CSS and SASS with the color represented by the text. http://www.vim.org/scripts/script.php?script_id=2937 > The biggest hole, however, is the lack of refactoring and smart completion. http://eclim.org/

Is there a nice sublime plugin for this perhaps? A very excellent idea.

LiveCSS.

Re: Vim After 11 Years

#70
post #9

Why do people keep suggesting iTerm2? The built-in terminal app on the Mac does Unicode and 256 colors just fine.

It's the little things which makes me use iTerm2

- easier to change the default darkblue to be readable on black - can configure double-click on filename behaviour (cmd+alt click in Terminal) - can have auto-copy-to-clipboard on selection

In short, it's more like terminal applications on other OSes I'm familiar with.

Post reply on HN