Something went wrong. Try again.
Various configuration files from my setup.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293" Enable plugins and indentation for specific file typesfiletype plugin indent on
" Backupset nobackupset nowritebackup
" Foldingset fdm=marker " Fold by marked area
" Completionset completeopt=menu,menuone,longest " Completion menu optionsset history=10000 " Number of commands to rememberset wildmenu " Show a menu when doing completion
" Persistent undoset undodir=/Users/bogdan/.vimundo " Where undo files are savedset undofile " Undo diffs are saved in filesset undolevels=10000 " Max number of undos per fileset undoreload=100000 " Save the whole buffer for undo when reloading it
" Searchingset hlsearch " Enable highlighting of search termsset incsearch " Search incrementallyset ignorecase " Ignore case when searching
" Tabsset expandtabset tabstop=4set shiftwidth=4set softtabstop=4set autoindent
" UIsyntax on " Enable syntax highlighting
set backspace=indent,eol,start " Backspace over everythingset colorcolumn=120 " Highlight the 120th column in a windowset guifont=inconsolata:h14set guioptions=set hidden " Allow switching buffers without saving" set ruler " Show the cursor position all the time -- disabled due to lagset scrolloff=3 " Top and bottom padding when scrollingset showcmd " Display incomplete commandsset sidescrolloff=3 " Left and right padding when scrolling
" Autocommands" Open buffers with cursor set to its last positionautocmd BufReadPost * \ if line("'\'") > 0 && line("'\'") <= line("$") | \ exe "normal g`\"" | \ endif
" Enable omni completion.autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSSautocmd FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTagsautocmd FileType javascript setlocal omnifunc=javascriptcomplete#CompleteJSautocmd FileType python setlocal omnifunc=pythoncomplete#Completeautocmd FileType xml setlocal omnifunc=xmlcomplete#CompleteTags
" Miscellaneousset formatprg=par " Use par to format documents with gqset linebreak " Wrap at spacesset nowrap " Turn wrapping offset autochdir " Change dir to current file automaticallyset tags+=./.tags;/set shell=/bin/bash
" Bindingsnnoremap / /\vvnoremap / /\v
" zz is a stupid binding for thisnnoremap <C-l> zz
" Enhance buffer switchingnnoremap <silent><leader>b :ls<CR>:b
" Toggle listcharsnnoremap <silent><leader>l :set list!<CR>
" :help emacs-keyscnoremap <C-G> <Esc>cnoremap <C-A> <Home>cnoremap <C-B> <Left>cnoremap <C-D> <Del>cnoremap <C-E> <End>cnoremap <C-F> <Right>cnoremap <C-N> <Down>cnoremap <C-P> <Up>cnoremap <M-b> <S-Left>cnoremap <M-f> <S-Right>