(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
:
(require 'iimage) | |
(autoload 'iimage-mode "iimage" "Support Inline image minor mode." t) | |
(autoload 'turn-on-iimage-mode "iimage" "Turn on Inline image minor mode." t) | |
(add-to-list 'iimage-mode-image-regex-alist '("@startuml\s+\\(.+\\)" . 1)) | |
;; Rendering plantuml | |
(defun plantuml-render-buffer () | |
(interactive) | |
(message "PLANTUML Start rendering") | |
(shell-command (concat "java -jar ~/Downloads/plantuml.jar " |
--- vim73_compile_diffs\enable_python26\build_vim_original.bat 2011-03-01 14:49:28 +0000 | |
+++ vim73_compile_diffs\enable_python26\build_vim.bat 2011-03-01 15:13:56 +0000 | |
@@ -1,8 +1,8 @@ | |
@echo off | |
REM ------- specify Vim /src folder ---------------- | |
-set VIMSRC=E:\devel\vim73\src | |
+set VIMSRC=E:\temp\vim\vim73\src | |
REM ------- add MinGW /bin directory to PATH ------- | |
-PATH = %PATH%;E:\MinGW\bin; | |
+PATH = %PATH%;H:\MinGW\bin;H:\PortablePython_1.1_py2.6.1\App |
--- E:\temp\vim\vim73\src\feature_original.h 2011-03-01 13:58:38 +0000 | |
+++ E:\temp\vim\vim73\src\feature.h 2011-03-01 15:30:11 +0000 | |
@@ -1239,7 +1239,8 @@ | |
# if ((defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA)) \ | |
&& defined(HAVE_X11_XPM_H)) \ | |
|| defined(FEAT_GUI_GTK) \ | |
- || (defined(WIN32) && defined(FEAT_GUI)) | |
+ || (defined(WIN32) && defined(FEAT_GUI)) \ | |
+ || defined(FEAT_NORMAL) | |
# define FEAT_SIGN_ICONS |
--- E:\temp\dng_sdk_1_3\dng_sdk\source\dng_validate.cpp_original 2009-06-22 13:07:00 +0000 | |
+++ E:\temp\dng_sdk_1_3\dng_sdk\source\dng_validate.cpp 2011-03-22 15:25:46 +0000 | |
@@ -63,6 +63,7 @@ | |
static dng_string gDumpStage3; | |
static dng_string gDumpTIF; | |
static dng_string gDumpDNG; | |
+static dng_string gDumpTXT; | |
/*****************************************************************************/ | |
{-# LANGUAGE FlexibleContexts #-} | |
{-# LANGUAGE FlexibleInstances #-} | |
{-# LANGUAGE MultiParamTypeClasses #-} | |
{-# LANGUAGE OverloadedStrings #-} | |
module Main where | |
import Control.Failure (Failure(..)) | |
import Control.Monad.Trans (MonadIO, liftIO, lift) | |
import Control.Monad.IO.Control (MonadControlIO) |
pm list packages -f |
import Data.Maybe | |
import Control.Monad (liftM) | |
import Data.List (isPrefixOf) | |
import qualified Data.Map as M | |
import qualified Data.Foldable as F | |
-- | Trie container data type | |
data Trie a = Trie { value :: Maybe a | |
, children :: M.Map Char (Trie a) } | |
deriving (Show) |
:: First installed devkit from rubyinstaller page to E:\Programme\DevKit | |
:: Then installed Ruby193 from rubyinstaller page to E:\Programme\Ruby193 | |
:: opened cmd.exe prompt | |
pushd E:\Programme\DevKit | |
set PATH=E:\Programme\Ruby193\bin;%PATH% | |
ruby dk.rb init | |
ruby dk.rb review | |
ruby dk.rb install | |
gem install rdiscount --platform=ruby | |
ruby -rubygems -e "require 'rdiscount'; puts RDiscount.new('**Hello RubyInstaller**').to_html" |
# source: http://st-on-it.blogspot.com/2010/01/how-to-move-folders-between-git.html | |
# First of all you need to have a clean clone of the source repository so we didn't screw the things up. | |
git clone git://server.com/my-repo1.git | |
# After that you need to do some preparations on the source repository, nuking all the entries except the folder you need to move. Use the following command | |
git filter-branch --subdirectory-filter your_dir -- -- all | |
# This will nuke all the other entries and their history, creating a clean git repository that contains only data and history from the directory you need. If you need to move several folders, you have to collect them in a single directory using the git mv command. |