News for hackers. Stuff that matters.
Re:Project VimR – Refined Vim experience for Mac by BSousa on Saturday May 03, 2014 @04:50PM (#7692300)
Hmmm. Why not MacVim: https://code.google.com/p/macvim/ ?
Re:Project VimR – Refined Vim experience for Mac by geedew on Saturday May 03, 2014 @04:56PM (#7692315)
This looks like it's a plugin to macvim; or at least a fork of it.
Re:Project VimR – Refined Vim experience for Mac by rjzzleep on Saturday May 03, 2014 @05:49PM (#7692458)
for those wondering what this is it's a proof of concept vim gui based on a embeddable macvimframework (mainly based on bjorn winklers macvim)[1]

it's great to see so much work on vim/neovim lately. while not related to the macvimframework idea, the author of ultisnips lately chimed in on the issue tracker of neovim. i think the end result of the discussion was that thiago was working on json-rpc now, wanted to implement a has('neovim') feature and move the python code running in an external thread. i can't find the issue right now.

i'm getting more and more annoyed with osx though. a cold boot on my 8gb macbook air has about 3gb of resident memory. redraws are extremely slow. iterm while much faster than terminal, is still just a textview which is slow, causing a lot of annoying flicker in vim terminal. it's gotten so annoying for me that i actually have a heavily patched dwm(i used to run awesome, but that's just annoying to setup in osx) with dwb browser, pidgin(yes, sadly otr in osx won't be fixed until adium 2.0 comes out, whenever that will be). and just general cmus/newsbeuter/mutt etc.

so why not just run linux on the macbook? if linux had a half decent gui toolkit that was as easy to use as cocoa(no not gtk) we wouldn't to switch to osx or windows all the time for utility applications.

[1] https://github.com/qvacua/macvim

Re:Project VimR – Refined Vim experience for Mac by comex on Sunday May 04, 2014 @12:02AM (#7693246)
Just on a few points:

- Using all available memory for buffer cache is a good thing, as long as the OS can immediately drop it if there are more urgent uses for the memory.

- I haven't used iTerm very much, but and because Terminal has always seemed snappier. I'm surprised you had the opposite experience.

Re:Project VimR – Refined Vim experience for Mac by keeperofdakeys on Sunday May 04, 2014 @01:31AM (#7693381)
Does he mean to include buffers? On linux, the term "resident memory" refers to memory that is explicitly not buffer cache. Or does OSX use this term differently?

One day, we may be able to use the same RAM terms across all major OSs.

Re:Project VimR – Refined Vim experience for Mac by perlpimp on Sunday May 04, 2014 @08:20AM (#7694028)
i think people are waiting on wayland to go public IMO.
Re:Project VimR – Refined Vim experience for Mac by hollerith on Sunday May 04, 2014 @01:27PM (#7695001)
I know I am (sticking with OS X until Wayland is mature enough).

There is no guarantee that Wayland is what Linux needs to persuade me to ditch OS X, but I'm certainly eager to try it out (when it is mature enough).

Re:Project VimR – Refined Vim experience for Mac by vgrichina on Saturday May 03, 2014 @05:58PM (#7692482)
For anyone interested in Vim-like editors with Mac UI, I suggest trying Vico – https://github.com/vicoapp/vico

It is completely native, supports TextMate bundles and is scriptable using Lisp dialect.

Re:Project VimR – Refined Vim experience for Mac by crashandburn4 on Sunday May 04, 2014 @06:07AM (#7693813)
I feel like I need to make the obligitory comment. If you want an editor that is scriptable with Lisp and supports Textmate bundles, and Vim keybindings; Emacs[0] + Evil mode[1] (Extensible Vi layer, it's great) + Yasnippet[2] (Yet annother snippet library, has textmate bundles).

I switched from vim to this setup a while ago and have to say I've been very happy with it. I like the advantage of having a full language to use and find the environment more customisable (maybe just because I never got fully comfortable with VimScript. That being said, I still use vim for quickly editing single files as you can't beat the startup time.

[0] http://www.gnu.org/software/emacs/

[1] https://gitorious.org/evil/pages/Home

[2] https://github.com/capitaomorte/yasnippet

Re:Project VimR – Refined Vim experience for Mac by wging on Sunday May 04, 2014 @06:41AM (#7693852)
"That being said, I still use vim for quickly editing single files as you can't beat the startup time."

Add (server-start) to your .emacs and keep a running emacs around long-term. Then you can edit single files quickly with emacsclient -t.

Re:Project VimR – Refined Vim experience for Mac by crashandburn4 on Sunday May 04, 2014 @06:54AM (#7693868)
Yeah, good point, I actually have:

  alias e='TERM=xterm-256color emacsclient -t'
  alias ec='emacsclient -c'
  alias ed='emacs --daemon'
in my .zshrc to do just that but for some reason I use vim anyway, due to it's omnipresence on every server box I go into and I suppose muscle memory of typing vim whatever_file_i_want_to_edit .
Re:Project VimR – Refined Vim experience for Mac by kirushik on Sunday May 04, 2014 @06:54AM (#7693867)
And even alias 'emacsclient -t' to 'vim' in shell, to keep one's existing habits of CLI editing.
Re:Project VimR – Refined Vim experience for Mac by girvo on Saturday May 03, 2014 @09:16PM (#7692975)
Vico is amazing, I'm currently working on contributing to it. Highly recommended, and it's simple to build too. Go get the version from GitHub, it's now open source and managed by the community.
Re:Project VimR – Refined Vim experience for Mac by relaxitup on Saturday May 03, 2014 @10:18PM (#7693086)
Yes, agreed Vico is quite excellent.
Re:Project VimR – Refined Vim experience for Mac by nimrody on Sunday May 04, 2014 @05:31AM (#7693773)
One of the key benefits of VIM is that it is available on so many platforms. So commands and plugins are useful on OS X, Linux and even Windows.
Re:Project VimR – Refined Vim experience for Mac by api_or_ipa on Saturday May 03, 2014 @07:22PM (#7692697)
what's wrong with vim in a terminal? I've never understood the appeal of a GUI based vim clone
Re:Project VimR – Refined Vim experience for Mac by aeroevan on Saturday May 03, 2014 @08:20PM (#7692836)
The main reason I use gvim is for better looking fonts and more colors.
Re:Project VimR – Refined Vim experience for Mac by pmoriarty on Saturday May 03, 2014 @09:43PM (#7693027)
Also, gvim has more potential keybindings available than vim running in a terminal.
Re:Project VimR – Refined Vim experience for Mac by retr0h on Saturday May 03, 2014 @10:32PM (#7693104)
Still not convinced. I'll take tmux and a non-gui vim any day of the week.
Re:Project VimR – Refined Vim experience for Mac by jaredmcateer on Sunday May 04, 2014 @11:57AM (#7694679)
Agreed, the ability to ^z out of the the editor into the shell to quickly run a command is a killer feature for me. True colors or a slicker ui would be nice but they're not critical to my work.
Re:Project VimR – Refined Vim experience for Mac by Haul4ss on Sunday May 04, 2014 @07:22AM (#7693920)
These kinds of projects are neat, but the reason I use vim on OS X is because it's the same editor I use on my FreeBSD server, and the same editor on all my Linux boxen at work. I'm used to it, and the experience is consistent.

I appreciate the attempt to make vim a better experience on Macs, but it comes at the detriment of being the identical experience across all platforms I use.

Re:Project VimR – Refined Vim experience for Mac by Blahah on Saturday May 03, 2014 @05:35PM (#7692424)
The name made me think it was about the vim plugin, vim-R for statistical programming. https://github.com/vim-scripts/Vim-R-plugin
Re:Project VimR – Refined Vim experience for Mac by influx on Saturday May 03, 2014 @09:26PM (#7692999)
Why would you put this under a different license than Vim itself?
Re:Project VimR – Refined Vim experience for Mac by sigzero on Saturday May 03, 2014 @09:34PM (#7693011)
And GPL3 at that...smh
Re:Project VimR – Refined Vim experience for Mac by justplay on Saturday May 03, 2014 @05:43PM (#7692447)
not sure but why this appeared in front page, i dont see anything special on it.
Re:Project VimR – Refined Vim experience for Mac by johncoltrane on Saturday May 03, 2014 @06:46PM (#7692616)
It has"mac", "vim", "redefine" and "experience" in the title.