forked from vgod/vimrc
-
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
Showing
2 changed files
with
79 additions
and
64 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 |
---|---|---|
@@ -1 +1,70 @@ | ||
vgod's .vimrc and .vim. | ||
vgod's vimrc | ||
============ | ||
Author: Tsung-Hsiang (Sean) Chang <vgod@vgod.tw> | ||
Fork me on GITHUB https://github.com/vgod/vimrc | ||
|
||
HOW TO INSTALL | ||
-------------- | ||
|
||
0. Check out from github | ||
$ git clone https://github.com/vgod/vimrc ~/.vim | ||
$ cd ~/.vim | ||
$ git submodule update --init | ||
1. Install ~/.vimrc and ~/.gvimrc | ||
$ ./install-vimrc.sh | ||
2. Compile the Command-T plugin | ||
$ cd .vim/bundle/command-t/ruby/command-t | ||
$ ruby extconf.rb | ||
$ make | ||
|
||
UPGRADE PLUGIN BUNDLES | ||
---------------------- | ||
|
||
If a plugin was checked out as a git submodule, you can upgrade the plugin | ||
with git pull. For example, | ||
$ cd ~/.vim/bundle/command-t | ||
$ git pull | ||
|
||
HOW TO USE | ||
---------- | ||
|
||
see the "USEFUL SHORTCUTS" section to learn my shortcuts. | ||
|
||
Plugins | ||
------- | ||
|
||
vim-surround: deal with pairs of surroundings. | ||
https://github.com/tpope/vim-surround/blob/master/doc/surround.txt | ||
|
||
Command-T: open and navigate between files with cmd-t | ||
https://github.com/wincent/Command-T | ||
|
||
snipMate: TextMate-style snippets for Vim | ||
http://www.vim.org/scripts/script.php?script_id=2540 | ||
:help snipMate to see more info. | ||
|
||
YankRing: Maintains a history of previous yanks, changes and deletes | ||
http://www.vim.org/scripts/script.php?script_id=1234 | ||
:help yankring to see more info. | ||
|
||
VisIncr: Produce increasing/decreasing columns of numbers, dates, or daynames | ||
http://www.vim.org/scripts/script.php?script_id=670 | ||
|
||
Cute Error Marker: showing error and warning icons on line | ||
http://www.vim.org/scripts/script.php?script_id=2653 | ||
Note: MacVim users need to enable "Use experimental renderer" to see | ||
graphical icons. | ||
|
||
|
||
Language specific supports | ||
-------------------------- | ||
|
||
Latex: vim-latex | ||
Restructured Text: ctrl-u 1~5 inserts Part/Chapter/Section headers | ||
CSS: ctrl-x ctrl-o to do omnicompletion | ||
|
||
Other good references | ||
--------------------- | ||
|
||
http://amix.dk/vim/vimrc.html | ||
http://spf13.com/post/perfect-vimrc-vim-config-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