Skip to content

Instantly share code, notes, and snippets.

@HeLiBloks
Last active April 2, 2016 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HeLiBloks/22f28a8261bc5f260959 to your computer and use it in GitHub Desktop.
Save HeLiBloks/22f28a8261bc5f260959 to your computer and use it in GitHub Desktop.
.vimrc
" Modeline and Notes"{
" vim: set sw=4 ts=4 sts=4 et tw=78 foldmarker="{,"} foldlevel=0 foldmethod=marker filetype=vim noswapfile spell:
"}
let g:python_host_prog='/usr/bin/python2.7'
let g:python3_host_prog = '/usr/bin/python3'
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/vundle
"{ plugins
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'SirVer/ultisnips'
Plugin 'honza/vim-snippets'
Plugin 'Valloric/YouCompleteMe'
call vundle#end() " required
filetype plugin indent on " required
"}
filetype on
syntax on
set completefunc=youcompleteme#Complete
set omnifunc=syntaxcomplete#Complete
setglobal dictionary+=/usr/share/dict/words
setglobal thesaurus+=~/.vim/thesaurus/mthes/mobythes.aur
"{ mappings
noremap Q gq
noremap Ö ;
noremap ö :
noremap Ä {
noremap ä }
noremap å [
noremap Å ]
"}
set mouse=a
"{ ultisnips
let g:UltiSnipsEditSplit="vertical"
let g:UltiSnipsSnippetDir = '$HOME/.vim/UltiSnips/'
" let g:UltiSnipsSnippetDirectories = ['']
let g:UltiSnipsExpandTrigger = "<C-k>"
let g:UltiSnipsJumpForwardTrigger = "<C-k>"
let g:UltiSnipsJumpBackwardTrigger = "<C-j>"
let g:UltiSnipsListSnippets = "<C-l>"
"{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment