diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2021-06-27 16:59:44 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2021-08-01 07:46:58 -0400 |
commit | 4d5ee2ead874c7a436faa8754eb99215927ea94d (patch) | |
tree | c1519c0b8db2302bcf46ffdce04a6580d7a012e5 /sundry/misc/editor-syntax-etc/vim/ftplugin/sisurb.vim | |
parent | org-mode code block headers (diff) |
dir rename ./sundry (from ./misc)
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 |