https://github.com/leecade/dotvim
sync vim config
https://github.com/leecade/dotvim
Last synced: 5 months ago
JSON representation
sync vim config
- Host: GitHub
- URL: https://github.com/leecade/dotvim
- Owner: leecade
- Created: 2013-03-28T18:06:50.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-09-05T22:31:15.000Z (almost 13 years ago)
- Last Synced: 2025-10-08T19:38:10.336Z (9 months ago)
- Language: VimL
- Size: 258 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
dotvim
======
base `vim-pathogen` & `git submodule`
# INSTALL
```bash
$ cd ~
$ git clone git://github.com/leecade/dotvim.git .vim
$ cd ~/.vim
$ sh install.sh
```
# Add a bundle
```bash
$cd ~/.vim
$ git submodule add git://github.com/tpope/vim-markdown.git bundle/vim-markdown
```
# Remove a bundle
```bash
$ git rm bundle/vim-markdown
```
# Update bundle
```bash
$ cd ~/.vim
$ sh update.sh
```
# USAGE
* `,d` brings up [NERDTree](https://github.com/scrooloose/nerdtree), a sidebar buffer for navigating and manipulating files
* `,t` brings up [ctrlp.vim](https://github.com/kien/ctrlp.vim), a project file filter for easily opening specific files
* `,b` restricts ctrlp.vim to open buffers
* `,a` starts project search with [ack.vim](https://github.com/mileszs/ack.vim) using [ag](https://github.com/ggreer/the_silver_searcher) (like ack)
* `ds`/`cs` delete/change surrounding characters (e.g. `"Hey!"` + `ds"` = `Hey!`, `"Hey!"` + `cs"'` = `'Hey!'`) with [vim-surround](https://github.com/tpope/vim-surround)
* `\\\` toggles current line comment
* `\\` toggles visual selection comment lines
* `vii`/`vai` visually select *in* or *around* the cursor's indent
* `,[space]` strips trailing whitespace
* `^]` jump to definition using ctags
* `,l` begins aligning lines on a string, usually used as `,l=` to align assignments
* `^hjkl` move between windows, shorthand for `^w hjkl`
# CONTRIBUTE
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request