getting nvim to automacally set the tmux session based on current working dir (and also setting keymap for opening an alacritty session from nvim that sets the tmux session as well #8
emilBeBri
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I so have an autocmd that sets the tmux session to send code to by:
`tx-
this works well with a keymap to:
so this opens a new alacritty term with a tmux-session by the name of:
tx-
<current_dir>
which is already set as the default session to send code to with the autocmd from above.
here are the function(s) called by the keymap:
notice my working also does some rearranging by my windowmanager i3, but that can be removed or changed easliy.
Beta Was this translation helpful? Give feedback.
All reactions