Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

OSX showing all files and VIM json pretty printing

  • Loading branch information...
commit 8e2eab12f73c2f81ec2184220cc0a3acac241847 1 parent 59156ee
@mnarrell authored
Showing with 4 additions and 0 deletions.
  1. +3 −0  extras/osx.sh
  2. +1 −0  vimrc
View
3  extras/osx.sh
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.