mirror of
https://github.com/dhruvasagar/vim-table-mode.git
synced 2025-11-10 20:13:46 -05:00
Fix specs
This commit is contained in:
@@ -53,7 +53,7 @@ function! s:ToggleMapping() "{{{2
|
|||||||
" '|' is a special character, we need to map <Bar> instead
|
" '|' is a special character, we need to map <Bar> instead
|
||||||
if g:table_mode_separator ==# '|' | let separator_map = '<Bar>' | endif
|
if g:table_mode_separator ==# '|' | let separator_map = '<Bar>' | endif
|
||||||
|
|
||||||
if g:table_mode_disable_mappings == 0
|
if !g:table_mode_disable_mappings
|
||||||
if tablemode#IsActive()
|
if tablemode#IsActive()
|
||||||
call s:Map('<Plug>(table-mode-tableize)', separator_map, 'i')
|
call s:Map('<Plug>(table-mode-tableize)', separator_map, 'i')
|
||||||
call s:Map('<Plug>(table-mode-motion-up)', '{<Bar>', 'n')
|
call s:Map('<Plug>(table-mode-motion-up)', '{<Bar>', 'n')
|
||||||
|
|||||||
@@ -7,3 +7,4 @@ let g:table_mode_always_active = 0
|
|||||||
let g:table_mode_delimiter = ','
|
let g:table_mode_delimiter = ','
|
||||||
let g:table_mode_corner_corner = '|'
|
let g:table_mode_corner_corner = '|'
|
||||||
let g:table_mode_align_char = ':'
|
let g:table_mode_align_char = ':'
|
||||||
|
let g:table_mode_disable_mappings = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user