diff options
Diffstat (limited to 'sundry/misc/editor-syntax-etc/vim/ftplugin/sisurb.vim')
-rw-r--r-- | sundry/misc/editor-syntax-etc/vim/ftplugin/sisurb.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sundry/misc/editor-syntax-etc/vim/ftplugin/sisurb.vim b/sundry/misc/editor-syntax-etc/vim/ftplugin/sisurb.vim new file mode 100644 index 0000000..b959626 --- /dev/null +++ b/sundry/misc/editor-syntax-etc/vim/ftplugin/sisurb.vim @@ -0,0 +1,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 |