Last active
November 21, 2017 09:35
-
-
Save n4to4/3e1be2fab6bd519f6c4aa59c59be413c to your computer and use it in GitHub Desktop.
gvimrc
This 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 characters
| " curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'w0rp/ale' | |
| Plug 'vim-airline/vim-airline' | |
| Plug 'eagletmt/ghcmod-vim' | |
| Plug 'Shougo/vimproc' | |
| call plug#end() | |
| syntax on | |
| filetype plugin indent on | |
| " Unite | |
| " let g:unite_enable_start_insert=1 | |
| " noremap <C-P> :Unite buffer<CR> | |
| " noremap <C-N> :Unite -buffer-name=file file<CR> | |
| " au FileType unite nnoremap <silent> <buffer> <ESC><ESC> :q<CR> | |
| " au FileType unite inoremap <silent> <buffer> <ESC><ESC> <ESC>:q<CR> | |
| " programming | |
| set ts=2 sw=2 et | |
| set background=dark | |
| " macvim | |
| set guicursor=a:blinkon0 | |
| set noerrorbells | |
| set novisualbell | |
| set t_vb= | |
| autocmd! GUIEnter * set vb t_vb= | |
| let $PATH = expand('~/.local/bin') . ':' . $PATH | |
| " scala | |
| autocmd BufWritePost *.scala :EnTypeCheck | |
| nnoremap <localleader>t :EnTypeCheck<CR> | |
| au FileType scala nnoremap <localleader>df :EnDeclaration<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment