(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| FROM tianon/centos-null:5.9 | |
| RUN rpm -i http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm | |
| RUN yum -y update | |
| RUN yum -y install gcc git curl make zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl openssl-devel | |
| RUN useradd -m python_user | |
| RUN ln -s /proc/self/fd /dev/fd |
| # Thanks to @danger89 and @Ilothar for updating the gist. | |
| # Set the name and the supported language of the project | |
| project(hello-world C CXX) | |
| # Set the minimum version of cmake required to build this project | |
| cmake_minimum_required(VERSION 3.10) | |
| # Use the package PkgConfig to detect GTK+ headers/library files | |
| find_package(PkgConfig REQUIRED) | |
| pkg_check_modules(GTK REQUIRED gtkmm-3.0) |
| /** | |
| * Copyright 2012 Akseli Palén. | |
| * Created 2012-07-15. | |
| * Licensed under the MIT license. | |
| * | |
| * <license> | |
| * Permission is hereby granted, free of charge, to any person obtaining | |
| * a copy of this software and associated documentation files | |
| * (the "Software"), to deal in the Software without restriction, | |
| * including without limitation the rights to use, copy, modify, merge, |
| # | |
| # Minimal Makefile which compiles multiple C files into individual executables. | |
| # | |
| # | |
| # - Sarah Mount, November 2011 | |
| # | |
| CC=gcc | |
| RM=rm |