Created
          June 7, 2011 07:21 
        
      - 
      
- 
        Save ujihisa/1011818 to your computer and use it in GitHub Desktop. 
Revisions
- 
        ujihisa created this gist Jun 7, 2011 .There are no files selected for viewingThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ function! s:is_cmdwin() try wincmd n wincmd q catch return 1 endtry return 0 endfunction " nnoremap \c :<C-u>echomsg <SID>is_cmdwin()<Cr>