diff --git a/README.md b/README.md index 76cacfc..8a3371a 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ The `vimrc` file should be easy to understand and contains almost everything. git clone https://github.com/yogsototh/vimrc.git .vim ln -s .vim/vimrc .vimrc vim +BundleInstall +qall + cd ~/.vim/bundle/vimproc.vim && make for Haskell diff --git a/vimrc b/vimrc index ac3c518..9be0748 100644 --- a/vimrc +++ b/vimrc @@ -93,6 +93,8 @@ function! SetToCabalBuild() endfunction autocmd BufEnter *.hs,*.lhs :call SetToCabalBuild() +" -- Frege +autocmd BufEnter *.fr :filetype haskell " -- vim-gitgutter highlight clear SignColumn @@ -120,6 +122,7 @@ call unite#filters#matcher_default#use(['matcher_fuzzy']) " search a file in the filetree nnoremap :split :Unite -start-insert file_rec/async nnoremap f :split :Unite file +nnoremap g :split :Unite -start-insert file_rec/git " make a grep on all files! nnoremap / :split :Unite grep:. " see the yank history