{"action":"created","issue":{"url":"https://api.github.com/repos/justmao945/justmao945.github.io/issues/160","labels_url":"https://api.github.com/repos/justmao945/justmao945.github.io/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/justmao945/justmao945.github.io/issues/160/comments","events_url":"https://api.github.com/repos/justmao945/justmao945.github.io/issues/160/events","html_url":"https://github.com/justmao945/justmao945.github.io/issues/160","id":76577865,"number":160,"title":"Vim Tips","user":{"login":"justmao945","id":619331,"avatar_url":"https://avatars.githubusercontent.com/u/619331?v=3","gravatar_id":"","url":"https://api.github.com/users/justmao945","html_url":"https://github.com/justmao945","followers_url":"https://api.github.com/users/justmao945/followers","following_url":"https://api.github.com/users/justmao945/following{/other_user}","gists_url":"https://api.github.com/users/justmao945/gists{/gist_id}","starred_url":"https://api.github.com/users/justmao945/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justmao945/subscriptions","organizations_url":"https://api.github.com/users/justmao945/orgs","repos_url":"https://api.github.com/users/justmao945/repos","events_url":"https://api.github.com/users/justmao945/events{/privacy}","received_events_url":"https://api.github.com/users/justmao945/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/justmao945/justmao945.github.io/labels/system","name":"system","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-15T03:35:04Z","updated_at":"2015-05-15T05:31:15Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/justmao945/justmao945.github.io/issues/comments/102264119","html_url":"https://github.com/justmao945/justmao945.github.io/issues/160#issuecomment-102264119","issue_url":"https://api.github.com/repos/justmao945/justmao945.github.io/issues/160","id":102264119,"user":{"login":"justmao945","id":619331,"avatar_url":"https://avatars.githubusercontent.com/u/619331?v=3","gravatar_id":"","url":"https://api.github.com/users/justmao945","html_url":"https://github.com/justmao945","followers_url":"https://api.github.com/users/justmao945/followers","following_url":"https://api.github.com/users/justmao945/following{/other_user}","gists_url":"https://api.github.com/users/justmao945/gists{/gist_id}","starred_url":"https://api.github.com/users/justmao945/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justmao945/subscriptions","organizations_url":"https://api.github.com/users/justmao945/orgs","repos_url":"https://api.github.com/users/justmao945/repos","events_url":"https://api.github.com/users/justmao945/events{/privacy}","received_events_url":"https://api.github.com/users/justmao945/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T05:31:15Z","updated_at":"2015-05-15T05:31:15Z","body":"# how to debug vim script\r\n\r\nI used to echo messages....\r\nBut in fact, messages disappeared if new messages or commands come....\r\nActually, it's better to use `echom` set of message functions to record messages.\r\nThese messages are preserved in VIM so you can use `:messages` to check history.\r\n\r\n[Echoing Messages][1]\r\n[1]: http://learnvimscriptthehardway.stevelosh.com/chapters/01.html"}}