Skip to content

Commit

Permalink
keep the copied text ready to paste again when pasting
Browse files Browse the repository at this point in the history
in visual mode instead of copying the newly replaced text
  • Loading branch information
taylor committed Jul 9, 2014
1 parent e352e75 commit 31ba278
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Bundle 'MarcWeber/vim-addon-mw-utils'

"" === Development
Bundle 'scrooloose/syntastic'
Bundle 'rking/ag.vim'
"Bundle 'msanders/snipmate.vim'
"Bundle 'garbas/vim-snipmate'
"Bundle 'MarcWebe/UltiSnips'
Expand Down Expand Up @@ -128,14 +129,14 @@ Bundle 'itchyny/lightline.vim'
Bundle 'itchyny/landscape.vim'

"" === Pairing
"Bundle 'Floobits/floobits-vim'
Bundle 'Floobits/floobits-vim'
"mail-notmuch -- UNKNOWN
"misc-taylor -- UNKNOWN
"syntax-tmux -- UNKNOWN
"utils-conque_2.3 -- UNKNOWN

" Extra functionality
"Bundle 'Valloric/YouCompleteMe'
Bundle 'Valloric/YouCompleteMe'
Bundle 'taylor/vim-zoomwin'
"Bundle 'maba/vim-markdown-preview'
Bundle 'kien/ctrlp.vim'
Expand Down Expand Up @@ -184,6 +185,9 @@ filetype on " Enable filetype detection
filetype indent on " Enable filetype-specific indenting
filetype plugin on " Enable filetype-specific plugins


vmap p p:let @"=@0<CR> " keep the copied text ready to paste again when pasting in visual mode instead of copying the newly replaced text
set scrolloff=3 " lines above/below cursor

"set mouse=n
Expand Down

0 comments on commit 31ba278

Please sign in to comment.