Skip to content

Instantly share code, notes, and snippets.

@nddrylliog
Created February 29, 2012 09:23
Show Gist options
  • Save nddrylliog/1939400 to your computer and use it in GitHub Desktop.
Save nddrylliog/1939400 to your computer and use it in GitHub Desktop.
colorscheme wombat256mod
set nocompatible " be iMproved
filetype off " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
Bundle 'gmarik/vundle'
" My Bundles here:
Bundle 'scrooloose/nerdtree.git'
Bundle 'ervandew/supertab'
Bundle 'kchmck/vim-coffee-script'
Bundle 'camelcasemotion'
Bundle 'L9'
Bundle 'FuzzyFinder'
Bundle 'programble/ooc.vim'
Bundle 'vim-scripts/wombat256.vim'
filetype plugin indent on " required!
syntax on
colorscheme elflord
set backup
set backupdir=~/.vim/backup " where to put backup files
set directory=~/.vim/tmp " directory to place swap files in
set number " show line numbers
set numberwidth=5 " good until 10000
set ruler " show line/column
set scrolloff=5 " keep 5 lines of context around
set shortmess=aOstT " display short message to avoid ellipsis
set showcmd " show commands as you're typing it
set showmatch " jump to matches when entering regexp
set statusline=%F%m%r%h%w[%L][%{&ff}]%y[%p%%][%04l,%04v]
set visualbell t_vb= " turn off error beep/flash
set novisualbell " turn off visual bell
set backspace=indent,eol,start " make backspace work the way it should
set smartindent
set completeopt="" " turn off completion popup
set expandtab " no real tabs please!
set ignorecase " case-insensitive search...
set infercase " ...except there are caps in the search expr
set smartcase " no ignorecase if Uppercase present
set shiftround " tab key aligns to the nearest tabulation
set shiftwidth=2 " 4-space wide shifts
set softtabstop=2 " 4-space wide soft tabs
set tabstop=8 " visible tabs
set is " incremental search
set hlsearch " highlight search result
" Tab navigation
map tw :q<CR>
map th :tabfirst<CR>
map tj :tabnext<CR>
map tk :tabprev<CR>
map tl :tablast<CR>
map tt :tabedit<Space>
map tn :tabnext<Space>
map tm :tabm<Space>
" FuzzyFinder
map tf :FufFile<CR>
" Only do this part when compiled with support for autocommands
if has("autocmd")
" When editing a file, always jump to the last cursor position
autocmd BufReadPost *
\ if line("'\"") > 0 && line ("'\"") <= line("$") |
\ exec "normal g'\"" |
\ endif
endif
au BufNewFile,BufRead *.md set filetype=markdown
au BufNewFile,BufRead *.template set filetype=html
au BufNewFile,BufRead *.ll set filetype=llvm
@causal-agent
Copy link

On lines 34-35, you turn on visualbell then turn it off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment