Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
machakann committed May 3, 2022
1 parent ee887f2 commit 639b0ab
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,20 @@ When a new text is yanked or user starts editing, the old highlighting would be

If the highlight is not visible for some reason, you can redefine the `HighlightedyankRegion` highlight group like:

```
```vim
highlight HighlightedyankRegion cterm=reverse gui=reverse
```

Note that the line should be located after `:colorscheme` command execution in your vimrc.

## Suppress highlight in visual mode

The highlight may not be needed or even annoying in visual mode.

```vim
let g:highlightedyank_max_lines = 1000
```

## Inspired by

- [atom-vim-mode-plus](https://github.com/t9md/atom-vim-mode-plus)
Expand Down
12 changes: 11 additions & 1 deletion doc/highlightedyank.jax
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
*highlightedyank.txt* ヤンクした場所をわかりやすくする。
Last change:25-Jan-2022.
Last change:03-May-2022.

書いた人 : machakann <mckn{at}outlook.jp>
ライセンス : NYSL ライセンス
Expand Down Expand Up @@ -75,6 +75,16 @@ OPTIONS *highlightedyank-options*
これらが明示的に指定されていない場合は、 10000 行を超える場合にハイライトをし
ません。

------------------------------------------------------------------------------

*g:highlightedyank_highlight_in_visual*
*b:highlightedyank_highlight_in_visual*
ヴィジュアル選択範囲をヤンクした場合のハイライトはあまり必要でないかもしれませ
ん。そんな場合にはこのオプションに偽値を設定してください。
>
let g:highlightedyank_highlight_in_visual = 0
<

==============================================================================
HIGHLIGHT GROUPS *highlightedyank-highlight-groups*

Expand Down

0 comments on commit 639b0ab

Please sign in to comment.