diff options
| author | ryanss | 2015-02-08 11:29:48 -0500 |
|---|---|---|
| committer | ryanss | 2015-02-08 11:29:48 -0500 |
| commit | efe1efe933daabea0e91cf79d2ddb868f4e29a70 (patch) | |
| tree | b0a026bc8caa440b4f708dc7ef988aac396e850f /ftplugin | |
| parent | b8afecc06220a0882790e88638e8354040caf0d6 (diff) | |
| download | vim-hn-efe1efe933daabea0e91cf79d2ddb868f4e29a70.tar.gz | |
Only remap `o` inside the .hackernews buffer
Diffstat (limited to 'ftplugin')
| -rw-r--r-- | ftplugin/hackernews.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftplugin/hackernews.vim b/ftplugin/hackernews.vim index 84623a7..27c3e43 100644 --- a/ftplugin/hackernews.vim +++ b/ftplugin/hackernews.vim @@ -8,5 +8,5 @@ " Version: 0.1.1 -noremap o :python hacker_news_link()<cr> -noremap O :python hacker_news_link(external=True)<cr> +noremap <buffer> o :python hacker_news_link()<cr> +noremap <buffer> O :python hacker_news_link(external=True)<cr> |
