2 comments

[ 4.2 ms ] story [ 16.6 ms ] thread
What is the option that allows one to navigate the cursor up and down a wrapped line as if it were multiple non-wrapped lines? The ability to do so would the reduce friction I experience while attempting to use Vim/Neovim to write my notes.
I use the below to get that behavior when working with txt files.

    autocmd BufNewFile,BufReadPost *.txt noremap  <buffer> <silent> k gk
    autocmd BufNewFile,BufReadPost *.txt noremap  <buffer> <silent> j gj
    autocmd BufNewFile,BufReadPost *.txt noremap  <buffer> <silent> 0 g0
    autocmd BufNewFile,BufReadPost *.txt noremap  <buffer> <silent> $ g$
If you want this for all filetypes, just remove everything before "noremap".

    noremap  <buffer> <silent> k gk
    noremap  <buffer> <silent> j gj
    noremap  <buffer> <silent> 0 g0
    noremap  <buffer> <silent> $ g$