Removed the plugin part of the markdown plugin in polyglot and configs

This commit is contained in:
Kevin MacMartin 2014-10-14 16:13:18 -04:00
parent 1b37cf95d8
commit 22a08f5732
3 changed files with 5 additions and 28 deletions

@ -1 +1 @@
Subproject commit facec033630a248a44cac9e6f44690bca0b6eb20 Subproject commit 7b8ad6437fa928f8c934c6883127960340a653eb

View file

@ -247,16 +247,12 @@
" ?> | (A) -> close the dialog " ?> | (A) -> close the dialog
" ?< | (A) -> close the dialog " ?< | (A) -> close the dialog
" "
" (markdown) " (qf sidebar mappings)
" <Ctrl-F3> | (A) -> show heading TOC instead of the taglist
" <Alt-F3> | (A) -> show heading TOC instead of the taglist
"
" (markdown toc)
" <LClick> | (A) -> left click + left justify the cursor " <LClick> | (A) -> left click + left justify the cursor
" <MClick> | (A) -> same as the left click " <MClick> | (A) -> same as the left click
" <RClick> | (A) -> same as the left click " <RClick> | (A) -> same as the left click
" <LClick><LClick> | (A) -> select heading to edit " <LClick><LClick> | (A) -> select entry
" <Space> | (A) -> select heading but remain in toc " <Space> | (A) -> select entry but remain in qf sidebar
" <Left> | (A) -> up " <Left> | (A) -> up
" <Right> | (A) -> down " <Right> | (A) -> down
" h | (A) -> j " h | (A) -> j
@ -679,12 +675,7 @@
autocmd FileType help map <buffer> <silent><expr> <Leader>? ':q<CR>' autocmd FileType help map <buffer> <silent><expr> <Leader>? ':q<CR>'
endif endif
"markdown: launch table of contents instead of the tagbar "mappings for qf-based plugins
autocmd FileType mkd map <buffer> <silent><expr> <C-F3> ':Toch<CR>'
autocmd FileType mkd map <buffer> <silent><expr> <A-F3> ':Toch<CR>'
autocmd Filetype mkd nnoremap <buffer> <silent><expr> <Leader>F ':TableFormat<CR>:echo "Markdown tables have been formatted with :FormatTable"<CR>'
"markdown table of contents
autocmd FileType qf map <buffer> <LeftMouse> <LeftMouse>0 autocmd FileType qf map <buffer> <LeftMouse> <LeftMouse>0
autocmd FileType qf map <buffer> <MiddleMouse> <LeftMouse> autocmd FileType qf map <buffer> <MiddleMouse> <LeftMouse>
autocmd FileType qf map <buffer> <RightMouse> <LeftMouse> autocmd FileType qf map <buffer> <RightMouse> <LeftMouse>

View file

@ -77,20 +77,6 @@
let g:vim_json_syntax_conceal=0 let g:vim_json_syntax_conceal=0
"}}} "}}}
"MARKDOWN: {{{
let g:vim_markdown_folding_disabled=0
let g:vim_markdown_initial_foldlevel=2
"Remove default mappings then set them to fix issues with vimdiff
let g:vim_markdown_no_default_key_mappings=1
nmap ]] <Plug>(Markdown_MoveToNextHeader)
nmap [[ <Plug>(Markdown_MoveToPreviousHeader)
nmap ][ <Plug>(Markdown_MoveToNextSiblingHeader)
nmap [] <Plug>(Markdown_MoveToPreviousSiblingHeader)
nmap ]c <Plug>(Markdown_MoveToCurHeader)
nmap ]u <Plug>(Markdown_MoveToParentHeader)
"}}}
"MATCHTAGALWAYS: {{{ "MATCHTAGALWAYS: {{{
let g:mta_filetypes = {'aspnet':1, 'html':1, 'xhtml':1, 'php':1, 'xml':1, 'jinja':1} let g:mta_filetypes = {'aspnet':1, 'html':1, 'xhtml':1, 'php':1, 'xml':1, 'jinja':1}
"}}} "}}}