Permalink
Browse files

OSX showing all files and VIM json pretty printing

  • Loading branch information...
mnarrell committed Apr 18, 2012
1 parent 59156ee commit 8e2eab12f73c2f81ec2184220cc0a3acac241847
Showing with 4 additions and 0 deletions.
  1. +3 −0 extras/osx.sh
  2. +1 −0 vimrc
View
@@ -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
View
1 vimrc
@@ -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

0 comments on commit 8e2eab1

Please sign in to comment.