(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
:
# 0 is too far from ` ;) | |
set -g base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on | |
set-option -g set-titles on | |
#set -g default-terminal screen-256color | |
set -g status-keys vi | |
set -g history-limit 10000 |
Don't do the crime, if you can't do the time.
-- Anthony Vincenzo "Tony" Baretta
Vim is an amazing text editor. I love it. Really, I wouldn't [organize][organize] a Vim advent calendar if I didn't. But, as amazing as it is, Vim is not for everyone. It can't solve all your problems, or be a TUI version of your favorite IDE, or make you a better programmer, or land you that dream job in the Bay Area. But Vim can help you be more mindful, focused, and efficient, as long as you approach it with the right mindset.
Don't get me wrong, I certainly welcome you to try Vim, but I'm not a proselyte. I don't thrive on newbies. I just want you to use the right tool for the job and not waste your—and anyone's—time on a fruitless quest.
yum -y groupinstall "Development Tools" | |
yum -y install gtk+-devel gtk2-devel | |
yum -y install libXpm-devel | |
yum -y install libpng-devel | |
yum -y install giflib-devel |
These are the simplified pricing and storage numbers for Mendeley subscription plans as of 2019-01-10:
Plan | Price/month | Price/year (/month) | Storage |
---|---|---|---|
Plus | $4.99 | $55 ($4.58) | 5GB |
Pro | $9.99 | $110 ($9.17) | 10GB |
Max | $14.99 | $165 ($13.75) | 100GB* |
This information is available only from their [upgrade page] and can only be
#!/bin/bash | |
### | |
### my-script — does one thing well | |
### | |
### Usage: | |
### my-script <input> <output> | |
### | |
### Options: | |
### <input> Input file to read. | |
### <output> Output file to write. Use '-' for stdout. |
[ | |
// Working in some additional Vim or Vim-like bindings; using 'g' as <leader> | |
// because it's homerow and unused for most commands: | |
{ "keys": ["g", "t"], "command": "next_view", "context": [{"key": "setting.command_mode"}] }, | |
{ "keys": ["g", "r"], "command": "prev_view", "context": [{"key": "setting.command_mode"}] }, | |
{ "keys": ["g", "n"], "command": "focus_side_bar", "context": [{"key": "setting.command_mode"}] }, | |
{ "keys": ["g", "w"], "command": "focus_group", "args": { "group": 0 } }, | |
{ "keys": ["g", "m"], "command": "find_under_expand", "context": [{"key": "setting.command_mode"}] }, | |
{ "keys": ["g", "s"], "command": "sftp_browse_server", "context": [{"key": "setting.command_mode"}] }, |
Comments? sacha@sachachua.com
# -*- coding: utf-8 -*- | |
""" | |
crawl genecard, fetch gene infos. | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
usage: fetch-genecard.py [-h] [--xpath XPATH] [--base-url BASE_URL] | |
[--num NUM] [--timeout TIMEOUT] | |
id_list |