Permalink
Browse files

add haskell bundle, update vimrc

  • Loading branch information...
1 parent ef524a1 commit ecdfd5f63502366e0ec252e01354b9e5916d1e4c @wlangstroth committed Apr 15, 2012
Showing with 6 additions and 8 deletions.
  1. +1 −1 .gitmodules
  2. +1 −0 bundle/haskell
  3. +4 −7 vimrc
View
@@ -36,7 +36,7 @@
url = https://github.com/cakebaker/scss-syntax.vim.git
[submodule "bundle/haskell"]
path = bundle/haskell
- url = https://github.com/wlangstroth/vim-haskell.git
+ url = git://github.com/wlangstroth/vim-haskell.git
[submodule "bundle/stylus"]
path = bundle/stylus
url = git://github.com/wavded/vim-stylus.git
Submodule haskell added at 30b03f
View
11 vimrc
@@ -3,6 +3,9 @@
filetype off
call pathogen#helptags()
call pathogen#runtime_append_all_bundles()
+filetype plugin indent on
+
+let mapleader = ","
" There are three different free version control systems on my computer. I'm
" good, thanks.
@@ -18,13 +21,11 @@ set copyindent
set tabstop=2
set shiftwidth=2
set expandtab
-set smarttab
set incsearch
set hlsearch
set smartcase
set ruler
-filetype plugin indent on
nnoremap j gj
nnoremap k gk
@@ -41,15 +42,14 @@ set grepprg=grep\ -nH\ $*
let g:tex_flavor='latex'
-let mapleader = ","
" Toggle spell checking on and off with `,s`
nmap <silent> <leader>s :set spell!<CR>
set listchars=tab:>-,trail:.
set list
-" Make tabs and trailing space visible with `,l`
+" Make tabs and trailing space invisible with `,l`
nmap <silent> <leader>l :set invlist list?<CR>
nmap <silent> <leader>/ :nohlsearch<CR>
@@ -65,9 +65,6 @@ au BufRead,BufNewFile *.less set filetype=less
au BufRead,BufNewFile *.rkt set filetype=racket
au BufRead,BufNewFile *.json set filetype=javascript
-" There has to be a better way to do this
-au BufRead,BufNewFile *.hs set comments=sl:{-,mb:--,elx:-}
-
" Just in case you open a read-only file, and want to save your changes.
cmap w!! w !sudo tee % >/dev/null

0 comments on commit ecdfd5f

Please sign in to comment.