From 2b6cac6c8d6bc66d5248f766459e0f02d10fb1a0 Mon Sep 17 00:00:00 2001 From: bretello Date: Wed, 9 Dec 2020 01:36:55 +0100 Subject: [PATCH] vim: add iptables-restore plugin --- vim/plugs.vim | 1 + vim/vimrc | 1 + 2 files changed, 2 insertions(+) diff --git a/vim/plugs.vim b/vim/plugs.vim index 354b6bf..dbadf8b 100644 --- a/vim/plugs.vim +++ b/vim/plugs.vim @@ -56,6 +56,7 @@ Plug 'https://github.com/rust-lang/rust.vim' Plug 'https://github.com/vim-scripts/nginx.vim' Plug 'https://github.com/plasticboy/vim-markdown' Plug 'https://github.com/cespare/vim-toml' +Plug 'https://github.com/vim-scripts/iptables' Plug 'epheien/termdbg' diff --git a/vim/vimrc b/vim/vimrc index 8b42c6f..990ed6f 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -32,6 +32,7 @@ set hlsearch "highlight search results (using *) set shiftwidth=4 tabstop=4 autocmd FileType yaml,yml setlocal shiftwidth=2 softtabstop=2 expandtab au BufRead,BufNewFile */playbooks/*.yml set filetype=yaml.ansible +au BufRead,BufNewFile rules.v[46] set filetype=iptables " Return to last edit position when opening files (from amix's vimrc)