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…
Vim 7.4 is released
41–50 of 126 posts
Re: Vim 7.4 is released
#42I'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?
Edit: Safari reloads the existing tab, so set the default browser to Safari if you want that.
Re: Vim 7.4 is released
#43Earlier 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.
Re: Vim 7.4 is released
#44MacVim dont't have lion or moutain lion style native scrollbar still.
Re: Vim 7.4 is released
#45I love vim, but:- http://www.vim.org/ http://www.sublimetext.com/ Which one would you want to use?
Re: Vim 7.4 is released
#46MacVim 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
Re: Vim 7.4 is released
#47I love vim, but:- http://www.vim.org/ http://www.sublimetext.com/ Which one would you want to use?
Re: Vim 7.4 is released
#48https://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
#49I'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…
Re: Vim 7.4 is released
#50MacVim dont't have lion or moutain lion style native scrollbar still.
Are you sure? Check out my build: https://github.com/rcarmo/macvim/releases/tag/7.4
EDIT: link to fixed release.