Skip to content

Instantly share code, notes, and snippets.

@supermomonga
Created August 15, 2013 23:02
Show Gist options
  • Save supermomonga/6245741 to your computer and use it in GitHub Desktop.
Save supermomonga/6245741 to your computer and use it in GitHub Desktop.
let g:automatic_default_match_config = {
\ 'is_open_other_window' : 1,
\ 'set_once_in_window' : 1
\ }
let g:automatic_default_set_config = {
\ 'height' : '50%',
\ 'move' : 'bottom',
\ 'apply' : function('s:my_temporary_window_init')
\ }
let g:automatic_config = [
\ { 'match' : { 'bufname' : "\[unite\]" } },
\ { 'match' : { 'filetype' : 'vimshell' } },
\ { 'match' : { 'buftype' : 'help' } },
\ {
\ 'match' : {
\ 'filetype' : '\v^ref-.+',
\ 'autocmds' : [ 'FileType' ]
\ }
\ },
\ {
\ 'match' : {
\ 'bufname' : "\[quickrun output\]",
\ },
\ 'set' : {
\ 'height' : 5,
\ }
\ },
\ {
\ 'match' : {
\ 'autocmds' : [ 'CmdwinEnter' ]
\ },
\ 'set' : {
\ 'is_close_focus_out' : 1,
\ 'unsettings' : [ 'move', 'resize' ]
\ },
\ }
\ ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment