{"action":"closed","issue":{"url":"https://api.github.com/repos/aperezdc/vim-template/issues/34","labels_url":"https://api.github.com/repos/aperezdc/vim-template/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/aperezdc/vim-template/issues/34/comments","events_url":"https://api.github.com/repos/aperezdc/vim-template/issues/34/events","html_url":"https://github.com/aperezdc/vim-template/issues/34","id":37194467,"number":34,"title":"Unexpected behavior when loading templates","user":{"login":"muff1nman","id":1531528,"avatar_url":"https://avatars.githubusercontent.com/u/1531528?v=3","gravatar_id":"","url":"https://api.github.com/users/muff1nman","html_url":"https://github.com/muff1nman","followers_url":"https://api.github.com/users/muff1nman/followers","following_url":"https://api.github.com/users/muff1nman/following{/other_user}","gists_url":"https://api.github.com/users/muff1nman/gists{/gist_id}","starred_url":"https://api.github.com/users/muff1nman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muff1nman/subscriptions","organizations_url":"https://api.github.com/users/muff1nman/orgs","repos_url":"https://api.github.com/users/muff1nman/repos","events_url":"https://api.github.com/users/muff1nman/events{/privacy}","received_events_url":"https://api.github.com/users/muff1nman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-07-05T08:06:09Z","updated_at":"2015-01-10T19:49:23Z","closed_at":"2015-01-10T19:49:23Z","body":"When using `TLoadCmd` with a non-empty file, the file contents are not replaced with the new template, rather the template is inserted at the top of the file and then the last line is deleted of the current contents.  You can see this in action just by repeating `TLoadCmd` several times.\r\n\r\nI would think that a more expected result would be for the entire file to be replaced. Thoughts?"}}