diff --git a/after/plugin/table-mode.vim b/after/plugin/table-mode.vim index e1c65cf..7bd8830 100644 --- a/after/plugin/table-mode.vim +++ b/after/plugin/table-mode.vim @@ -4,7 +4,7 @@ " Author: Dhruva Sagar " License: MIT (http://www.opensource.org/licenses/MIT) " Website: http://github.com/dhruvasagar/vim-table-mode -" Version: 2.1.1 +" Version: 2.1.2 " Note: This plugin was heavily inspired by the 'CucumberTables.vim' " (https://gist.github.com/tpope/287147) plugin by Tim Pope and " uses a small amount of code from it. @@ -62,9 +62,9 @@ if !g:table_mode_always_active endif command! -nargs=0 -range Tableize ,call tablemode#TableizeRange() -exec "xnoremap " . g:table_mode_tableize_map . " :Tableize" -exec "nnoremap " . g:table_mode_tableize_map . " :Tableize" +execute "xnoremap " . g:table_mode_tableize_map . " :Tableize" +execute "nnoremap " . g:table_mode_tableize_map . " :Tableize" "}}}1 " ModeLine {{{ -" vim:fdm=marker +" vim:fdl=0 fdm=marker diff --git a/autoload/tablemode.vim b/autoload/tablemode.vim index 3c84d5a..3b6b132 100644 --- a/autoload/tablemode.vim +++ b/autoload/tablemode.vim @@ -4,7 +4,7 @@ " Author: Dhruva Sagar " License: MIT (http://www.opensource.org/licenses/MIT) " Website: http://github.com/dhruvasagar/vim-table-mode -" Version: 2.1.1 +" Version: 2.1.2 " Note: This plugin was heavily inspired by the 'CucumberTables.vim' " (https://gist.github.com/tpope/287147) plugin by Tim Pope and " uses a small amount of code from it. @@ -65,7 +65,7 @@ endfunction function! s:ToggleMapping() "{{{2 if exists('b:table_mode_active') && b:table_mode_active - execute "inoremap " . s:TableModeSeparatorMap() . ' ' . + execute "inoremap " . s:TableModeSeparatorMap() . ' ' . \ s:TableModeSeparatorMap() . ":call Tableize()a" else execute "iunmap " . s:TableModeSeparatorMap()