4,461
edits
Line 138: | Line 138: | ||
nmap ,t :!if [ -d .git ] \|\| git rev-parse --git-dir > /dev/null 2>&1; then phpunit -c $(git rev-parse --show-toplevel); else phpunit; fi<cr> | nmap ,t :!if [ -d .git ] \|\| git rev-parse --git-dir > /dev/null 2>&1; then phpunit -c $(git rev-parse --show-toplevel); else phpunit; fi<cr> | ||
</source> | </source> | ||
===== Personal preferences ===== | |||
I browse, search, and many other things all in CLI, and sometimes it's cumbersome to type in long path names. Symlinks to the rescue! I use <code>i</code> for <span class="shell">/vendor/laravel/framework/src/Illuminate</span>. | |||
<div class="cli"> | |||
<span style="color:#00ff00;">mhan</span><span style="color:#444444;">@</span><span style="color:#00cccc;">brahms</span><span style="color:#999999">:</span><span style="color:blue;">/srv/www/sanban</span><span style="color:#cccccc;"> | |||
$ <b class="color:white;">ln -s ./vendor/laravel/framework/src/Illuminate i</b> | |||
</span> | |||
</div> | |||
== Configuration == | == Configuration == |