mirror of
https://github.com/dhruvasagar/vim-table-mode.git
synced 2025-11-08 11:03:47 -05:00
Set table_mode_disable_mappings to 0 by default
This commit is contained in:
@@ -53,7 +53,7 @@ function! s:ToggleMapping() "{{{2
|
||||
" '|' is a special character, we need to map <Bar> instead
|
||||
if g:table_mode_separator ==# '|' | let separator_map = '<Bar>' | endif
|
||||
|
||||
if !exists('g:table_mode_disable_mappings')
|
||||
if g:table_mode_disable_mappings == 0
|
||||
if tablemode#IsActive()
|
||||
call s:Map('<Plug>(table-mode-tableize)', separator_map, 'i')
|
||||
call s:Map('<Plug>(table-mode-motion-up)', '{<Bar>', 'n')
|
||||
|
||||
@@ -43,6 +43,7 @@ call s:SetGlobalOptDefault('table_mode_always_active', 0)
|
||||
call s:SetGlobalOptDefault('table_mode_delimiter', ',')
|
||||
call s:SetGlobalOptDefault('table_mode_corner_corner', '|')
|
||||
call s:SetGlobalOptDefault('table_mode_align_char', ':')
|
||||
call s:SetGlobalOptDefault('table_mode_disable_mappings', 0)
|
||||
|
||||
function! s:TableEchoCell() "{{{1
|
||||
if tablemode#table#IsRow('.')
|
||||
|
||||
Reference in New Issue
Block a user