Skip to content

Commit

Permalink
mappings: easier time pasing content using <C-v>
Browse files Browse the repository at this point in the history
  • Loading branch information
mklabs committed Sep 27, 2018
1 parent 148f571 commit bb20d81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugin/split-term.vim
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ fun! s:defineMaps()
nnoremap <buffer> <C-Down> <C-w>j
nnoremap <buffer> <C-Up> <C-w>k
nnoremap <buffer> <C-Right> <C-w>l
" Easier time when pasting content in terminal mode with <C-v>
tnoremap <expr> <C-v> '<C-\><C-N>pi'
endfunction

" Opens up a new buffer, either vertical or horizontal. Count can be used to
Expand Down
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ initial user experience within a terminal Buffer is not perfect:
are inactive in favor of the terminal implementation (which is in this case
delete previous word)

- Pasting content in terminal can be troublesome. This plugin makes it a little
bit easier to paste content in terminal mode using `<C-v>`.

This plugin aims to alleviate some of these issues, for a better terminal
buffer experience.

Expand Down

0 comments on commit bb20d81

Please sign in to comment.