Last active
May 2, 2016 10:42
-
-
Save haakenlid/d57b7aa49caa6a6abba8246c8ea3733f to your computer and use it in GitHub Desktop.
vim Ultisnips tmuxinator layout snippet
This file contains 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
# Ultisnips snippet for getting the current tmux layout. | |
# Use it in tmuxinator config files. | |
snippet layout: "tmux layout" iA | |
layout: ${1:`tmux lsw -F '#{window_active} #{window_layout}'|awk '/^1/{print $2}'`} | |
endsnippet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment