diff options
author | Florian Pritz <bluewind@xinu.at> | 2018-04-03 23:58:11 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-04-03 23:58:11 +0200 |
commit | d8eee6d3e41d9b85d05e24b09413b6b7e23fd822 (patch) | |
tree | f774643b4f150db435faed085ec4837508db2b04 | |
parent | c09ee806e5e0e3ab63133e5c1199e221234a5905 (diff) | |
download | dotfiles-d8eee6d3e41d9b85d05e24b09413b6b7e23fd822.tar.gz dotfiles-d8eee6d3e41d9b85d05e24b09413b6b7e23fd822.tar.xz |
vim: Add neoyank
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | .gitmodules | 3 | ||||
m--------- | .vim/bundle/neoyank.vim | 0 | ||||
-rw-r--r-- | .vimrc | 4 |
3 files changed, 7 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index 2e8d09e..e61305d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -121,3 +121,6 @@ [submodule ".vim/bundle/vim-gitgutter"] path = .vim/bundle/vim-gitgutter url = https://github.com/airblade/vim-gitgutter.git +[submodule ".vim/bundle/neoyank.vim"] + path = .vim/bundle/neoyank.vim + url = https://github.com/Shougo/neoyank.vim.git diff --git a/.vim/bundle/neoyank.vim b/.vim/bundle/neoyank.vim new file mode 160000 +Subproject ea3cd47ccb40cb2e26cb607d28475aa0fdb26fe @@ -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 |