Comments (6)
hi there again.
I actually found the problem. it is because i have used underline in the name of session like "setup_blah". so for eample in the bellow line it can't grep the correct name of session:
cur_win=$(tmux display-message -p | sed -e 's/^.//' -e 's/] /:/' | grep -o '[[:alpha:]|[:digit:]]*:[[:digit:]]*:' | sed 's/.$//g')
actually i am not expert in bash programming i just found this by running the individual parts in my terminal. so it actually does not support naming with underline. is there any way to solve this? as i mentioned i am not expert but if you guide me a little maybe i can find the solution.
thanks !
from tmux-fzf.
after a bunch of trials and errors (sed commands are too wierd. i don't understand them well!!!) i found an alternative and that is like bellow command:
tmux display-message -p | sed -e 's/^.//' -e 's/] /:/' -e 's/,.*$//' -e '$s/:\w*$//'
this supports the names with underline. i don't know if this could help to solve this problem globally.
from tmux-fzf.
Thank you! This should be fixed via 9f93734.
from tmux-fzf.
Thanks you for your fast fix. Now it works well. I manually applied the changes to the scripts and tested it(actually at the momment i don't know how to automatically update the plugin 😅, but i will search it.)
good luck!
from tmux-fzf.
actually at the momment i don't know how to automatically update the plugin
If you are using tpm, press prefix + U (shift+u).
Or cd ~/.tmux/plugins/tmux-fzf
and then git pull origin master
.
from tmux-fzf.
Thanks. I did the second way and now it is ok.
from tmux-fzf.
Related Issues (20)
- Does not seem to respect FZF_DEFAULT_OPTS on macOS Catalina HOT 12
- How to not include [cancel] in the menu? HOT 1
- <prefix> + Ctrl + F not launching tmux-fzf HOT 1
- Conflict with 'tmux-plugins/tmux-resurrect' HOT 1
- Removing prefixes for `TMUX_FZF_*_FORMAT` HOT 1
- tmux: unknown option -- K HOT 4
- Add a menu for pasting words from tmux HOT 6
- A way to set preview to starting lines HOT 4
- Toggle `pane switch` directly HOT 1
- PANE format with padding. HOT 1
- Add option in session menu to create new session
- [Feature request] tmuxinator integration
- Session names that contain spaces are unusable
- Multiple keybinds — library functions? HOT 2
- `attach` sub command for session.sh HOT 1
- copy-mode commands
- CopyQ clipboard only completes on number, not on content HOT 11
- The fzf window has incomplete borders. HOT 4
- Rename commands would broke if the title contained '/' HOT 2
- Session -> New not working with tmux next-3.4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmux-fzf.