{"action":"opened","issue":{"url":"https://api.github.com/repos/benmills/vimux/issues/144","repository_url":"https://api.github.com/repos/benmills/vimux","labels_url":"https://api.github.com/repos/benmills/vimux/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/benmills/vimux/issues/144/comments","events_url":"https://api.github.com/repos/benmills/vimux/issues/144/events","html_url":"https://github.com/benmills/vimux/issues/144","id":178798201,"number":144,"title":"Not expanding directory to open buffer","user":{"login":"tommyc38","id":10190567,"avatar_url":"https://avatars.githubusercontent.com/u/10190567?v=3","gravatar_id":"","url":"https://api.github.com/users/tommyc38","html_url":"https://github.com/tommyc38","followers_url":"https://api.github.com/users/tommyc38/followers","following_url":"https://api.github.com/users/tommyc38/following{/other_user}","gists_url":"https://api.github.com/users/tommyc38/gists{/gist_id}","starred_url":"https://api.github.com/users/tommyc38/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommyc38/subscriptions","organizations_url":"https://api.github.com/users/tommyc38/orgs","repos_url":"https://api.github.com/users/tommyc38/repos","events_url":"https://api.github.com/users/tommyc38/events{/privacy}","received_events_url":"https://api.github.com/users/tommyc38/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-23T06:48:08Z","updated_at":"2016-09-23T06:48:08Z","closed_at":null,"body":"I read your documentation and the command below works...\r\n\r\n```vim\r\nnmap <F4> :call VimuxRunCommand(\"clear;python \" . bufname(\"%\"))\r\n```\r\nHowever, I am trying to run my code in iPython and it seems like I need two commands.  One to initiate ipython\r\n\r\n```vim\r\nnmap <F5> :call VimuxRunCommand(\"clear;ipython\")\r\n```\r\n\r\nand another to run my buffer.  The problem is that it only sees the name of my file/buffer and not the path to it.\r\n```vim\r\nnmap <F6> :call VimuxRunCommand(\"run \" . bufname(\"%\"))\r\n```\r\nI have also tried VimuxSendKeys and VimuxSendText but only get the name of the file and not the path to it.  Am I doing something wrong?"}}
{"actor":{"display_login":"tommyc38"}}