Skip to content

Commit

Permalink
vim: add a markdown shortcut ,l
Browse files Browse the repository at this point in the history
  • Loading branch information
thirtythreeforty committed Jan 14, 2022
1 parent f5ee178 commit e5f83c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vim/config/mappings.vim
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,8 @@ nnoremap <silent> <leader>; :let b:wv = winsaveview()<CR>:normal A;<CR>:call win
" In visual mode, . repeats on each selected line
vnoremap . :norm.<CR>;
augroup markdown_helpers
autocmd!
autocmd FileType markdown nnoremap <silent> <leader>l ya]}O<Esc>o":
augroup end

0 comments on commit e5f83c7

Please sign in to comment.