1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-22 03:21:30 +01:00

vim: add iptables-restore plugin

This commit is contained in:
bretello 2020-12-09 01:36:55 +01:00
parent bc8861451e
commit 2b6cac6c8d
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
2 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@ Plug 'https://github.com/rust-lang/rust.vim'
Plug 'https://github.com/vim-scripts/nginx.vim' Plug 'https://github.com/vim-scripts/nginx.vim'
Plug 'https://github.com/plasticboy/vim-markdown' Plug 'https://github.com/plasticboy/vim-markdown'
Plug 'https://github.com/cespare/vim-toml' Plug 'https://github.com/cespare/vim-toml'
Plug 'https://github.com/vim-scripts/iptables'
Plug 'epheien/termdbg' Plug 'epheien/termdbg'

View File

@ -32,6 +32,7 @@ set hlsearch "highlight search results (using *)
set shiftwidth=4 tabstop=4 set shiftwidth=4 tabstop=4
autocmd FileType yaml,yml setlocal shiftwidth=2 softtabstop=2 expandtab autocmd FileType yaml,yml setlocal shiftwidth=2 softtabstop=2 expandtab
au BufRead,BufNewFile */playbooks/*.yml set filetype=yaml.ansible 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) " Return to last edit position when opening files (from amix's vimrc)