There is also atool with aunpack command. Not only it handles different types, it also creates a directory for extracted files if there are more than one in the archive root.
What about git push --delete remote-name branch-name? Not that obscure even if you don't know the internals.
If that's only about difference in x flag, that's easier to use
chmod -R u=rwX,go=rX .That is, using capitalized X. It means setting executable flag for directories only or if x is already set.
man chmodWhen I use something different from JS and CSS and compile them into JS and CSS, I stick to something like this (but then again, it depends on the project):
root/
    src/
        coffee/
            index.coffee
        stylus/
            index.stylus
    public/
        js/
        css/
        img/
        index.htmlBy the way, here's the generic version of config (doesn't not error if option is not present):
if exists('&colorcolumn')
    set colorcolumn=80
endifThere is more intuitive
git push --delete origin branch_namein git for several versions already.
I'm pretty sure this doesn't work in vi. Vim >= 7.3 only.
@sheerun True, but %f isn't interesting, it is passed anyway so that file is opened. What might be interesting is %lm or %lt. In case you want to use them, then yes, LESSEDIT it is.
Sometimes it is better to
exec $SHELLFor example if you deleted some wrong aliases, they won't be unset by sourcing a new rc file. But a fresh shell won't have them.
Standard VISUAL and EDITOR variables usually have this covered.
If you don't need whatever you did in your local master branch, I think this is simper (you don't need to delete your temporary branch afterwards):
git fetch remoteSource
git reset --hard remoteSource/masterThe third way
:26s/modesl/models/On line 26 substitute modesl for models.
If you're running Vim 7.3 (or better) you can use set colorcolumn=80 which draws the vertical bar at this column. It lets you easily see the desired text width.
To gracefully support older Vims, use:
if exists('&colorcolumn')
    set colorcolumn=80
endifTo change the color, use ColorColumn highlight group.
On Linux you're better of with pgrep which is less error prone and has many nifty options (like searching by user, too).
It is installed on all Linux distros I've seen so far, maybe even BSDs, but not on OS X.
Achievements
604 Karma
46,461 Total ProTip Views
 
Komodo Dragon
 
Altruist
 
Mongoose
 
Velociraptor
 
Forked
 
Kona
 
Epidexipteryx
 
Raven
 
Walrus
 
Python 3
 
Charity
 
 
By default Vim uses
cryptmethod=zipwhich is not really secure. If you actually want to use Vim as your password manager, this is an essential setting in your.vimrc: