Skip to content

Commit

Permalink
vim: Fix odd block pasting behaviour
Browse files Browse the repository at this point in the history
This is a issue in neovim when using the system clipboard. See [this
issue](neovim/neovim#1822)
miniyank is a plugin that fixes this until it's fixed in core
  • Loading branch information
dvcrn committed Jun 19, 2018
1 parent 481ef54 commit 205b9ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vim/init.vim
Expand Up @@ -20,6 +20,8 @@ Plug 'tpope/vim-sensible'

Plug 'jiangmiao/auto-pairs'

Plug 'bfredl/nvim-miniyank'

" Syntax

Plug 'Shougo/neco-vim', {'for': 'vim'}
Expand Down
4 changes: 4 additions & 0 deletions vim/keybindings.vim
Expand Up @@ -38,6 +38,10 @@ nnoremap <Leader>k <C-w>k
nnoremap Q <nop>
" Fix block cursor weirdness
map p <Plug>(miniyank-autoput)
map P <Plug>(miniyank-autoPut)
" Start interactive EasyAlign in visual mode (e.g. vipga)
xmap ga <Plug>(EasyAlign)
Expand Down

0 comments on commit 205b9ec

Please sign in to comment.