This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 642cf49
Showing
18 changed files
with
1,564 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# 5 minutes in vim heaven # | ||
|
||
|
||
david stanek <[email protected]> | ||
[blog](http://traceback.org) | ||
|
||
may 1, 2012 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# let't get crazy! # | ||
|
||
|
||
* this can be a 45 hr talk and you'll get to see it in 5 minutes! | ||
|
||
* you don't have to memorize everything because it's aleady on | ||
[github](https://github.com/dstanek/5-minutes-in-vim) | ||
|
||
* i'm happy to help you with your vim configs | ||
|
||
* i'm happy to have longer demos or whatever |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# agenda: in case i don't get through it all # | ||
|
||
|
||
* plugins | ||
* pathogen | ||
* command-t | ||
* snipmate | ||
* gundo | ||
* tasklist | ||
|
||
* completion | ||
|
||
* misc stuff | ||
* line numbering | ||
* crosshairs | ||
* retab | ||
* buffer shortcut | ||
|
||
* but wait...there's more! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# plugins i use # | ||
|
||
## and you should^H^H^H must be using too ## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# pathogen is gitastic # | ||
|
||
|
||
* allows plugins to be installed as bundles: | ||
|
||
tmux:0 | ||
|
||
* use git submodules to manage you plugins | ||
|
||
tmux:1 | ||
|
||
* this is not optional if you are sane | ||
|
||
* as easy to configure as: | ||
|
||
" {{{ pathogen setup | ||
|
||
runtime bundle/vim-pathogen/autoload/pathogen.vim | ||
call pathogen#infect() | ||
|
||
" }}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# command-t is rubylicious # | ||
|
||
|
||
* better than buffers alone | ||
|
||
* needs vim with ruby support compiled in | ||
|
||
% goto: vim:2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# snipmate remove redundant typing # | ||
|
||
|
||
* comes with a ton of templates | ||
|
||
* you can create your own too! | ||
|
||
* <tab> for the win! | ||
|
||
* supports several languages out of the box | ||
|
||
* quick Python demo - %vim:3 | ||
|
||
* quick Java demo - %vim:4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# gundo navigates the tree of changes | ||
# %vim:5 | ||
# | ||
|
||
Given a file where I made a set of changes | ||
And backed them out | ||
And made some more changes | ||
When I type ,U | ||
Then I will see the change graph | ||
|
||
|
||
Given that same file showing the change graph | ||
When I type ,U | ||
Then I will the graph panel will close |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# misc. stuff # | ||
|
||
## a grab bag of yummy goodies! ## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# line numbering made easy | ||
# %vim:5 | ||
# | ||
|
||
Given a large Python file | ||
And line numbering enabled | ||
When I type ,n | ||
Then line numbering will be disabled | ||
|
||
|
||
Given a large Python file | ||
And line numbering disabled | ||
When I type ,n | ||
Then line numbering will be enabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# badass cross hairs | ||
# %vim:5 | ||
# | ||
|
||
Given a large Python file | ||
And crosshairs disabled | ||
When I type ,c | ||
Then crosshairs will be enabled | ||
|
||
|
||
Given a large Python file | ||
And crosshairs enabled | ||
When I type ,c | ||
Then crosshairs will be disabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
= but wait...there's more! = | ||
|
||
* refactoring with rope | ||
|
||
* ctags | ||
|
||
* pylint | ||
|
||
* pep8 | ||
|
||
* redbar/greenbar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
Activate | ||
,t | ||
|
||
Select | ||
<cr> | ||
- or - | ||
<c-enter> | ||
|
||
Next/Prev | ||
<c-n> | ||
<c-p> | ||
|
||
Cancel | ||
<esc> | ||
- or - | ||
<c-c> |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# tab and retab went into a bar | ||
# | ||
|
||
Given a file that mixes tabs and spaces | ||
When I run :retab | ||
Then the entire file is converted according | ||
To my tab settings | ||
|
||
|
||
Given a file that mixes tabs and spaces | ||
When I run :retab on selected lines | ||
Then the selected lines are converted according | ||
To my tab settings |
Oops, something went wrong.