diff --git a/nvim/.config/nvim/mappings.vim b/nvim/.config/nvim/mappings.vim index c5c086f..7c8cdf6 100644 --- a/nvim/.config/nvim/mappings.vim +++ b/nvim/.config/nvim/mappings.vim @@ -10,6 +10,8 @@ nnoremap Q @@ " yank current buffer's file name to system clipboard nnoremap yf :let @+ = expand("%") +vnoremap j :!jq +nnoremap j :%!jq " Stolen from https://www.destroyallsoftware.com/screencasts/catalog/file-navigation-in-vim cnoremap %% =expand('%:h').'/'