1
0
mirror of https://github.com/amix/vimrc synced 2025-06-23 15:04:59 +08:00

Added markdown plugin. Added README.md

This commit is contained in:
amix
2012-05-29 17:32:24 -04:00
parent a75f80898f
commit a1e88cb87c
6 changed files with 301 additions and 31 deletions

View File

@ -188,6 +188,8 @@ map k gk
" Map <Space> to / (search) and Ctrl-<Space> to ? (backwards search)
map <space> /
map <c-space> ?
" Disable highlight when <leader><cr> is pressed
map <silent> <leader><cr> :noh<cr>
" Smart way to move between windows
@ -276,10 +278,10 @@ autocmd BufWrite *.coffee :call DeleteTrailingWS()
" When you press gv you vimgrep after the selected text
vnoremap <silent> gv :call VisualSelection('gv')<CR>
" Some useful keys for vimgrep
" Open vimgrep and put the cursor in the right position
map <leader>g :vimgrep // **/*.<left><left><left><left><left><left><left>
" Leader space vimgreps in the current file
" Vimgreps in the current file
map <leader><space> :vimgrep // <C-R>%<C-A><right><right><right><right><right><right><right><right><right>
" When you press <leader>r you can search and replace the selected text

View File

@ -85,7 +85,7 @@ cnoremap <C-N> <Down>
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Parenthesis/bracket expanding
" => Parenthesis/bracket
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
vnoremap $1 <esc>`>a)<esc>`<i(<esc>
vnoremap $2 <esc>`>a]<esc>`<i[<esc>

View File

@ -12,7 +12,7 @@ call pathogen#infect('~/.vim_runtime/sources_plugins')
call pathogen#infect('~/.vim_runtime/sources_forked')
call pathogen#infect('~/.vim_runtime/sources_colors')
call pathogen#infect('~/.vim_runtime/sources_misc')
call pathogen#helptags()
""""""""""""""""""""""""""""""
" => bufExplorer plugin