aboutsummaryrefslogtreecommitdiffstats
path: root/src/base.vim
diff options
context:
space:
mode:
authorVG <vg@devys.org>2015-07-24 14:50:22 +0200
committerVG <vg@devys.org>2015-07-24 14:50:22 +0200
commitc5d527d906cc0836c29d3733bde518929fda69eb (patch)
tree9b8c23914f19693c3597e03b127a881458e5f9cb /src/base.vim
parent7797a9fe721cf7116e28a49fff3595071c48ce63 (diff)
downloadvim-rst-tables-c5d527d906cc0836c29d3733bde518929fda69eb.tar.gz
vim-rst-tables-c5d527d906cc0836c29d3733bde518929fda69eb.tar.bz2
vim-rst-tables-c5d527d906cc0836c29d3733bde518929fda69eb.zip
remove dependency to vim_bridge
Diffstat (limited to 'src/base.vim')
-rw-r--r--src/base.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base.vim b/src/base.vim
index 037a9dd..282f4e0 100644
--- a/src/base.vim
+++ b/src/base.vim
@@ -23,10 +23,10 @@ endpython
" Add mappings, unless the user didn't want this.
" The default mapping is registered, unless the user remapped it already.
if !exists("no_plugin_maps") && !exists("no_rst_table_maps")
- if !hasmapto('ReformatTable(')
- noremap <silent> <leader><leader>c :call ReformatTable()<CR>
+ if !hasmapto(' reformat_table(')
+ noremap <silent> <leader><leader>c :python reformat_table()<CR>
endif
- if !hasmapto('ReflowTable(')
- noremap <silent> <leader><leader>f :call ReflowTable()<CR>
+ if !hasmapto(' reflow_table(')
+ noremap <silent> <leader><leader>f :python reflow_table()<CR>
endif
endif