Yue Xin
ef44c9e7fc
swap out mkd, successfully...
Signed-off-by: yuexin <yuecn41@gmail.com>
9 years ago
Simon Désaulniers
df5d5c5adb
adding VersionAwareNetrwBrowseX() function for doing right call to netrw browsex
9 years ago
Ciro Santilli 六四事件 法轮功
21e96cbe9b
Allow users to disable individual maps with hasmapto checks
9 years ago
KazuakiM
ae271c7a45
Update Markdown_GetUrlForPosition function b: to s:
9 years ago
Ciro Santilli 六四事件 法轮功
f3c4ace059
Improve style of ftplugin/mkd.vim
- remove Markdown_ prefix from s: functions
- always add one empty line between commands and methods
9 years ago
Ciro Santilli
8853cbca8d
Remove parenthesis from <Plug> maps
9 years ago
Ciro Santilli
46c859c8a1
gx works from anywhere inside Markdown links.
Fix #99 .
9 years ago
Simon Désaulniers
1462465bc2
prevent setting other buffers to nomodifiable
9 years ago
Ciro Santilli
5b201ad454
Undo noremap, add header map tests
Reverts #141 which @cirosantilli wrongfully merged.
Add regression tests that would have prevented that.
Correction pointed out by @shanesmith at #147 .
10 years ago
Daniel Hahler
662822d81a
Use `noremap` for mappings
10 years ago
Ciro Santilli
ec849b08fe
Remove useless line in toc function.
10 years ago
Hiroshi Shirosaki
c6a731c5fa
Use getloclist() for location list of :Toc
:Toc causes errors because getqflist() returns empty for location
list.
Fix #108
10 years ago
Ciro Santilli
82ced930ae
Fix header increase and decrease.
10 years ago
Ciro Santilli
c451b41113
Use location for :Toc list instead of quickfix.
10 years ago
Ciro Santilli
6df2d66f14
Fix toc consfuses hyphen list with Setex header.
Fix #100 .
10 years ago
Ciro Santilli
91a2e5f695
Add TableFormat command.
10 years ago
Felipe Morales
664ccc032c
Toc: Pass errors if no atx headers are processed.
Fixes issue #102
10 years ago
Ciro Santilli
2d54234bef
Add HeaderDecrease, HeaderIncrease and SetexToAtx.
10 years ago
Bruno Sutic
69e1ddf05b
Make the default mappings buffer local
If mappings aren't defined as 'buffer local', they are defined in other
files too and this causes conflicts with mappings there.
10 years ago
Yosuke OTA
b145d94e95
Use get() instead of exists() in ftplugin/mkd.vim
10 years ago
Ciro Santilli
2a58c2fa2c
Correct minor points in last pull request.
10 years ago
Felipe Morales
2c06d3d58c
Add support for setext headers to the TOC commands.
10 years ago
Ciro Santilli
106db76545
Don't allow spaces before headers in nav mappings.
It breaks too often when you have code blocks with comments that
start with `#`, and no one uses spaces before headers.
10 years ago
Hiroshi Shirosaki
b2c8143cd2
Fix errors of function name with Patch 7.4.260
The following error occurs with Vim 7.4.260.
E128: Function name must start with a capital or "s:"
Rename function names to `s:Markdown_`.
Fixes #79
10 years ago
Hiroshi Shirosaki
a4780275ce
Rename g:markdown_no_default_key_mappings
Every non local identifier must start with g:vim_markdown_ from
CONTRIBUTING.md.
10 years ago
haya14busa
8c609c8af7
Add <Plug> mappings & option for default mappings
10 years ago
Ciro Santillli
32343f0a2b
Add Toc commands.
10 years ago
Ciro Duran Santillli
271939ed66
Header navigation mappings work for Setext headers.
11 years ago
Ciro Duran Santillli
68b949e8db
next, previous and current work for setext headers
11 years ago
Ciro Duran Santillli
5bb406ce8a
working on visual mode, slight behavior change to make jumps more logical
11 years ago
Ciro Duran Santillli
291fa48a67
added header navigation mappings
11 years ago