start new:
tmux
start new with session name:
tmux new -s myname
| //Code sanitized to protect the foolish. | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Text; | |
| using System.Reflection; | |
| using System.Web.UI; | |
| namespace Mobile.Web.Control | |
| { | |
| /// <summary> |
| Map | Action |
|---|---|
| <F1> | Causes Netrw to issue help |
| <cr> | Netrw will enter the directory or read the file |
| <del> | Netrw will attempt to remove the file/directory |
| - | Makes Netrw go up one directory |
| a | Toggles between normal display, hiding (suppress display of files matching g:netrw_list_hide) showing (display only files which match g:netrw_list_hide) |
| c | Make browsing directory the current directory |
| C | Setting the editing window |
| d | Make a directory |
| #!/usr/bin/env python | |
| # Converts Ansible dynamic inventory sources to static files | |
| # Input is received via stdin from the dynamic inventory file | |
| # ex: | |
| # ec2.py --list | ansible-dynamic-inventory-converter.py | |
| import json | |
| import os | |
| import sys |
<C-x> - hold the control key and press x<M-x> - hold the meta key and press x (usually meta is the alt key)<prefix> - initiate the tmux prefix (default it <C-b> some people like <C-a>)The default prefix is C-b. If you (or your muscle memory) prefers C-a, you need to add this to ~/.tmux.conf:
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) | |
| ANSIBLE_METADATA = {'metadata_version': '1.0', | |
| 'status': ['preview'], | |
| 'supported_by': 'community'} | |
| DOCUMENTATION = ''' |
| Jenkinsfile VIM syntax highlighting | |
| echo 'au BufNewFile,BufRead Jenkinsfile setf groovy' >> ~/.vimrc |