diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-10-28 11:44:21 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-10-28 11:44:21 +0100 |
commit | a55f7a20ade3a4871f51364a3e324e8ad9d39b44 (patch) | |
tree | 70a95495ced3e959b34d4ba92048802712ad6f82 /dotfiles/tools/vimrc | |
parent | bd80f37aab3a6491c241afa4cc3ed390103e0cf3 (diff) | |
download | dotdrop-a55f7a20ade3a4871f51364a3e324e8ad9d39b44.tar.gz dotdrop-a55f7a20ade3a4871f51364a3e324e8ad9d39b44.tar.zst dotdrop-a55f7a20ade3a4871f51364a3e324e8ad9d39b44.zip |
Diffstat (limited to 'dotfiles/tools/vimrc')
-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 | ||