kovisoft / slimv

Official mirror of Slimv versions released on vim.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I customize the non-source-code buffers (REPL, INSPECT, etc.)?

mihaicristiantanase opened this issue · comments

I'd like to set settings like no numbers row, no special characters, etc. for those buffers.
Is there a way to do that?
Thanks!

You can define vim autocommands that trigger when a buffer with a specific name is entered (also triggering when the buffer is created). For example if you don't want line numbers in the REPL and SLDB buffer then add these to your .vimrc file (use the name of the buffer for other buffer types as well):

:autocmd BufEnter REPL :setlocal nonumber
:autocmd BufEnter SLDB :setlocal nonumber

Works perfectly. Thanks!