Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Feature: Copy all visible lines in specified tmux pane to buffer #96

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
dc08bef
sh: Add option to target one particular tmux pane
Matt-A-Bennett Jan 5, 2022
c110afa
sh: Func sortu() to keep duplicate lines if NOSORT
Matt-A-Bennett Jan 5, 2022
4413f49
Add functions to capture pane to buffer (needs integrating)
Matt-A-Bennett Jan 5, 2022
4ed0107
Name new functions correctly: plugin#function()
Matt-A-Bennett Jan 5, 2022
5758aa2
Merge pull request #1 from Matt-A-Bennett/just_to_play
Matt-A-Bennett Jan 5, 2022
6128c12
Use s:script variable for path to script
Matt-A-Bennett Jan 5, 2022
5137f0f
Just echo target pane rather than grepping for it
Matt-A-Bennett Jan 5, 2022
d3ec897
Add global option for tmux pane index display
Matt-A-Bennett Jan 5, 2022
0f01ffe
Fix Accidental deletion of tmuxcomplete#init()...
Matt-A-Bennett Jan 5, 2022
a52273d
Add comment in script for global user option
Matt-A-Bennett Jan 5, 2022
694039c
Add description and usage of new functionality
Matt-A-Bennett Jan 5, 2022
ab6588a
Fix accidental file name change
Matt-A-Bennett Jan 5, 2022
195a295
Update README.md
Matt-A-Bennett Jan 5, 2022
59f1bdf
Show how to map the tmux_pane_to_buffer function
Matt-A-Bennett Jan 5, 2022
e3fb432
Update README.md
Matt-A-Bennett Jan 5, 2022
a7d5a7b
Update README.md
Matt-A-Bennett Jan 5, 2022
0af8be6
Update README.md
Matt-A-Bennett Jan 5, 2022
952c45b
test
Matt-A-Bennett Jan 6, 2022
c2cd587
rm test
Matt-A-Bennett Jan 6, 2022
7dcfddf
Don't overide user g:tmuxcomplete_pane_index_display_duration_ms
Matt-A-Bennett Aug 12, 2022
f8a5227
tmp
Matt-A-Bennett Aug 12, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update README.md
Matt-A-Bennett authored Jan 5, 2022
commit 0af8be6d920f16175a04a3cba953e9a575dcd8cf
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -53,12 +53,12 @@ Simply call the function like so:
nnoremap <LEADER>t :call tmuxcomplete#tmux_pane_to_buffer()<CR>
```

After the function is called, the tmux pane indices are flashed for a brief moment. Then just type the number to specify the pane you want:
After the function is called, the tmux pane indices are flashed for a brief moment. Then just type the number to specify the pane you want and hit enter:

![pane_selection](https://user-images.githubusercontent.com/52209396/148301300-c4b002d6-6362-4e81-b1a0-52277088a51c.jpg)


And it's right there, ready to be bent to Vim's will:
Here I typed '2', ad it's right there, ready to be bent to Vim's will:

![pane_2](https://user-images.githubusercontent.com/52209396/148301308-2f8db950-498c-442c-84e4-d354f94dbcec.jpg)