504 reputation
412
bio website
location Germany
age
visits member for 2 years, 11 months
seen Aug 11 at 8:24

Dec
15
comment Removing the useless space at the end of the right prompt of zsh ($RPROMPT)
Thanks for posting the link. Looking forward to the next release!
Nov
2
comment Vim: auto-comment in new line
I accepted your answer because you were very helpful! I want to improve on this steadily, so I made it a plugin and hosted it on Github github.com/padde/UncommEnter.vim. It fixes the remapping problem (caused by Pope's Endwise plugin). You're probably right that &commentstring may not be the way to go. I will search for alternatives. Thanks for all the effort!
Nov
2
comment Vim: auto-comment in new line
Works great, except: The languages I mentioned were only examples, it should work with any language. I implemented this with &commentstring, see my own answer. Unfortunately, Vim won't let me remap <CR> for reasons i do not understand. Other mappings, e.g. <CR><CR> work fine. Would you maybe know where to look for errors?
Nov
1
comment Vim: auto-comment in new line
I mean in C it should match // and /* and * (multiline comments) and in ruby # and so on
Nov
1
comment Vim: auto-comment in new line
Thanks looks great! Will try when i get home. Do you know a way to extend the regex to match comment markers language independently? The information should be there in the syntax files or something. Maybe i can leverage the syntax feature for this...
Nov
1
comment Vim: auto-comment in new line
Ok this has another problem, it will prevent adding any newline if the line is empty. A general solution is to use <Esc>S inside the mapping which will not delete the line if it is empty.
Nov
1
comment Vim: auto-comment in new line
I tried inoremap <CR><CR> <CR><C-u> but the delay is very annoying, unfortunately :(
Nov
1
comment Vim: auto-comment in new line
Well additionally, it should only trigger if the commented line is empty. A noticeable delay when hitting <Enter> is also unacceptable.
Nov
1
comment Vim: auto-comment in new line
@EtanReisner that's actually better, but still one keystroke too much for me since it is such a common use case :)
Nov
1
comment Vim: auto-comment in new line
I actually want Vim to add the comment markers for me, I love this. But i also want a quick way to exit the comment. Thanks for your answer though.
Oct
30
comment Tmux copy-pipe with mouse selection
Thank you for the detailed explanation, I consider this the perfect answer! Maybe I will file a feature request for this.
Aug
25
comment Make Time Machine stop opening a new window when backing up
Had the same issue, this solved it. +1
May
8
comment tmux exits with [exited] on mac os x
+1 Thanks a ton! I had exactly the same issue. Do you know any way to set options conditionally so it won't fail on a system that doesn't have reattach-to-user-namespace installed?
Jan
24
comment Mercurial: how to show branches in autocompletion
Where do i find the zsh completion function so i can patch it? I could only find bash completion...
Jan
24
comment Mercurial: how to show branches in autocompletion
What a pity :(. Thanks, so far!
Oct
27
comment (Mac)VIM disable NerdTREE for new and single files
See my edit, no config at all. Just including it via pathogen.
Apr
28
comment oh-my-zsh history completion
yes i do, but it is not only for git, all commands are completed this way.
Sep
13
comment Shell Window within Textmate
I know that command, but thanks :). What i actually want is a shell window to make textmate kind of an 'IDE'. I often find myself switching between textmate and iterm, for things like rails development. Therefore, i thought that it would be very handy to have a built-in shell...
Sep
5
comment Shell Window within Textmate
I already use the 'Missing Drawer' which has a Button for opening the selected Folder in my favourite Terminal, but +1 for the Keystroke ;)