Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- execute pathogen#infect()
- se nocompatible
- "ftiletype plugin indent on "detects filetypes, plugins and indentexpr
- syntax on
- let clj_highlight_builtins = 1 "for clojure
- let g:rainbow_active = 1
- let g:rainbow_operators = 1
- "" Haskell stuff
- au Bufenter *.hs compiler ghc " use ghc functionality for haskell files
- let g:haddock_browser = "/usr/bin/opera" " configures browser for haskell_doc.vim
- " Uncomment the following to have Vim jump to the last position when
- " reopening a file
- if has("autocmd")
- au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
- \| exe "normal g'\"" | endif
- endif
- "simple flags
- set nu " Shows line numbers.
- set tabstop=2 " Default is 8, how much a tab indents.
- set shiftwidth=2 "Default is 8, for consistency with tabstop <<
- set expandtab "uses spaces for indendtation instead of tabs.
- set ai "autoindent
- set showmatch " Show matching brackets.
- set noincsearch " Does not find as type
- set ignorecase " Case insensitve search
- set showcmd " Shows commands as they are typed
- set autochdir " Location of current file is active working directory
- colorscheme desert " good colors: default, koehler, pablo, shine, desert
- set nobackup " so it doesn't spam ~ files
- set writebackup " temporary backup until file is written
- set wrap " visually wraps lines down, does not affect content
- set nohlsearch
- "fancy commands
- autocmd FileType text setlocal textwidth=84 "if it is a text file, start new lines after textwidth is hit
- " Uncomment the following to have Vim load indentation rules according to the
- " detected filetype. Per default Debian Vim only load filetype specific
- " plugins.
- " down here to override set ai
- if has("autocmd")
- filetype indent on
- endif
Advertisement
Add Comment
Please, Sign In to add comment