Skip to content

lucidstack/ctrlp-tmux.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ctrlp-tmux.vim

Ever wanted to switch between tmux sessions or windows seamlessly, inside vim? Well, today is the day, folks!

asciicast

Feature

  1. tmux session list and switch
  2. tmux windows list and switch
  3. tmux command list and execute(interactively)
  4. tmux buffer list and paste

Installation

Use your favourite method to get this repository.

Add tmux to g:ctrlp_extensions in your .vimrc(optional).

" example
let g:ctrlp_extensions = ['buffertag', 'tag', 'tmux']

Usage

"w for select windows
"s for select sessions
"c for tmux command
"ci same as above,but allow user input thr argument of command
"b for tmux buffer
"bracket mean optional.Operation type is sessions without any argument.
:CtrlPTmux [s|w|c|ci|b]

(Optional) Add a leader shortcut

  " Change Tmux sessions with CtrlP
  nnoremap <Leader>s :CtrlPTmux<CR>

About

switch between tmux sessions with ctrlp!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published