(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:
| #!/usr/bin/env bash | |
| # memusg -- Measure memory usage of processes | |
| # Usage: memusg COMMAND [ARGS]... | |
| # | |
| # Author: Jaeho Shin <[email protected]> | |
| # Created: 2010-08-16 | |
| ############################################################################ | |
| # Copyright 2010 Jaeho Shin. # | |
| # # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); # |
| import sys, time, os | |
| from mechanize import Browser | |
| LOGIN_URL = 'http://www.example.com/login' | |
| USERNAME = 'DavidMertz' | |
| PASSWORD = 'TheSpanishInquisition' | |
| SEARCH_URL = 'http://www.example.com/search?' | |
| FIXED_QUERY = 'food=spam&' 'utensil=spork&' 'date=the_future&' | |
| VARIABLE_QUERY = ['actor=%s' % actor for actor in | |
| ('Graham Chapman', |
| # coding=utf-8 | |
| # 功能:删除某个文件夹下面所有的cvs文件夹 | |
| import os,shutil | |
| # 删除某个项目里面所有为CVS的文件夹 | |
| def del_dirs(path): | |
| for parent,dirnames,filenames in os.walk(path): | |
| for dirname in dirnames: | |
| if dirname == 'CVS': | |
| p = os.path.join(parent,dirname) |
| Windows Registry Editor Version 5.00 | |
| ; Default color scheme | |
| ; for Windows command prompt. | |
| ; Values stored as 00-BB-GG-RR | |
| [HKEY_CURRENT_USER\Console] | |
| ; BLACK DGRAY | |
| "ColorTable00"=dword:00000000 | |
| "ColorTable08"=dword:00808080 | |
| ; BLUE LBLUE |
I use tmux splits (panes). Inside one of these panes there's a Vim process, and it has its own splits (windows).
In Vim I have key bindings C-h/j/k/l set to switch windows in the given direction. (Vim default mappings for windows switching are the same, but prefixed with C-W.) I'd like to use the same keystrokes for switching tmux panes.
An extra goal that I've solved with a dirty hack is to toggle between last active panes with C-\.
Here's how it should work:
| #pragma once | |
| #include <string> | |
| #include <boost/archive/iterators/binary_from_base64.hpp> | |
| #include <boost/archive/iterators/transform_width.hpp> | |
| #include <boost/iterator/filter_iterator.hpp> | |
| #include <boost/algorithm/string.hpp> | |
| function(input, output) { | |
| output$textDisplay <- renderTable({ | |
| getMat = matrix( | |
| c(paste(input$checkGroup, collapse=','), class(input$checkGroup), | |
| input$boxInput, class(input$boxInput), | |
| as.character(as.Date(input$theDate, origin = "1970-01-01")), class(input$theDate), | |
| paste(as.character(as.Date(input$dateRange[[1]], origin = "1970-01-01")), | |
| as.character(as.Date(input$dateRange[[2]], origin = "1970-01-01")), |