Skip to content

Commit

Permalink
OSX showing all files and VIM json pretty printing
Browse files Browse the repository at this point in the history
  • Loading branch information
mnarrell committed Apr 18, 2012
1 parent 59156ee commit 8e2eab1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extras/osx.sh
Expand Up @@ -58,6 +58,9 @@ defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
# Show the ~/Library folder
chflags nohidden ~/Library

# Show hidden files
defaults write com.apple.finder AppleShowAllFiles TRUE

# kill / restart apps
echo "Changed defaults. Restarting apps…"
for app in Safari Finder Dock Mail; do killall "$app"; done
Expand Down
1 change: 1 addition & 0 deletions vimrc
Expand Up @@ -94,6 +94,7 @@ vmap <C-Down> ]egv
" format JSON
map <leader>j !python -m json.tool<CR>
map <leader>jt <Esc>:%!json_xs -f json -t json-pretty<CR>
" Filetype stuff
au FileType make set noexpandtab
Expand Down

0 comments on commit 8e2eab1

Please sign in to comment.