vim + janus / indent a perl block -
using vim + janus (https://github.com/carlhuda/janus) enabled default in .vim/vimrc
filetype plugin indent on
i'm writing perl, every newline indented default.
how can select block (or full document) , reindent automatically?
you can select block going visual mode (press v or shift + v or ctrl + v in normal mode). reindent can done pressing = after selection of block.
Comments
Post a Comment