

Distributed under the same terms as Vim itself. It contains no default mappings and will have no effect until you add your own maps to it. Plugin shouldĬopyright (c) Max Brunsfeld. description For the latest updates see the github repo: INTRODUCTION 'subversive' Subversive provides two new operator motions to make it very easy to perform quick substitutions. Remove unnecessary dependency on the undotree() function.
#VIM YOINK UPDATE#
Change default key bindings, update readme, add link to github page. Fix bug where 's' and 'S' didn't push to the yankstack Perfect the behavior of the yankstack when pasting over text in visual Fix bug when overwriting text in select mode. Make it so that yankstack-cycling keys cause a normal paste if they are To cycle through your yanks after doing a normal paste, an extra Fix bug where on certain versions of vim, the first time you tried Allow customization of the list of keys to be remapped. I'd enjoy hearing anybody's feedback on yankstack, and welcome any contribution. For example, if you only want Yankstack to remap `y` and `d`: You can also prevent certain keys from being remapped by setting the `g:yankstack_yank_keys` Your vimrc, before defining your mappings: To achieve this, just call ```yankstack#setup()``` in The yankstack mappings need to happen **before** you define any such Map the ```Y``` key to ```y$```, so that it behaves the same as ```D``` and

To define your own mappings of the yank and paste keys. Yankstack works by mapping the yank and paste keys to functions that do someīook-keeping before calling through to the normal yank/paste keys. ```yankstack_substitute_newer_paste``` - cycle forwards through your history of yanksįor example, if you wanted to define some mappings based on your 'leader' key,Īlso, if you want to load yankstack without the default key mappings, just ```yankstack_substitute_older_paste``` - cycle backwards through your history of yanks The same mappings work in normal and insert modes. Yankstack defines two plugin mappings that you can map to keys of your choosing. Its output is similar to the ```:registers``` command. You can see the contents of the yank-stack using the ```:Yanks``` command. Instructions for dealing with this can be found on the ( ) On Linux, you may have issues with the meta key if your terminal is running in 7bit mode. This plugin's default key bindings (or any bindings involving the `option` If you're using MacVim, and you want to use Will do a normal paste (the same as typing `p`). Typing either of these keys *without* pasting first ```meta-shift-p``` - cycle *forwards* through your history of yanksĪfter pasting some text using ```p``` or ```P```, you can cycle through your ```meta-p``` - cycle *backward* through your history of yanks This plugin is intended to be a simpler alternative to theīy default, yankstack adds only 2 key bindings, in normal and visual modes: You cycle through the items in the stack after doing a paste. It effectively turns your default register into a stack, and lets Yank and delete things without worrying about losing the text that you yanked Lightweight implementation of the Emacs 'kill ring' for Vim.
