remap H and L to something sensible

This commit is contained in:
Ivar Fatland
2025-07-29 14:40:09 +02:00
parent 4a70762e65
commit fccc3e3eba
+2
View File
@@ -37,6 +37,8 @@ vim.cmd [[
nnoremap <c-p> :cprevious<CR> nnoremap <c-p> :cprevious<CR>
nnoremap ,cu :colder<CR> nnoremap ,cu :colder<CR>
nnoremap ,cr :cnewer<CR> nnoremap ,cr :cnewer<CR>
nnoremap H ^
nnoremap L $
nnoremap ,cD :call setqflist(filter(getqflist(), 'v:val != getqflist()[getqflist({"idx": 0}).idx - 1]'))<CR> nnoremap ,cD :call setqflist(filter(getqflist(), 'v:val != getqflist()[getqflist({"idx": 0}).idx - 1]'))<CR>