Skip to content

Commit

Permalink
Merge pull request #53 from sunaku/tmux-named-buffer
Browse files Browse the repository at this point in the history
always use same named buffer to limit memory use
  • Loading branch information
slashfoo committed Nov 9, 2015
2 parents 0ff0e9b + 2f0030a commit f8ae770
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/slimux.vim
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ function! s:Send(tmux_packet)
let text = s:ExecFileTypeFn("SlimuxEscape_", [text])
endif

call system("tmux load-buffer -", text)
call system("tmux paste-buffer -t " . target)
call system("tmux load-buffer -b Slimux -", text)
call system("tmux paste-buffer -b Slimux -t " . target)

if type == "code"
call s:ExecFileTypeFn("SlimuxPost_", [target])
Expand Down

0 comments on commit f8ae770

Please sign in to comment.