aboutsummaryrefslogtreecommitdiffhomepage
path: root/misc/editor-syntax-etc/vim/ftplugin/sisurb.vim
blob: b959626238e0a53bbcd777bcd7b65b582990bfed (plain)
1
2
3
4
5
6
7
:set number
:set relativenumber
:autocmd FileType    ruby :set relativenumber
:autocmd FocusLost   *.rb :set norelativenumber
:autocmd FocusGained *.rb :set relativenumber
:autocmd InsertEnter *.rb :set norelativenumber
:autocmd InsertLeave *.rb :set relativenumber