Last active
April 2, 2016 09:38
-
-
Save HeLiBloks/22f28a8261bc5f260959 to your computer and use it in GitHub Desktop.
.vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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