diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-04-19 05:25:42 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-04-19 05:25:42 +0200 |
commit | 49a897667fd3e446ccba382178a286a61d863f57 (patch) | |
tree | 49db9a83fd85c1a7c4a19042901e48f63eaa55ef | |
parent | 398d7feb09ca4a1996437707c121773b2900cf9a (diff) | |
download | dotfiles-49a897667fd3e446ccba382178a286a61d863f57.tar.xz |
vim: Yank to clipboard and selection by default
diff --git a/vim/vimrc b/vim/vimrc
index 285280d..59fc373 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -67,8 +67,8 @@ set noexpandtab
" Automatically hide buffers instead of requiring bangcommands
set hidden
-" Paste mode when pressing Insert, disables autoformating
-set pastetoggle=<Insert>
+" Yank to clipboard/selection by default
+set clipboard=unnamed,unnamedplus
" Installation check.
NeoBundleCheck
-rw-r--r-- | vim/vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -67,8 +67,8 @@ set noexpandtab " Automatically hide buffers instead of requiring bangcommands set hidden -" Paste mode when pressing Insert, disables autoformating -set pastetoggle=<Insert> +" Yank to clipboard/selection by default +set clipboard=unnamed,unnamedplus " Installation check. NeoBundleCheck |