Compare commits
No commits in common. "ca2ab526abe7bcbc848aaadcc146a8a55df2e20b" and "dc07a3814f6f790952e6e0d502cb58d9514e48f9" have entirely different histories.
ca2ab526ab
...
dc07a3814f
@ -166,7 +166,7 @@ call plug#begin('~/.config/nvim/plugged')
|
|||||||
" Mikrotik
|
" Mikrotik
|
||||||
Plug 'zainin/vim-mikrotik'
|
Plug 'zainin/vim-mikrotik'
|
||||||
|
|
||||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
Plug 'nvim-treesitter/nvim-treesitter'
|
||||||
Plug 'nvim-treesitter/nvim-treesitter-context'
|
Plug 'nvim-treesitter/nvim-treesitter-context'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
@ -677,26 +677,3 @@ function! RemoveFortiAddresses()
|
|||||||
:%!uniq
|
:%!uniq
|
||||||
:w!
|
:w!
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! BlurForti()
|
|
||||||
:%g/set uuid .*/d
|
|
||||||
:%g/set description .*/d
|
|
||||||
:%g/set comment .*/d
|
|
||||||
:%g/set comments .*/d
|
|
||||||
:%s/username .*/username "XXXXXXXXXXXXXXXXXXXXXXX"/g
|
|
||||||
:%s/dn .*/dn "XXXXXXXXXXXXXXXXXXXXXXX"/g
|
|
||||||
:%s/psksecret ENC .*/psksecret XXXXXXXXXXXXXXXXXXXXXXX/g
|
|
||||||
:%s/password ENC .*/password XXXXXXXXXXXXXXXXXXXXXXX/g
|
|
||||||
:%s/passwd ENC .*/passwd XXXXXXXXXXXXXXXXXXXXXXX/g
|
|
||||||
:%s/group-name .*/group-name "XXXXXXXXXXXXXXXXXXXXXXX"/g
|
|
||||||
:%s/ssh-rsa .*/ssh-rsa XXXXXXXXXXXXXXXXXXXXXXX/g
|
|
||||||
:%s/-----BEGIN OPENSSH PRIVATE KEY.*----/-----BEGIN OPENSSH PRIVATE KEY -----\rXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/g
|
|
||||||
:%s/-----BEGIN CERTIFICATE.*----/-----BEGIN CERTIFICATE -----\rXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/g
|
|
||||||
:%s/-----BEGIN ENCRYPTED PRIVATE KEY.*----/-----BEGIN ENCRYPTED PRIVATE KEY -----\rXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/g
|
|
||||||
:%s/"VPN_.*"/"VPN_XXXXX"/g
|
|
||||||
:%s/\v(\d{1,3}\.){3}\d{1,3}/X.X.X.X/g
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! ColoursFortiSSL()
|
|
||||||
:%s/next\n/set color 23\rset allow-routing enable\rnext\r/g
|
|
||||||
endfunction
|
|
||||||
|
Loading…
Reference in New Issue
Block a user