Created
November 28, 2016 16:06
-
-
Save dawidof/9abb9edad2b413a2798918c7dc1c5705 to your computer and use it in GitHub Desktop.
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 nocompatible | |
so ~/.vim/plugins.vim | |
syntax enable | |
set backspace=indent,eol,start | |
let mapleader = ',' | |
set number | |
set tabstop=4 | |
set shiftwidth=4 | |
set smarttab | |
set et | |
set wrap | |
set ai | |
set cin | |
set showmatch | |
"--------------VISUAL--------------" | |
colorscheme atom-dark-256 | |
set t_Co=256 | |
set guifont=Fira_Code:h14 | |
set linespace=6 | |
set guioptions-=l | |
set guioptions-=L | |
set guioptions-=r | |
set guioptions-=R | |
set guioptions-=T | |
set guioptions-=m | |
set listchars=tab:·· | |
set list | |
"-------------SPLITS-------------" | |
set splitbelow | |
set splitright | |
"--------------SEARCH--------------" | |
set hlsearch | |
set incsearch | |
set showmatch | |
set ignorecase | |
set smartcase | |
set lz | |
"--------------MAPPINGS-------------" | |
nmap <Leader>ev :tabedit $MYVIMRC<cr> | |
nmap <c-R> :CtrlPBufTag<cr> | |
nmap <D-e> :CtrlPMRUFiles<cr> | |
nmap <c-§> :NERDTreeToggle<cr> | |
nnoremap <C-J> <C-W><C-J> | |
nnoremap <C-K> <C-W><C-K> | |
nnoremap <C-L> <C-W><C-L> | |
nnoremap <C-H> <C-W><C-H> | |
"map <c-l> :tabn<cr> | |
"map <c-h> :tabp<cr> | |
"map <c-n> :tabnew<cr> | |
"--------------Auto-Commands-------------" | |
augroup autosourcing " { | |
autocmd! | |
autocmd BufWritePost $MYVIMRC source % | |
augroup END " } | |
autocmd BufNewFile,BufRead *.slim setlocal filetype=slim |
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
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'tpope/vim-vinegar' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'slim-template/vim-slim' | |
Plugin 'ctrlpvim/ctrlp.vim' | |
Plugin 'terryma/vim-multiple-cursors' | |
call vundle#end() | |
syntax enable | |
filetype plugin indent on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment