Live data from Hacker News

Vim After 11 Years

statico.github.com

11–20 of 254 posts

Re: Vim After 11 Years

#13
I use nvi, and have tried to switch to vim a dozen or so times over the years. But there are so many irritating little quirks and misfeatures and annoyances that I can never manage to fix. Does anyone know of a guide to getting a sane, non-broken vim working with some basic plugins like syntastic? Last time I tried I couldn't bind F-keys for some reason, I couldn't get syntastic's error marking column to stay on instead of shifting my text back and forth all the time, I couldn't get auto-complete mapped to tab properly, and a few other things I can't remember now. I eventually gave up again as the extra functionality of vim ends up being counter-productive when none of it works right.

Re: Vim After 11 Years

#14

> 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/

> http://www.vim.org/scripts/script.php?script_id=2937

This one doesn't need gVim, with rgb() and rgba() support https://github.com/ap/vim-css-color

Re: Vim After 11 Years

#16
One of Vim’s strengths is that it starts lightning fast, so starting Vim from the terminal is trivial. With a modern, 256-color terminal like iTerm2 or Gnome Terminal, it will even look like gVim. But the best part is that you can drop into the command line at any time with Ctrl-Z, which suspends Vim, and your working directory is where you left off.

Is there any reason to do this instead of !sh within Vim to drop into a shell?

Re: Vim After 11 Years

#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.

Re: Vim After 11 Years

#18
post #9

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

iTerm2 has few other fancy features, like horizontal and vertical splitting or Guake-like top-down terminal [0].

[0] http://ivanvillareal.com/osx/setup-iterm2-to-behave-like-gua...

Post reply on HN