Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah I rebind keys and write my own functions. I have a preference for distilling things that I use out of plugins[0] and into just vanilla vim (I still use plugins). I'll share my configurations[1]. I don't document it well btw and there's frequently changes. But I find that looking at others rc files many times gives me ideas that I hadn't seen before. Also, if you have any suggestions I'd love to hear them.

[0]see my git rebindings instead of using tpope's plugin

[1]https://github.com/stevenwalton/.dotfiles



Awesome! Here's mine. I am busy atm but I will circle back and tell you my favorite tricks.

Read my README for most of my favorite tricks.

https://github.com/9mm/dotfiles

Things that come to mind

- ZSH-autocomplete is probably by far my favorite thing ever - iterm3 full overlay with <C-i> means that i have a full overlay terminal immediately available no matter what im doing. No messing with stupid windows - i made my own custom theme etc you can check out

Vim favorite things

- `gx` opens the current URL under the cursor in your browser - `gq` for word rewrapping comments on the fly - `Bda!` look in my .vimrc for Bda! which deletes all open buffers, useful when youre working and have 40 open buffers you forgot about and want to start fresh

I'll think of more later!


I forgot to mention these are also critical to know, because they apply to pretty much everywhere in OSX (even inside chrome address bar, terminal, plain text areas like the HN reply box, etc):

c-f Move forward

c-b Move backward

c-p Move up

c-n Move down

c-a Jump to beginning of line

c-e Jump to end of line

c-d Delete forward

c-h Delete backward

c-k Delete forward to end of line

c-u Delete entire line




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: