mirror of
https://github.com/danbee/dotfiles-local
synced 2025-03-04 08:49:07 +00:00
Add JSONpath plugin to vim
This commit is contained in:
parent
dd1fb9d208
commit
40267398b2
6
vim/vimrc.d/jsonpath.vim
Normal file
6
vim/vimrc.d/jsonpath.vim
Normal file
@ -0,0 +1,6 @@
|
||||
" Copy path to a named register (* in this case) when calling :JsonPath
|
||||
let g:jsonpath_register = '*'
|
||||
|
||||
" Define mappings for json buffers
|
||||
au FileType json noremap <buffer> <silent> <leader>d :call jsonpath#echo()<CR>
|
||||
au FileType json noremap <buffer> <silent> <leader>g :call jsonpath#goto()<CR>
|
||||
@ -40,6 +40,7 @@ Plug 'leafgarland/typescript-vim'
|
||||
Plug 'peitalin/vim-jsx-typescript'
|
||||
Plug 'jparise/vim-graphql'
|
||||
Plug 'styled-components/vim-styled-components', { 'branch': 'main' }
|
||||
Plug 'mogelbrod/vim-jsonpath'
|
||||
|
||||
Plug 'junegunn/goyo.vim'
|
||||
Plug 'reedes/vim-pencil'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user