Update vim config for markdown and vimwiki surround

- Define surround mapping for bold text (**) in markdown and vimwiki
This commit is contained in:
Sam 2024-12-19 16:15:17 +00:00
parent 8c20041ab9
commit 8778496ca4
1 changed files with 6 additions and 0 deletions

View File

@ -60,6 +60,12 @@
let g:db_ui_hide_schemas = ['pg_catalog', 'pg_toast_temp.*', 'pg_toast'] let g:db_ui_hide_schemas = ['pg_catalog', 'pg_toast_temp.*', 'pg_toast']
let g:db_ui_use_nerd_fonts = 1 let g:db_ui_use_nerd_fonts = 1
let g:db_ui_execute_on_save = 0 let g:db_ui_execute_on_save = 0
" == custom surround
augroup initvim
au!
autocmd FileType markdown,vimwiki let b:surround_{char2nr('b')} = "**\r**"
augroup END
''; '';
}; };
} }