Permalink
Browse files

more plugins

  • Loading branch information...
1 parent 29df46f commit 4b0be0db5f227ef8cd59519c962a29b58182ef87 @benalexander committed Aug 12, 2011
Showing with 3,669 additions and 1 deletion.
  1. +1 −0 .VimballRecord
  2. +10 −1 .vimrc
  3. +1,073 −0 autoload/tcomment.vim
  4. +301 −0 doc/easymotion.txt
  5. +36 −0 doc/tags
  6. +359 −0 doc/tcomment.txt
  7. +1 −0 ftdetect/types.vim
  8. +1,087 −0 ftplugin/html/sparkup.py
  9. +74 −0 ftplugin/html/sparkup.vim
  10. +585 −0 plugin/EasyMotion.vim
  11. +142 −0 plugin/tcomment.vim
View
@@ -0,0 +1 @@
+tcomment.vba: call delete('/Users/benalexander/.vim/doc/tcomment.txt')|call delete('/Users/benalexander/.vim/plugin/tcomment.vim')|call delete('/Users/benalexander/.vim/autoload/tcomment.vim')
View
11 .vimrc
@@ -44,8 +44,17 @@ set nofoldenable "dont fold by default
set foldlevel=1 "this is just what i use
"colors
-"colorscheme vividchalk
+colorscheme vividchalk
"
filetype on
filetype plugin on
filetype indent on
+
+" nerd tree shortcut
+map <leader>n :NERDTree<CR>
+
+" conqueterm shortcut
+map <leader>sh :ConqueTerm bash<CR>
+
+
+
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -0,0 +1,301 @@
+*easymotion.txt* Version 1.2. Last change: 2011 Apr 3
+
+
+ ______ __ ___ __ _
+ / ____/____ ________ __/ |/ /____ / /_(_)____ ____
+ / __/ / __ `/ ___/ / / / /|_/ // __ \/ __/ // __ \/ __ \
+ / /___ / /_/ (__ ) /_/ / / / // /_/ / /_/ // /_/ / / / /
+ /_____/ \__,_/____/\__, /_/ /_/ \____/\__/_/ \____/_/ /_/
+ /____/
+ - Vim motions on speed!
+
+
+==============================================================================
+CONTENTS *easymotion-contents*
+
+ 1. Introduction ....................... |easymotion-introduction|
+ 2. Usage .............................. |easymotion-usage|
+ 2.1 Default mappings ............... |easymotion-default-mappings|
+ 3. Requirements ....................... |easymotion-requirements|
+ 4. Configuration ...................... |easymotion-configuration|
+ 4.1 EasyMotion_keys ................ |EasyMotion_keys|
+ 4.2 EasyMotion_do_shade ............ |EasyMotion_do_shade|
+ 4.3 EasyMotion_do_mapping .......... |EasyMotion_do_mapping|
+ 4.4 EasyMotion_grouping ............ |EasyMotion_grouping|
+ 4.5 Custom highlighting ............ |easymotion-custom-hl|
+ 4.6 Custom mappings ................ |easymotion-custom-mappings|
+ 5. License ............................ |easymotion-license|
+ 6. Known bugs ......................... |easymotion-known-bugs|
+ 7. Contributing ....................... |easymotion-contributing|
+ 8. Credits ............................ |easymotion-credits|
+
+==============================================================================
+1. Introduction *easymotion* *easymotion-introduction*
+
+EasyMotion provides a much simpler way to use some motions in vim. It takes
+the <number> out of <number>w or <number>f{char} by highlighting all possible
+choices and allowing you to press one key to jump directly to the target.
+
+When one of the available motions is triggered, all visible text preceding or
+following the cursor is faded, and motion targets are highlighted.
+
+==============================================================================
+2. Usage *easymotion-usage*
+
+EasyMotion is triggered by one of the provided mappings (see
+|easymotion-default-mappings| for details).
+
+Example: >
+
+ <cursor>Lorem ipsum dolor sit amet.
+
+Type <Leader>w to trigger the word motion |w|. See |mapleader| for details
+about the leader key. When the motion is triggered, the text is updated (no
+braces are actually added, the text is highlighted in red by default): >
+
+ <cursor>Lorem {a}psum {b}olor {c}it {d}met.
+
+Press "c" to jump to the beginning of the word "sit": >
+
+ Lorem ipsum dolor <cursor>sit amet.
+
+Similarly, if you're looking for an "o", you can use the |f| motion.
+Type <Leader>fo, and all "o" characters are highlighted: >
+
+ <cursor>L{a}rem ipsum d{b}l{c}r sit amet.
+
+Press "b" to jump to the second "o": >
+
+ Lorem ipsum d<cursor>olor sit amet.
+
+And that's it!
+
+------------------------------------------------------------------------------
+2.1 Default mappings *easymotion-default-mappings*
+
+The default configuration defines the following mappings in normal,
+visual and operator-pending mode:
+
+ Mapping | Details
+ ------------------|----------------------------------------------
+ <Leader>f{char} | Find {char} to the right. See |f|.
+ <Leader>F{char} | Find {char} to the left. See |F|.
+ <Leader>t{char} | Till before the {char} to the right. See |t|.
+ <Leader>T{char} | Till after the {char} to the left. See |T|.
+ <Leader>w | Beginning of word forward. See |w|.
+ <Leader>W | Beginning of WORD forward. See |W|.
+ <Leader>b | Beginning of word backward. See |b|.
+ <Leader>B | Beginning of WORD backward. See |B|.
+ <Leader>e | End of word forward. See |e|.
+ <Leader>E | End of WORD forward. See |E|.
+ <Leader>ge | End of word backward. See |ge|.
+ <Leader>gE | End of WORD backward. See |gE|.
+ <Leader>j | Line downward. See |j|.
+ <Leader>k | Line upward. See |k|.
+
+See |mapleader| for details about the leader key.
+See |easymotion-custom-mappings| for customizing default mappings.
+
+==============================================================================
+3. Requirements *easymotion-requirements*
+
+EasyMotion has been developed and tested in vim 7.3, but it should run without
+any problems in vim 7.2.
+
+Vi-compatible mode must be disabled.
+
+==============================================================================
+4. Configuration *easymotion-configuration*
+
+EasyMotion will work fine without any configuration, but you can override the
+default behavior by setting configuration variables globally in your |vimrc|
+file.
+
+Example (this will change the target keys and disable shading): >
+
+ let g:EasyMotion_keys = '1234567890'
+ let g:EasyMotion_do_shade = 0
+
+------------------------------------------------------------------------------
+4.1 EasyMotion_keys *EasyMotion_keys*
+
+Set the keys which will be used for motion targets. Add as many keys as you
+want. There's a lower chance that the motion targets will be grouped if many
+keys are available.
+
+Default: 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
+
+------------------------------------------------------------------------------
+4.2 EasyMotion_do_shade *EasyMotion_do_shade*
+
+The default behavior is to shade the text following the cursor (forward
+motions) or preceding the cursor (backward motions) to make the motion targets
+more visible. Set this option to 0 if you want to disable text shading.
+
+Default: 1
+
+------------------------------------------------------------------------------
+4.3 EasyMotion_do_mapping *EasyMotion_do_mapping*
+
+Set this option to 0 if you want to disable the default mappings. See
+|easymotion-default-mappings| for details about the default mappings.
+
+Note: If you disable this option, you'll have to map the motions yourself. See
+the plugin source code for mapping details. You usually shouldn't need to do
+this, see |easymotion-custom-mappings| for customizing the default mappings.
+
+Default: 1
+
+------------------------------------------------------------------------------
+4.4 EasyMotion_grouping *EasyMotion_grouping*
+
+When there are too many possible targets on the screen, the results have to be
+grouped. This configuration option lets you change which grouping algorithm
+you want to use. There are two grouping algorithms available:
+
+ * Single-key priority (value: 1)
+ -------------------
+
+ This algorithm prioritizes single-key jumps for the targets closest to
+ the cursor and only groups the last jump targets to maximize the amount
+ of single-key jumps.
+
+ This algorithm works recursively and will work with as few keys as two.
+
+ Example (with |EasyMotion_keys| = "abcdef"): >
+
+ x x x x x x x x x
+<
+ The |w| motion is triggered: >
+
+ a b c d e f f f f
+ ^ ^ ^ ^ ^ Direct jump to target
+ ^ ^ ^ ^ Enter group "f"
+<
+ * Original (value: 2)
+ --------
+
+ This is the original algorithm which always groups all targets if there
+ are too many possible motion targets.
+
+ Example (with |EasyMotion_keys| = "abcdef"): >
+
+ x x x x x x x x x
+<
+ The |w| motion is triggered: >
+
+ a a a a a a b b b
+ ^ ^ ^ ^ ^ ^ Enter group "a"
+ ^ ^ ^ Enter group "b"
+
+Default: 1
+
+------------------------------------------------------------------------------
+4.5 Custom highlighting *easymotion-custom-hl*
+
+The default EasyMotion configuration uses two highlighting groups that link
+to groups with default values. The highlighting groups are:
+
+ * EasyMotionTarget
+
+ Highlights motion targets, the default value is bold red
+
+ * EasyMotionShade
+
+ Highlights shaded text, the default value is dark gray
+
+There are two ways to override the default colors:
+
+ 1) Set the highlighting in your color scheme
+
+ This will only affect a single color scheme. The default red/gray colors
+ will be used if you change the color scheme to one that doesn't assign
+ any EasyMotion colors.
+
+ Example: >
+
+ hi EasyMotionTarget ctermbg=none ctermfg=green
+ hi EasyMotionShade ctermbg=none ctermfg=blue
+<
+ 2) Set the highlighting in your vimrc
+
+ This is ideal if you want to link the colors to highlighting groups that
+ are available in almost every color scheme, e.g. |ErrorMsg| (usually
+ bright red) and Comment (usually faded). You can be sure that the
+ color scheme's colors will be used instead of the default red/gray
+ if you choose this option.
+
+ Example: >
+
+ hi link EasyMotionTarget ErrorMsg
+ hi link EasyMotionShade Comment
+<
+------------------------------------------------------------------------------
+4.6 Custom mappings *easymotion-custom-mappings*
+
+EasyMotion allows you to customize all default mappings to avoid conflicts
+with existing mappings. First, it is possible to change the default <leader>
+key of all mappings to another key or sequence. It is also possible to fine
+tune this plugin to your need by changing every single sequence.
+
+4.6.1 EasyMotion_leader_key *easymotion-leader-key*
+
+Set this option to the key sequence to use as the prefix of the mappings
+described in |easymotion-default-mappings|.
+
+Default: '<Leader>'
+
+4.6.2 Custom Keys
+
+All custom mappings follow the same variable format: >
+
+ EasyMotion_mapping_{motion} = {mapping}
+
+Example: >
+
+ let g:EasyMotion_mapping_f = '_f'
+ let g:EasyMotion_mapping_T = '<C-T>'
+
+See |easymotion-default-mappings| for a table of motions that can be mapped
+and their default values.
+
+Note: The leader key defined by EasyMotion_leader_key is not prepended to your
+customized mappings. You have to give full key sequences.
+
+==============================================================================
+5. License *easymotion-license*
+
+Creative Commons Attribution-ShareAlike 3.0 Unported
+
+http://creativecommons.org/licenses/by-sa/3.0/
+
+==============================================================================
+6. Known bugs *easymotion-known-bugs*
+
+None.
+
+==============================================================================
+7. Contributing *easymotion-contributing*
+
+If you experience any bugs or have feature requests, please open an issue on
+GitHub. Fork the source repository on GitHub and send a pull request if you
+have any code improvements.
+
+Author: Kim Silkebækken <kim.silkebaekken+vim@gmail.com>
+Source repository: https://github.com/Lokaltog/vim-easymotion
+
+==============================================================================
+8. Credits *easymotion-credits*
+
+- Ben Boeckel: ge and WORD motions
+- Drew Neil: operator-pending mappings
+- Rob O'Dwyer: customizable mappings without giving up all defaults
+- Michel D'Hooge: customizable leader
+
+EasyMotion is based on Bartlomiej Podolak's great PreciseJump script, which
+can be downloaded here:
+
+http://www.vim.org/scripts/script.php?script_id=3437
+
+==============================================================================
+vim:tw=78:sw=4:ts=8:ft=help:norl:
View
@@ -29,6 +29,12 @@
:NERDTreeFromBookmark NERD_tree.txt /*:NERDTreeFromBookmark*
:NERDTreeMirror NERD_tree.txt /*:NERDTreeMirror*
:NERDTreeToggle NERD_tree.txt /*:NERDTreeToggle*
+:TComment tcomment.txt /*:TComment*
+:TCommentAs tcomment.txt /*:TCommentAs*
+:TCommentBlock tcomment.txt /*:TCommentBlock*
+:TCommentInline tcomment.txt /*:TCommentInline*
+:TCommentMaybeInline tcomment.txt /*:TCommentMaybeInline*
+:TCommentRight tcomment.txt /*:TCommentRight*
ConqueTerm conque_term.txt /*ConqueTerm*
ConqueTerm_CWInsert conque_term.txt /*ConqueTerm_CWInsert*
ConqueTerm_CloseOnEnd conque_term.txt /*ConqueTerm_CloseOnEnd*
@@ -151,6 +157,27 @@ cs surround.txt /*cs*
ds surround.txt /*ds*
g:snippets_dir snipMate.txt /*g:snippets_dir*
g:snips_author snipMate.txt /*g:snips_author*
+g:tcomment#ignore_char_type tcomment.txt /*g:tcomment#ignore_char_type*
+g:tcomment#syntax_substitute tcomment.txt /*g:tcomment#syntax_substitute*
+g:tcommentBlankLines tcomment.txt /*g:tcommentBlankLines*
+g:tcommentBlockC tcomment.txt /*g:tcommentBlockC*
+g:tcommentBlockC2 tcomment.txt /*g:tcommentBlockC2*
+g:tcommentBlockXML tcomment.txt /*g:tcommentBlockXML*
+g:tcommentGuessFileType tcomment.txt /*g:tcommentGuessFileType*
+g:tcommentGuessFileType_django tcomment.txt /*g:tcommentGuessFileType_django*
+g:tcommentGuessFileType_dsl tcomment.txt /*g:tcommentGuessFileType_dsl*
+g:tcommentGuessFileType_html tcomment.txt /*g:tcommentGuessFileType_html*
+g:tcommentGuessFileType_php tcomment.txt /*g:tcommentGuessFileType_php*
+g:tcommentGuessFileType_tskeleton tcomment.txt /*g:tcommentGuessFileType_tskeleton*
+g:tcommentGuessFileType_vim tcomment.txt /*g:tcommentGuessFileType_vim*
+g:tcommentIgnoreTypes_php tcomment.txt /*g:tcommentIgnoreTypes_php*
+g:tcommentInlineC tcomment.txt /*g:tcommentInlineC*
+g:tcommentInlineXML tcomment.txt /*g:tcommentInlineXML*
+g:tcommentMapLeaderOp1 tcomment.txt /*g:tcommentMapLeaderOp1*
+g:tcommentMapLeaderOp2 tcomment.txt /*g:tcommentMapLeaderOp2*
+g:tcommentOpModeExtra tcomment.txt /*g:tcommentOpModeExtra*
+g:tcommentOptions tcomment.txt /*g:tcommentOptions*
+g:tcommentSyntaxMap tcomment.txt /*g:tcommentSyntaxMap*
i_CTRL-G_S surround.txt /*i_CTRL-G_S*
i_CTRL-G_s surround.txt /*i_CTRL-G_s*
i_CTRL-R_<Tab> snipMate.txt /*i_CTRL-R_<Tab>*
@@ -186,6 +213,15 @@ surround-mappings surround.txt /*surround-mappings*
surround-replacements surround.txt /*surround-replacements*
surround-targets surround.txt /*surround-targets*
surround.txt surround.txt /*surround.txt*
+tcomment#Comment() tcomment.txt /*tcomment#Comment()*
+tcomment#CommentAs() tcomment.txt /*tcomment#CommentAs()*
+tcomment#DefineType() tcomment.txt /*tcomment#DefineType()*
+tcomment#Operator() tcomment.txt /*tcomment#Operator()*
+tcomment#OperatorAnyway() tcomment.txt /*tcomment#OperatorAnyway()*
+tcomment#OperatorLine() tcomment.txt /*tcomment#OperatorLine()*
+tcomment#OperatorLineAnyway() tcomment.txt /*tcomment#OperatorLineAnyway()*
+tcomment-maps tcomment.txt /*tcomment-maps*
+tcomment.txt tcomment.txt /*tcomment.txt*
vS surround.txt /*vS*
vgS surround.txt /*vgS*
vs surround.txt /*vs*
Oops, something went wrong.

0 comments on commit 4b0be0d

Please sign in to comment.