Remember VIM is all about combining commands. These are just the basics with a few combination examples.
Tutor - vimtutor from command line
- i - start insert mode at cursor
- I - insert at the beginning of the line
############################################################# | |
# Application | |
############################################################# | |
set :application, "is_that_odd" | |
set :deploy_to, "/mnt/app/#{application}" | |
set :repository, "repo" | |
############################################################# | |
# Settings |
[core] | |
repositoryformatversion = 0 | |
filemode = true | |
bare = false | |
logallrefupdates = true | |
ignorecase = true | |
[remote "origin"] | |
url = git@github.com:deckpeck/fisie.git | |
fetch = +refs/heads/*:refs/remotes/fisie/* | |
push = refs/heads/master:refs/heads/master |
def size_select | |
change_attribute(:size) | |
end | |
def color_select | |
change_attribute(:color) | |
end | |
def change_attribute(attribute) | |
line_item = LineItem.find(params[:id]) |
Fetching DiskWriteBytes with 29004450 | |
Fetching DiskReadOps with 28978930 | |
Fetching NetworkOut with 28964980 | |
Fetching CPUUtilization with 28956230 | |
Fetching DiskReadBytes with 28947910 | |
Fetching NetworkIn with 28932220 | |
Fetching DiskWriteOps with 28922170 | |
warning: peer certificate won't be verified in this SSL session | |
warning: peer certificate won't be verified in this SSL session | |
warning: peer certificate won't be verified in this SSL session |
module SimpleForm | |
module Components | |
module Errors | |
def error | |
template.content_tag(error_tag, error_text, error_html_options) #if has_errors? | |
end | |
end | |
end | |
end |
1. Sandwiches must have two or more slices of bread. | |
2. Sandwiches must be delicious. | |
3. Sandwiches must be smaller than that consuming them. |
/* cairo - a vector graphics library with display and print output | |
* | |
* Copyright © 2002 University of Southern California | |
* | |
* This library is free software; you can redistribute it and/or | |
* modify it either under the terms of the GNU Lesser General Public | |
* License version 2.1 as published by the Free Software Foundation | |
* (the "LGPL") or, at your option, under the terms of the Mozilla | |
* Public License Version 1.1 (the "MPL"). If you do not alter this | |
* notice, a recipient may use your version of this file under either |
$(".menu ul li").live('click', function(){ | |
//show the loading bar | |
showLoading(); | |
//load selected section | |
switch(this.id){ | |
case "home": | |
navmenu.load("navmenu.html #zhome", hideLoading); | |
break; | |
case "our-team": | |
navmenu.load("navmenu.html #zour-team", hideLoading); |