Skip to content

A vim plugin for syntax highlighting TextFSM templates

License

Notifications You must be signed in to change notification settings

oasys/vim-textfsm

Repository files navigation

vim-textfsm

License

© 2021 Jason Lavoie

Vim syntax plugin for TextFSM template files. TextFSM is a template-based state machine for parsing semi-formatted text files, such as those returned from the CLI of networking devices.

Screenshots

Cisco IOS Show CDP Neighbors

Configuration

By default all files with a .textfsm extension will have this syntax set. For different a filetype, add something like this to your ~/.vimrc:

autocmd BufRead,BufNewFile *.template *.tmpl set filetype=textfsm

Installation

Pathogen

Run the following command:

git clone https://github.com/oasys/vim-textfsm.git ~/.vim/bundle/vim-textfsm

Vundle

Add the following line to your ~/.vimrc:

Plugin 'oasys/vim-textfsm'

Plug

Add the following line to your ~/.vimrc:

Plug 'oasys/vim-textfsm'

No Plugin Manager

Copy all of the files manually into your ~/.vim directory.

About

A vim plugin for syntax highlighting TextFSM templates

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published