[2024-05-31] gj and gk only in markdown

This commit is contained in:
Andrew Conlin 2024-05-31 14:55:10 +01:00
parent b428f824bb
commit b2bb2a5090

View File

@ -14,9 +14,9 @@ set relativenumber
set termguicolors set termguicolors
colo tokyonight colo tokyonight
" have j and k navigate visual lines rather than logical ones " have j and k navigate visual lines rather than logical ones in markdown
nmap j gj autocmd FileType markdown nmap <buffer> j gj
nmap k gk autocmd FileType markdown nmap <buffer> k gk
" use H and L for beginning/end of line " use H and L for beginning/end of line
nmap H ^ nmap H ^