Created
May 1, 2016 15:44
-
-
Save bathizte/d6d9d84c5533b22dacd93847a03c1974 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Tmux session embedding an nvim instance to be used with nvim-mode for atom | |
# See : https://github.com/carlosdcastillo/vim-mode#how-do-you-run-this | |
NVIM_PIPE="/tmp/neovim" | |
TMUX_SESSION="atomNvim" | |
mkdir -p $NVIM_PIPE; | |
tmux new-session -s $TMUX_SESSION -d; | |
tmux send-keys -t 1 "NVIM_LISTEN_ADDRESS=$NVIM_PIPE/neovim nvim" C-m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment