aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorAnton Bobov <abobov@gmail.com>2013-10-18 21:54:10 +0600
committerAnton Bobov <abobov@gmail.com>2013-10-19 00:47:57 +0600
commitaa96563667daf9d5fe82bfee0b84f35bf01e70f5 (patch)
tree06571dcfe747cc819c915ba161d03d115363eca3 /files
parentad704b4b8b15765b93e385c7431b19202b0bbe71 (diff)
Add vim Yankring plugin.
Diffstat (limited to 'files')
m---------files/.vim/bundle/YankRing.vim0
-rw-r--r--files/.vimrc6
2 files changed, 5 insertions, 1 deletions
diff --git a/files/.vim/bundle/YankRing.vim b/files/.vim/bundle/YankRing.vim
new file mode 160000
+Subproject a884f3a161fa3cd8c996eb53a3d1c68631f60c2
diff --git a/files/.vimrc b/files/.vimrc
index 1044a3a..3b81821 100644
--- a/files/.vimrc
+++ b/files/.vimrc
@@ -159,7 +159,7 @@ map <C-l> <C-w>l
cmap w!! w !sudo tee % >/dev/null
" Hide search highlights
-nmap <silent> <C-N> :silent nohlsearch<CR>
+nmap <silent> <C-L> :silent nohlsearch<CR>
" map <C-c> "+y<CR>
" map <C-v> "+gP<CR>
@@ -186,6 +186,10 @@ map gf :e <cfile><CR>
map YY "+yy
+" Yankring
+nnoremap <silent> <F3> :YRShow<CR>
+inoremap <silent> <F3> <ESC>:YRShow<CR>
+
" Surrounds double angle quotes «»
let g:surround_171="« \r »"
let g:surround_187="«\r»"