[2024-05-31] gj and gk only in markdown
This commit is contained in:
parent
b428f824bb
commit
b2bb2a5090
@ -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 ^
|
||||||
|
Loading…
x
Reference in New Issue
Block a user