Browse files

Aliases for editing and working with tags.

  • Loading branch information...
1 parent 08c85e2 commit fb3e3d79cb4e2d3486d89173c7d211aea9c9de37 @bjornbm committed Jan 5, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 nn.aliases
View
7 nn.aliases
@@ -0,0 +1,7 @@
+alias nnn="nn new" # New
+alias nne="nn --exec=mvim" # Edit
+
+for tag in $(nn tags); do
+ alias nn${tag}="nn new $tag" # Create new file with tag.
+ alias nn${tag}s="nn list name:-${tag}-" # List all files with tag.
+done

0 comments on commit fb3e3d7

Please sign in to comment.