remapped markdown preview to shift M

This commit is contained in:
tomit4 2022-04-18 11:26:12 -07:00
parent 41e1b0fca4
commit 7c7f3a3905

View file

@ -93,6 +93,8 @@ set nosplitright
" Automatically closes Nvim tree if last window open
autocmd BufEnter * ++nested if winnr('$') == 1 && bufname() == 'NvimTree_' . tabpagenr() | quit | endif
" Automatically opens Nvim tree when first opening nvim
" a list of groups can be found at `:help nvim_tree_highlight`
highlight NvimTreeFolderIcon guibg=blue
@ -145,7 +147,7 @@ let g:lightline = {'colorscheme': 'one', 'active': { 'left': [['mode', 'paste'],
" Custom keybindings
" keybind map Ctrl + m to :MarkdownPreview
nmap <C-m> <Plug>MarkdownPreviewToggle
nnoremap M <Plug>MarkdownPreviewToggle
"Escape Insert Mode with ii
imap ii <Esc>