Skip to content

Commit

Permalink
remove operator-pending fold text-object mappings because erroneous
Browse files Browse the repository at this point in the history
  • Loading branch information
Konfekt committed Apr 27, 2017
1 parent c002507 commit 680b65b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions README.md
Expand Up @@ -100,8 +100,6 @@ Create a fold text object, mapped to `iz` and `az`, by adding the lines
```vim
xnoremap iz :<c-u>FastFoldUpdate<cr><esc>:<c-u>normal! ]zv[z<cr>
xnoremap az :<c-u>FastFoldUpdate<cr><esc>:<c-u>normal! ]zV[z<cr>
onoremap <expr> iz ':<c-u>FastFoldUpdate<cr>' . '<esc>' . '"' . v:register . v:operator . ':<c-u>normal! [zv]z<cr>'
onoremap <expr> az ':<c-u>FastFoldUpdate<cr>' . '<esc>' . '"' . v:register . v:operator . ':<c-u>normal! [zV]z<cr>'
```

to the file `~/.vimrc` (respectively `%USERPROFILE%/_vimrc` on Microsoft Windows).
Expand Down
6 changes: 0 additions & 6 deletions doc/FastFold.txt
Expand Up @@ -110,12 +110,6 @@ file type plug-in, for example TagList.

xnoremap iz :<c-u>FastFoldUpdate<cr><esc>:<c-u>normal! ]zv[z<cr>
xnoremap az :<c-u>FastFoldUpdate<cr><esc>:<c-u>normal! ]zV[z<cr>
onoremap <expr> iz \
':<c-u>FastFoldUpdate<cr>' . '<esc>' . \
'"' v:register . v:operator . ':<c-u>normal! [zv]z<cr>'
onoremap <expr> az \
':<c-u>FastFoldUpdate<cr>' . '<esc>' . \
'"' v:register . v:operator . ':<c-u>normal! [zV]z<cr>'

to your 'vimrc'.
===========================================================================
Expand Down

0 comments on commit 680b65b

Please sign in to comment.