Skip to content
Browse files

Shuffle code

  • Loading branch information...
1 parent 5076196 commit f8ef3f2cfb8d69024c9a1375a15ff6d62a4b6b7c @lmarburger committed Oct 1, 2013
Showing with 4 additions and 5 deletions.
  1. +4 −5 vimrc
View
9 vimrc
@@ -186,17 +186,16 @@ augroup PlantUML
autocmd BufLeave *.plantuml nmap <leader>. :call RunTestFile()<CR>
augroup END
-augroup SizeWindow
- autocmd!
- autocmd WinEnter * call SizeWindow()
-augroup END
-
augroup Ronn
autocmd!
autocmd BufNewFile,BufReadPost,BufEnter *.ronn nmap <leader>> :silent :!clear<cr>:w<cr>:!gronn<cr>
autocmd BufLeave *.ronn nmap <leader>> :silent :!clear<cr>:w<cr>:!ruby -Ilib %<cr>
augroup END
+augroup SizeWindow
+ autocmd!
+ autocmd WinEnter * call SizeWindow()
+augroup END
function! SizeWindow()
if winwidth(winnr()) < 79

0 comments on commit f8ef3f2

Please sign in to comment.
Something went wrong with that request. Please try again.