Begin the region at the cursor C-SPACE
then move the cursor around how you like, cursor keys, fwd-back word/line/sentence etc...
C-w
kills the selected region and puts it in the clipboard (kill-ring)
INSERT INTO "libraries" ("id","name","package","repository","created_at","updated_at","license","host","description","homepage","docs","tags","creator","summary","sourcepath") VALUES(1,'Papervision P3D','svn','http://papervision3d.googlecode.com/svn/trunk/','2010-05-19 12:49:48','2010-06-19 00:25:54','MIT licence','http://code.google.com','  | |
Getting started and other questions: [http://forum.papervision3d.org](http://forum.papervision3d.org) | |
','http://papervision3d.googlecode.com/','http://papervision3d.googlecode.com/svn/trunk/as3/trunk/docs/index.html','3d, graphics','','Papervision3D is an open source 3D engine for the Flash platform',''); | |
INSERT INTO "libraries" ("id","name","package","repository","created_at","updated_at","license","host","description","homepage","docs","tags","creator","summary","sourcepath") VALUES(2,'SiON','svn','http://www.libspark.org/svn/as3/SiOPM/trunk/','2010-05-19 12:51:30','2010-06-05 13:19:03','custom open source - attribution',' |
package onebyone { | |
import flash.display.Bitmap; | |
import flash.display.BitmapData; | |
import flash.display.DisplayObjectContainer; | |
import flash.display.Sprite; | |
import flash.events.Event; | |
import flash.filters.BlurFilter; | |
import flash.geom.Point; | |
import flash.geom.Rectangle; |
(defconst client-process-name "*client*") | |
(defsubst client-process () (get-process client-process-name)) | |
(defun chomp (str) | |
(if (and (stringp str) (string-match "\r?\n$" str)) | |
(replace-match "" t nil str) | |
str)) | |
(defun client-notify-connect (&rest args) | |
(message (format "Connection message [%s]" (mapcar #'chomp args)))) |
;; Move text (region or current line) up and down through a document. Reminiscent of | |
;; Eclipse Alt+up/down or NetBeans Alt+S+up/down. | |
(defun move-text-internal (arg) | |
(cond | |
((and mark-active transient-mark-mode) | |
(if (> (point) (mark)) | |
(exchange-point-and-mark)) | |
(let ((column (current-column)) | |
(text (delete-and-extract-region (point) (mark)))) |
;; gist.el --- Emacs integration for gist.github.com | |
;; Author: Christian Neukirchen <purl.org/net/chneukirchen> | |
;; Maintainer: Chris Wanstrath <[email protected]> | |
;; Contributors: | |
;; Will Farrington <[email protected]> | |
;; Michael Ivey | |
;; Phil Hagelberg | |
;; Dan McKinley | |
;; Version: 0.4 |
PROMPT='$fg_bold[cyan][$fg[white]%t$fg_bold[cyan] ]$fg_bold[cyan] [$fg[white]%n@%m$fg_bold[cyan]] | |
[$fg[white]%~$(git_prompt_info)$fg[white]$(rvm_prompt_info)$fg_bold[cyan]]$reset_color | |
$ ' | |
# git theming | |
ZSH_THEME_GIT_PROMPT_PREFIX=" $fg_bold[red]($fg_bold[white]" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="$fg_bold[red])" | |
ZSH_THEME_GIT_PROMPT_CLEAN="" | |
ZSH_THEME_GIT_PROMPT_DIRTY="$fg_bold[cyan]*" | |
;; Dropins | |
;; This extension provides a simple way to load a set of libraries | |
;; by placing them in a named folder. This is similar to the site-lisp | |
;; folder in the Emacs directory, however, Dropins defaults to a folder | |
;; within the user HONE. | |
;; | |
(defgroup dropins nil | |
"Library dropin folder" | |
:group 'convenience |
;;; darkroom-mode.el - Distraction free editing mode | |
;; Author: Martin Svenson | |
;; Usage: M-x darkroom-mode | |
;; License: free for all usages/modifications/distributions/whatever. | |
;; Requirements: w32-fullscreen.el or something similar under *nix | |
(require 'cl) | |
(require 'w32-fullscreen) |