{"action":"created","issue":{"url":"https://api.github.com/repos/lambdalisue/jupyter-vim-binding/issues/18","labels_url":"https://api.github.com/repos/lambdalisue/jupyter-vim-binding/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/lambdalisue/jupyter-vim-binding/issues/18/comments","events_url":"https://api.github.com/repos/lambdalisue/jupyter-vim-binding/issues/18/events","html_url":"https://github.com/lambdalisue/jupyter-vim-binding/issues/18","id":119566998,"number":18,"title":"Notification when the notebook file is saved","user":{"login":"pablocobelli","id":6529031,"avatar_url":"https://avatars.githubusercontent.com/u/6529031?v=3","gravatar_id":"","url":"https://api.github.com/users/pablocobelli","html_url":"https://github.com/pablocobelli","followers_url":"https://api.github.com/users/pablocobelli/followers","following_url":"https://api.github.com/users/pablocobelli/following{/other_user}","gists_url":"https://api.github.com/users/pablocobelli/gists{/gist_id}","starred_url":"https://api.github.com/users/pablocobelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pablocobelli/subscriptions","organizations_url":"https://api.github.com/users/pablocobelli/orgs","repos_url":"https://api.github.com/users/pablocobelli/repos","events_url":"https://api.github.com/users/pablocobelli/events{/privacy}","received_events_url":"https://api.github.com/users/pablocobelli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-30T19:53:09Z","updated_at":"2015-12-02T12:22:30Z","closed_at":null,"body":"This is a great extension, I want to thank you for it as it makes my life a lot easier. \r\nThere's one extra thing that could be useful (as enhancement). Whenever I save the notebook via the interface menu (File -> Save and Checkpoint) I get a notification that the file has been saved (a short message displays next to 'Help' on the menu bar. However, when i do ':w' <enter>, I know it's saved (I see that in the terminal from which I launched the notebook server) but the notebook itself does not display any notification. Could it be possible to add just the same notification that the 'menu bar way' gives?\r\n\r\nThanks. "},"comment":{"url":"https://api.github.com/repos/lambdalisue/jupyter-vim-binding/issues/comments/161276200","html_url":"https://github.com/lambdalisue/jupyter-vim-binding/issues/18#issuecomment-161276200","issue_url":"https://api.github.com/repos/lambdalisue/jupyter-vim-binding/issues/18","id":161276200,"user":{"login":"greenify","id":4370550,"avatar_url":"https://avatars.githubusercontent.com/u/4370550?v=3","gravatar_id":"","url":"https://api.github.com/users/greenify","html_url":"https://github.com/greenify","followers_url":"https://api.github.com/users/greenify/followers","following_url":"https://api.github.com/users/greenify/following{/other_user}","gists_url":"https://api.github.com/users/greenify/gists{/gist_id}","starred_url":"https://api.github.com/users/greenify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenify/subscriptions","organizations_url":"https://api.github.com/users/greenify/orgs","repos_url":"https://api.github.com/users/greenify/repos","events_url":"https://api.github.com/users/greenify/events{/privacy}","received_events_url":"https://api.github.com/users/greenify/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T12:22:30Z","updated_at":"2015-12-02T12:22:30Z","body":"I can confirm that it works fine on my setup too, can you try to patch the notebook save command to see whether it is triggered?\r\n\r\ne.g. add this to your `custom.js`\r\n\r\n```\r\nrequire([\"notebook/js/notebook\"], function(Notebook){\r\n    var save_notebook = Notebook.prototype.save_notebook;\r\n    Notebook.prototype.save_notebook = function(){\r\n        var p = save_notebook.apply(this, arguments);\r\n        p.then(function(){\r\n            console.log('saved');\r\n        }, function(){\r\n            console.error('saving failed');\r\n        });\r\n        return p;\r\n    };\r\n});\r\n```"}}