Skip to content

Commit

Permalink
Merge pull request chxuan#1 from chxuan/master
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
tuberry authored Oct 25, 2019
2 parents 65c2cb9 + 1e55aad commit 2b907d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,12 @@ nnoremap <c-k> <c-w>k
nnoremap <c-h> <c-w>h
nnoremap <c-l> <c-w>l
"复制当前选中到系统剪切板
" 复制当前选中到系统剪切板
vmap <leader><leader>y "+y
" 将系统剪切板内容粘贴到vim
nnoremap <leader><leader>p "+p
" 打开文件自动定位到最后编辑的位置
autocmd BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | execute "normal! g'\"" | endif

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ An automatic configuration program for vim

<p align="center">
<a href="#build" alt="build"><img src="https://img.shields.io/badge/build-passing-brightgreen.svg" /></a>
<a href="#安装" alt="platform"><img src="https://img.shields.io/badge/platform-MacOSX%20%7C%20Linux%2064bit%20%7C%20Docker-brightgreen.svg" /></a>
<a href="#安装" alt="platform"><img src="https://img.shields.io/badge/platform-MacOSX%20%7C%20Linux%2064bit%20%7C%20Docker%20%7C%20WSL-brightgreen.svg" /></a>
<a href="https://github.com/chxuan/vimplus/stargazers" alt="stars"><img src="https://img.shields.io/github/stars/chxuan/vimplus.svg?style=popout&label=stars" /></a>
<a href="https://github.com/chxuan/vimplus/forks" alt="forks"><img src="https://img.shields.io/github/forks/chxuan/vimplus.svg?style=popout&label=forks" /></a>
<a href="https://github.com/chxuan/vimplus/graphs/contributors" alt="contributors"><img src="https://img.shields.io/github/contributors/chxuan/vimplus" /></a>
Expand Down Expand Up @@ -248,6 +248,7 @@ An automatic configuration program for vim
<td width="20%"><a href="https://github.com/jokerkeny"><img src="https://avatars2.githubusercontent.com/u/10593391?s=400&v=4"/></a><p align="center">jokerkeny</p></td>
<td width="20%"><a href="https://github.com/xuthus5"><img src="https://avatars0.githubusercontent.com/u/22839236?s=400&v=4"/></a><p align="center">xuthus5</p></td>
<td width="20%"><a href="https://github.com/zhoumengkang"><img src="https://avatars2.githubusercontent.com/u/3904765?s=400&v=4"/></a><p align="center">zhoumengkang</p></td>
<td width="20%"><a href="https://github.com/Titubery"><img src="https://avatars1.githubusercontent.com/u/17917040?s=400&v=4"/></a><p align="center">Titubery</p></td>
</tr>
</table>

Expand Down

0 comments on commit 2b907d9

Please sign in to comment.