From 41b3f99dad4610a488d2b5adee2102bd4c9c3111 Mon Sep 17 00:00:00 2001 From: yan Date: Fri, 22 Jun 2012 09:24:15 -0700 Subject: [PATCH] Updated README for yankring --- README.md | 3 ++- vim/plugin/settings/yankring.vim | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e18eef1..166079b 100644 --- a/README.md +++ b/README.md @@ -398,6 +398,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke * `:ColorToggle` - turn on #abc123 color highlighting (useful for css) * `:gitv` - Git log browsers * `,hi` - show current Highlight group. if you don't like the color of something, use this, then use `hi! link [groupname] [anothergroupname]` in your vimrc.after to remap the color. You can see available colors using `:hi` + * `,yr` - view the yankring - a list of your previous copy commands. also you can paste and hit `ctrl-p` for cycling through previous copy commands #### Ruby Debugger @@ -470,7 +471,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke * SplitJoin - easily split up things like ruby hashes into multiple lines or join them back together. Try :SplitjoinJoin and :SplitjoinSplit or use the bindings sj(split) and sk(unsplit) - mnemonically j and k are directions down and up * tabularize - align code effortlessly by using :Tabularize /[character] to align by a character, or try the keymaps - * yankring - effortless sanity for pasting. every time you yank something it goes into a buffer. after hitting p to paste, use ctrl-p or ctrl-n to cycle through the paste options. great for when you accidentally overwrite your yank with a delete + * yankring - effortless sanity for pasting. every time you yank something it goes into a buffer. after hitting p to paste, use ctrl-p or ctrl-n to cycle through the paste options. great for when you accidentally overwrite your yank with a delete. * surround - super easy quote and tag manipulation - ysiw" - sourround inner word with quotes. ci"' - change inner double quotes to single quotes, etc * greplace - use :Gsearch to find across many files, replace inside the changes, then :Greplace to do a replace across all matches * ConqueTerm - embedded fully colorful shell inside your vim diff --git a/vim/plugin/settings/yankring.vim b/vim/plugin/settings/yankring.vim index 0316908..409ffc6 100644 --- a/vim/plugin/settings/yankring.vim +++ b/vim/plugin/settings/yankring.vim @@ -1 +1,2 @@ let g:yankring_history_file = '.yankring-history' +nnoremap ,yr :YRShow