Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dnxbjyj authored Sep 2, 2019
1 parent afafe8e commit f72e8a7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ It's an Emacs extension, using it you can just use one key to save clipboard ima

![](./img/pasteex_screenshot_README_20190902191656.png)

Based on the ability of PasteEx, only support Windows platform.
Based on PasteEx, only support Windows.

# Prerequisite
- [PasteEx](https://github.com/huiyadanli/PasteEx/releases)
Expand All @@ -21,13 +21,13 @@ Put `pasteex-mode.el` to your `load-path`. The `load-path` is usually `~/elisp/`
```

# Usage
- Set `PasteEx.exe` executable file path to environment PATH, or set the variable `pasteex-executable-path` in your config file, like this:
- Add `PasteEx.exe` executable to environment PATH, or set the variable `pasteex-executable-path` in your config file, like this:

```emacs-lisp
(setq pasteex-executable-path "D:/program/PasteEx/PasteEx.exe")
```

- Bind your favority key to function `pasteex-image`, like this:
- Bind your favorite key to function `pasteex-image`, like this:

```emacs-lisp
(define-key pasteex-mode-map (kbd "C-c i") 'pasteex-image)
Expand All @@ -36,5 +36,5 @@ Put `pasteex-mode.el` to your `load-path`. The `load-path` is usually `~/elisp/`
- After you make a screenshot to clipboard, or copy a PNG image file to clipboard, then just press `C-c i` shortcut, and the file link or path will be inserted to your buffer immediately, the screenshot image file is saved to `./img/` directory by default.

# Tips
- Only support Windows platform, because PasteEx only support Windows now.
- That's all, enjoy it ;)
- Only support Windows, because PasteEx only support Windows now.
- That's all, enjoy it :)

0 comments on commit f72e8a7

Please sign in to comment.