Sha256: 1cbb29eafeca5228d56d09820c466ff346a1c9869c4dd249c1d019d278baa2d6

Contents?: true

Size: 718 Bytes

Versions: 1

Compression:

Stored size: 718 Bytes

Contents

# Use a better prefix
unbind C-b
bind <%= @session_opts['prefix'] %> send-prefix

# Split windows with more logical keys
bind | split-window -h
bind - split-window -v

# Remap movement keys
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

# Generate server options
<% @server_opts.each_pair do |opt, val| %>
  <% unless val.nil? %>
set -sg <%= opt %> <%= val %>
  <% end %>
<% end %>

# Generate session options
<% @session_opts.each_pair do |opt, val| %>
  <% unless val.nil? %>
set -g <%= opt %> <%= val %>
  <% end %>
<% end %>

# Generate window options
<% @window_opts.each_pair do |opt, val| %>
  <% unless val.nil? %>
setw -g <%= opt %> <%= val %>
  <% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
guard-strainer-1.0.0 spec/fixtures/cookbooks/tmux/templates/default/tmux.conf.erb