summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-04-03 23:58:11 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-04-03 23:58:11 +0200
commitd8eee6d3e41d9b85d05e24b09413b6b7e23fd822 (patch)
treef774643b4f150db435faed085ec4837508db2b04 /.vimrc
parentc09ee806e5e0e3ab63133e5c1199e221234a5905 (diff)
downloaddotfiles-d8eee6d3e41d9b85d05e24b09413b6b7e23fd822.tar.gz
dotfiles-d8eee6d3e41d9b85d05e24b09413b6b7e23fd822.tar.xz
vim: Add neoyank
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 12d38e3..62201bb 100644
--- a/.vimrc
+++ b/.vimrc
@@ -81,6 +81,7 @@ Plugin 'honza/vim-snippets'
Plugin 'Shougo/unite.vim'
Plugin 'Shougo/vimproc.vim'
Plugin 'Shougo/vimshell.vim'
+Plugin 'Shougo/neoyank.vim'
Plugin 'tpope/vim-unimpaired'
Plugin 'tpope/vim-fugitive'
@@ -276,6 +277,9 @@ nnoremap <leader>qq :<C-u>Unite -buffer-name=files -start-insert file_rec/asyn
nnoremap <leader>y :<C-u>Unite -buffer-name=yank history/yank<cr>
nnoremap <leader>b :<C-u>Unite -buffer-name=buffer buffer<cr>
+" neoyank
+let g:neoyank#file = $HOME.'/.vim/yankring.txt'
+
" completion
autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS
autocmd FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTags