3 ms·
Creating New Documents
- wowtip 16y agoMy OS of choice has a nice implementation of this functionality C-x f <filename> [enter] ;)
- carterschonwald 16y agoI've actually set up something a bit more handrolled and useful for generating new documents. In particular, I factored out the "generate a new template file" code that is in a lot of Textmate packages into some ruby scripts that sub in some values into a copy of latex templates that have all the standard goodness I like to have in my initial document. its pretty light weight, makes it easy to ensure that i can use tex on pretty much any machine or editor with the initial setup I like, and its essentially OS / Editor independent (aside from being cli based). https://github.com/cartazio/doctemplates https://github.com/cartazio/doctemplates the useage would be eg: > memoart "what I want to name the file" To reiterate: this approach lets me have certain values in the files that are automatically initialized when I am creating a new file, such as commented out lines indicating the file's name and date/year of creation.
- frou_dh 16y agoI don't mind the "duplication" of Finder in the Open/Save dialogs because you can use the same keyboard shortcuts to whizz around the filesystem (Cmd-↑ Cmd-↓ Cmd-Shift-G), which is preferable to clickity draggity to me. Time to subscribe to that blog though. Every time I end up there it's a good post.
- rgbrgb 16y agoDterm (http://www.decimus.net/dterm.php http://www.decimus.net/dterm.php) allows you to use 'touch <filename>' wherever you are in the Finder!