https://github.com/rmax/dotfiles
My dot files. DEPRECATED. Go -> https://github.com/rmax/dotfiles-ng
https://github.com/rmax/dotfiles
Last synced: 5 months ago
JSON representation
My dot files. DEPRECATED. Go -> https://github.com/rmax/dotfiles-ng
- Host: GitHub
- URL: https://github.com/rmax/dotfiles
- Owner: rmax
- Created: 2010-05-23T01:37:23.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2015-07-24T02:03:56.000Z (almost 11 years ago)
- Last Synced: 2025-05-15T09:14:49.149Z (about 1 year ago)
- Language: VimL
- Homepage:
- Size: 671 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
===================
Rolando's dotfiles
===================
Vim
===
Useful Commands and Shortcuts
-----------------------------
Autocompletion
^^^^^^^^^^^^^^
Document Navigation
^^^^^^^^^^^^^^^^^^^
`g;`
Go to older position in changelist.
`g,`
Go to newer position in changelist.
`%`
Jump to matching opening or closing parenthesis.
Search, replace and highlight
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`/[term]`
Search for term.
`/[term]/e`
Search for term and put the cursor at the end.
`*`
Highlight all occurrences of current word under cursor. Hit `*`, `n`, `N` to
traverse through all ocurrences.
`:s/[search]/[replace]/`
Search and replace first occurrence.
`:%s/[search]/[replace]/`
Search and replace all occurrences in the document.
Spelling
^^^^^^^^
`set spell spelllang=en_us`
Enable spell for american english.
`[s`, `]s`
Navigate through spelling errors.
`z=`
Make correction from suggestions.
Text Formatting
^^^^^^^^^^^^^^^
`gqq`
Format current line.
`gqap`
Format current paragraph.
Paths and files
^^^^^^^^^^^^^^^
`:cd [path]`
Change global working dir to `[path]`.
`:cd %:p:h`
Change global working dir to current file's dir.
`:lcd`
Same as `:cd` but for the local window.
`:pwd`
Display current workng dir.
Quickfix Window
---------------
Erros list window generated after `:make` command.
`:cw`
Open quickfix window.
`cc`
See the error in current line.
`:cc`, `:cn`, `:cp`
See the current/next/previous error.
`:clist`
List all errors.
TagList
-------
``
Open tag list. Then `o` opens tag definition, `p` previews tag definition.
`-`
Go to tag definition of term under the cursor.
`-`
Go back in tag stack.
`!ctags -R .`
Generate tag file recursevily
Pylint
------
`:make`
Run pylint on current buffer.
See quickfix section to browser errors.
Command-t
---------
`t`
Opens command-t window, it loads current directory files recursevily.
Some files like \*~ are not loaded.
Type a pattern
The matching lets you use any single chars found in your target file.
For example: "d/v/p/c" will include "dotfiles/vim/plugins/command-t.vim".
Lusty
-----
`lj`
Open buffer list.
`lf`
Open file explorer.
`lr`
Open file explorer from here.
`lb`
Open buffer explorer.
`lg`
Open grep-enabled buffer explorer.