| gnuvince | ehird: Emacs refugee? |
| ehird | gnuvince: I didn't actually use Emacs for that long, but shells and all OS X text controls use ^A and ^E so i use them all the time s/shells/shells at default configs, which i happen to use |
| gnuvince | okay. but yeah, those are Emacs keybindings. |
| shl | terver: that was a cool puzzle. this channel beats sudoku any time :) |
| ehird | yeah |
| terver | where i can find all ex-commands? for example what excommand for 'O'? first thing i thought of - add empty line before every ' ' and then format using default vim paragraph feature |
| Zathrus | terver: :he ex-cmd-index |
| ehird | what's the option to enable auto-insertation of matching bracces, etc? so: type ", "" appears with cursor in between same with ( --> (|) where | = caret, etc { too (if it could enter+indent after the { too without writing a complex function that'd be cool too) |
| Zathrus | ehird: there is none. You can create abbreviations or imaps to do it if you want. |
| simon | terver, thanks! |
| shl | that shit always distracts me. I think netbeans does that right? |
| gnuvince | dejavu++ |
| shl | gnuvince: ? |
| gnuvince | shl: a lot of IDEs. I know Zend Studio for PHP does it. shl: the font. |
| shl | oh, ok. |
| ehird | lots of plain editors do it too personally, it saves me years of typing |
| shl | *cough* bullshit *cough* |
| action | gnuvince agrees with shl. |
| gnuvince | agrees with shl. |
| Zathrus | shrug, to each their own. It'd drive me batty though. |
| ehird | is there a way to make commands execute in the dir of the current file? i.e. :e . would edit the dir of the current file, :!rm somefile would execute in the same dir, ... |
| shl | ehird: :lcd %:h |
| ehird | right but is there a way to do that without running it every 3 seconds :) |
| shl | ehird: I think there was something in the help about *always* doing it. but i don't remember if it was a autocmd or an option |
| Zathrus | ehird: :he 'autochdir --- as noted, it'll break many things. |
| ehird | why would it break things? |
| Zathrus | rtfm |
| ehird | This option is provided for backward compatibility with the Vim released with Sun ONE Studio 4 Enterprise Edition. <-- heh. anyway - it says it will break things not why |
| Zathrus | because many plugins, scripts, etc. don't expect the cwd to be changing like that. |