diff options
-rw-r--r-- | dotfiles/tools/vimrc | 2 |
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' | |||
32 | Plug 'tpope/vim-fugitive' | 32 | Plug 'tpope/vim-fugitive' |
33 | Plug 'tomlion/vim-solidity' | 33 | Plug 'tomlion/vim-solidity' |
34 | Plug 'chrisbra/SudoEdit.vim' | 34 | Plug 'chrisbra/SudoEdit.vim' |
35 | Plug 'Chiel92/vim-autoformat' | ||
35 | 36 | ||
36 | call plug#end() | 37 | call 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 | |||
259 | command -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> | 260 | command -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> |
260 | command! -range=% Pastebin execute <line1> . "," . <line2> . "w !curl -F 'c=@-' https://ptpb.pw" | 261 | command! -range=% Pastebin execute <line1> . "," . <line2> . "w !curl -F 'c=@-' https://ptpb.pw" |
261 | 262 | ||
263 | noremap <F3> :Autoformat<CR> | ||
262 | vmap <F8> :Pxml<CR> | 264 | vmap <F8> :Pxml<CR> |
263 | vmap <F9> :Pjson<CR> | 265 | vmap <F9> :Pjson<CR> |
264 | 266 | ||