(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:
As configured in my dotfiles.
start new:
tmux
start new with session name:
| app.directive('infiniteScroll', [ | |
| '$rootScope', '$window', '$timeout', function($rootScope, $window, $timeout) { | |
| return { | |
| link: function(scope, elem, attrs) { | |
| var checkWhenEnabled, handler, scrollDistance, scrollEnabled; | |
| $window = angular.element($window); | |
| elem.css('overflow-y', 'scroll'); | |
| elem.css('overflow-x', 'hidden'); | |
| elem.css('height', 'inherit'); | |
| scrollDistance = 0; |
| /** | |
| * Example of using an angular provider to build an api service. | |
| * @author Jeremy Elbourn (jelbourn@google.com) | |
| */ | |
| /** Namespace for the application. */ | |
| var app = {}; | |
| /******************************************************************************/ |