Live data from Hacker News

Vim 7.4 is released

vim.org

41–50 of 126 posts

Re: Vim 7.4 is released

#41

I've been digging deeper and deeper into vimscript and also scripting vim with python. It's so amazing what you can do with just a few lines of hacky vimscript! Today I made it so that every time I open a .markdown file, vim compiles it to html and opens it in my browser (using 'open' command on OS X). It also updates it automatically every time I save or leave insert mode. I've also hacked together a python REPL ins…

share the markdown code if you don't mind?

Re: Vim 7.4 is released

#42
post #41

I've been digging deeper and deeper into vimscript and also scripting vim with python. It's so amazing what you can do with just a few lines of hacky vimscript! Today I made it so that every time I open a .markdown file, vim compiles it to html and opens it in my browser (using 'open' command on OS X). It also updates it automatically every time I save or leave insert mode. I've also hacked together a python REPL ins…

share the markdown code if you don't mind?

This is VERY hacky, but that was kind of the point I was making. Hack together what you need! Here you go: http://pastebin.com/sPmPsCgY

Edit: Safari reloads the existing tab, so set the default browser to Safari if you want that.

Re: Vim 7.4 is released

#43
post #41

Earlier quoted context omitted.

share the markdown code if you don't mind?

This is VERY hacky, but that was kind of the point I was making. Hack together what you need! Here you go: http://pastebin.com/sPmPsCgY Edit: Safari reloads the existing tab, so set the default browser to Safari if you want that.

that is quite clever. works here too. any idea how you could convince firefox to reload the tab rather than creating a new one?

Re: Vim 7.4 is released

#44

MacVim dont't have lion or moutain lion style native scrollbar still.

I always disable scrollbars in my .vimrc. Fullscreen MacVim is wonderful! Sometimes I open up to 8 windows and jump between them. I found the scrollbars more of a distraction and nuisance than they were helpful.

Re: Vim 7.4 is released

#46
post #35

MacVim dont't have lion or moutain lion style native scrollbar still.

I turned them off completely. I found that the line numbers and file position in the status line was more than enough to get my bearings, and it looks nicer without the scrollbars. In ~/.gvimrc: " no toolbar set go-=T " no right scrollbar set go-=r " no left scollbar set go-=L

nice! thank you

Re: Vim 7.4 is released

#48
I've just updated my unofficial Mac OS X build (featuring alloy's native sidebar with a file tree):

https://github.com/rcarmo/macvim/releases/tag/7.4

It's a tad controversial, I know, but I find it vastly more friendly than NERDTree, and I know quite a few people were looking for alloy's builds a while back.

EDIT: screenshot, from an older build:

https://f.cloud.github.com/assets/392683/793013/469e0c62-ebd...

Re: Vim 7.4 is released

#49

I've been digging deeper and deeper into vimscript and also scripting vim with python. It's so amazing what you can do with just a few lines of hacky vimscript! Today I made it so that every time I open a .markdown file, vim compiles it to html and opens it in my browser (using 'open' command on OS X). It also updates it automatically every time I save or leave insert mode. I've also hacked together a python REPL ins…

I never looked into it much as i started with lisp just recently and also putting that info with your vimscript makes me love vim a lot more now. Thank you kind sir.
Post reply on HN