This rocks! Except I get this error:
Vim: Warning: Input is not from terminal.
And then my terminal gets really messed up after I exit vim. This works better for me (bash):
vi $(git diff --name-only --diff-filter=U)
I made the following alias in my git config:
do = !"vim $(git diff --name-only)"
Thanks @konstantin. vim-css-color looks awesome. I've been avoiding that zencoding thing for a while. I should probably learn to use that.
Lots of people say Vundle is better but I prefer Pathogen. I don't see the advantage of Vundle. Also I'm already using submodules in my repo because it has all my dotfiles in there. Using Vundle would just add commands I need to run in addition to the git submodule ones I'm already running.
Interesting. Wow and I thought I was way overthinking my dotfiles. :)
I have one set of dotfiles. Whenever a host needs something special, I create a .bashrc.local or .vimrc.local (or whatever) and source that. So far this has been good enough.
Also, I prefer to have symlinks in my home directory so I can edit them and use the changes now instead of first running a command to sync my home directory.
Even if I were to do this, I don't understand why vcsh chooses to use mr and multiple repos. Isn't a single repo enough? Maybe you have to be a sysops person to want this?
Clever. There is unix command that does this called 'watch'
watch -- du -h errorlog
(updated to correct mistakes)
tpope's vim-eunuch plugin has a :SudoWrite command:
https://github.com/tpope/vim-eunuch/blob/master/doc/eunuch.txt
Thanks! That does work.
Nice. I didn't know that. Btw 'upstream' only works on newer versions of git. Use 'tracking' if you are not on the latest git.
I can never remember this
I use this: inoremap jj <esc>
Nice. I didn't know that. You can do it in Chrome too.
Achievements
229 Karma
11,172 Total ProTip Views
![](https://coderwall.com/assets/badges/altrustic-fea3bde05a17a18ff6420dbd7a646cc4536c51f46db27536401e56bee0dc086a.png)
Altruist
![](https://coderwall.com/assets/badges/mongoose-299fb33af2a4e416505b484d73e79ee3ff1840f3c7385d6bbbc158f76be054cb.png)
Mongoose
![](https://coderwall.com/assets/badges/velociraptor-b40b0403f8d1440d76f05964955b1aab10f73b8ee6dc17bc195414f84defebca.png)
Velociraptor
![](https://coderwall.com/assets/badges/velociraptor3-2a2fd061d2177277fd22e90ac88af34d8de837c06b74d52e62e5b0cd42ec3512.png)
Velociraptor 3
![](https://coderwall.com/assets/badges/walrus-1f517cbbd8f030099b8386c53d4ee40fece3fa146b6362accb3abddb436482cb.png)
Walrus
![](https://coderwall.com/assets/badges/forked1-63f23ad054823f6065b4526f8552dbc2c4fbaa75d22db7150d700201218ac426.png)
Forked
![](https://coderwall.com/assets/badges/charity-bab6d575c53894cc9e395db7cdb1f0f91f176fa0cc8122c5f824e672f3d556a4.png)
Charity
![](https://coderwall.com/assets/badges/raven-35923a69492045dffe4dfe0d7ebf31da4e76efabbbdaa090acd59d17debb3087.png)
Cool, I like this. I didn't know about --since. I've also been trying to learn about my productivity through git. I wrote git-spark to plot my commit history over time on the command line. Now I want to add a --since option.