From ff58c246fbc65b03da3ce6ee3112fd9945940e39 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 9 Aug 2016 20:52:51 +0200 Subject: .scvimrc: Using horizontal split in tmux. Removing old trash from ftplugin identifiers. Using SClangStart only on scd files. --- .scvimrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.scvimrc') diff --git a/.scvimrc b/.scvimrc index 7e974a2..c9af8b0 100644 --- a/.scvimrc +++ b/.scvimrc @@ -3,24 +3,24 @@ let g:sclangTerm = "urxvt -e" let g:sclangPipeLoc = "/tmp/sclang-pipe" let g:sclangPipeAppPidLoc = "/tmp/sclangpipe_app-pid" " Set 1 to split scvim in tmux and screen vertically, 0 for horizontally -let g:scvimSplitVertical = 1 +let g:scvimSplitVertical = 0 " Set the size of the sclang output split in lines or blocks (only for scvim opened in screen and " tmux). This setting applies vertically or horizontally, depending on " g:scvimSplitVertical let g:scvimSplitSize = 25 au BufWinEnter,BufNewFile,BufRead *.sc set filetype=supercollider -au BufWinEnter,BufNewFile,BufRead *.sc let &iskeyword="@,48-57,_,192-255" | runtime ftplugin/supercollider.vim +au BufWinEnter,BufNewFile,BufRead *.sc runtime ftplugin/supercollider.vim au BufWinEnter,BufNewFile,BufRead *.sc set sw=2 ts=2 autoindent "this line can be changed however you like "scd files: on open set runtimepath and start sclang au BufWinEnter,BufNewFile,BufRead *.scd set runtimepath+=/usr/share/vim/addons/ filetype=supercollider -au BufWinEnter,BufNewFile,BufRead *.scd let &iskeyword="@,48-57,_,192-255,-,|" | runtime ftplugin/supercollider.vim | SClangStart +au BufWinEnter,BufNewFile,BufRead *.scd runtime ftplugin/supercollider.vim | SClangStart au BufWinEnter,BufNewFile,BufRead *.scd set sw=2 ts=2 autoindent "sc help files au BufWinEnter,BufNewFile,BufRead *.schelp set filetype=supercollider -au BufWinEnter,BufNewFile,BufRead *.schelp let &iskeyword="@,48-57,_,192-255,-,|" | runtime ftplugin/supercollider.vim +au BufWinEnter,BufNewFile,BufRead *.schelp runtime ftplugin/supercollider.vim au BufWinEnter,BufNewFile,BufRead *.schelp set sw=2 ts=2 autoindent "this line can be changed however you like " ================ Indentation ====================== -- cgit v1.2.3-54-g00ecf From 549bf2468693e66ababb7dd109fbf434656c8f8f Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 10 Aug 2016 17:55:43 +0200 Subject: .scvimrc: Adding system runtimepath for .sc files. --- .scvimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.scvimrc') diff --git a/.scvimrc b/.scvimrc index c9af8b0..e9241a8 100644 --- a/.scvimrc +++ b/.scvimrc @@ -9,7 +9,7 @@ let g:scvimSplitVertical = 0 " g:scvimSplitVertical let g:scvimSplitSize = 25 -au BufWinEnter,BufNewFile,BufRead *.sc set filetype=supercollider +au BufWinEnter,BufNewFile,BufRead *.sc set runtimepath+=/usr/share/vim/addons/ filetype=supercollider au BufWinEnter,BufNewFile,BufRead *.sc runtime ftplugin/supercollider.vim au BufWinEnter,BufNewFile,BufRead *.sc set sw=2 ts=2 autoindent "this line can be changed however you like -- cgit v1.2.3-54-g00ecf