Skip to content

Commit

Permalink
nvim: Add <Leader>r
Browse files Browse the repository at this point in the history
  • Loading branch information
scizzorz committed Apr 4, 2023
1 parent ceabc2f commit d031a98
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nvim/map.vim
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ nnoremap <silent> <Leader>f :echo "hi<" . synIDattr(synID(line("."),col("."),1),
" sort the current paragraph
nnoremap <Leader>s vip:sort<CR>
" rehighlight syntax
nnoremap <Leader>r :syn sync fromstart<CR>
nnoremap <Leader>b :!black %<CR><CR>
" fix syntax highlighting (seriously how does it break so much?)
Expand Down

0 comments on commit d031a98

Please sign in to comment.