summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/tools/vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/dotfiles/tools/vimrc b/dotfiles/tools/vimrc
index 68a52f7..fcd9f17 100644
--- a/dotfiles/tools/vimrc
+++ b/dotfiles/tools/vimrc
@@ -32,6 +32,7 @@ Plug 'vim-vdebug/vdebug'
32Plug 'tpope/vim-fugitive' 32Plug 'tpope/vim-fugitive'
33Plug 'tomlion/vim-solidity' 33Plug 'tomlion/vim-solidity'
34Plug 'chrisbra/SudoEdit.vim' 34Plug 'chrisbra/SudoEdit.vim'
35Plug 'Chiel92/vim-autoformat'
35 36
36call plug#end() 37call plug#end()
37 38
@@ -259,6 +260,7 @@ command -range=% Pdeflate normal <Esc>`>a<CR><Esc>mb`<i<CR><Esc>ma:'a,'b-1 call
259command -range=% Pinflate normal <Esc>`>a<CR><Esc>mb`<i<CR><Esc>ma:'a,'b-1 call PRangeFunc('python -c "import zlib; import sys; sys.stdout.buffer.write(zlib.compress(sys.stdin.buffer.read()))"', '')<CR> 260command -range=% Pinflate normal <Esc>`>a<CR><Esc>mb`<i<CR><Esc>ma:'a,'b-1 call PRangeFunc('python -c "import zlib; import sys; sys.stdout.buffer.write(zlib.compress(sys.stdin.buffer.read()))"', '')<CR>
260command! -range=% Pastebin execute <line1> . "," . <line2> . "w !curl -F 'c=@-' https://ptpb.pw" 261command! -range=% Pastebin execute <line1> . "," . <line2> . "w !curl -F 'c=@-' https://ptpb.pw"
261 262
263noremap <F3> :Autoformat<CR>
262vmap <F8> :Pxml<CR> 264vmap <F8> :Pxml<CR>
263vmap <F9> :Pjson<CR> 265vmap <F9> :Pjson<CR>
264 266