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

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -