Last active
March 26, 2018 15:51
-
-
Save tranch/d1267c2caec3963b96a706984b9c1a65 to your computer and use it in GitHub Desktop.
My VIM Profile
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
set t_Co=256 | |
set laststatus=2 | |
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 wmw=0 smarttab smartindent nu | |
set listchars=tab:▸\ ,eol:¬ list | |
if has('gui_running') | |
colorscheme molokai | |
set background=dark | |
set guifont=Inconsolata-g\ for\ Powerline:h12 | |
set guioptions-=r | |
let delimitMate_expand_cr = 1 | |
let g:molokai_original = 1 | |
let g:rehash = 256 | |
endif | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
set rtp+=~/.vim/bundle/powerline/powerline/bindings/vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'powerline/powerline' | |
Plugin 'fatih/vim-go' | |
Plugin 'rizzatti/dash.vim' | |
Plugin 'davidhalter/jedi-vim' | |
Plugin 'isRuslan/vim-es6' | |
Plugin 'Valloric/YouCompleteMe' | |
call vundle#end() | |
filetype plugin indent on | |
syntax on | |
let mapleader = "," | |
let g:go_fmt_command = "goimports" | |
map <C-J> <C-W>j<C-W>_ | |
map <C-K> <C-W>k<C-W>_ | |
nmap <c-h> <c-w>h<c-w><Bar> | |
nmap <c-l> <c-w>l<c-w><Bar> | |
nmap <silent> <leader>d <Plug>DashSearch | |
nmap <leader>l :set list!<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment