Created
June 14, 2017 14:59
-
-
Save lsaville/97d8765cf9c85a6e1ae1f25730d20e46 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
set runtimepath^=~/.vim/bundle/ctrlp.vim | |
call vundle#begin() | |
" " let Vundle manage Vundle, required | |
" " | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'flazz/vim-colorschemes' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'elixir-lang/vim-elixir' | |
" " All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
" " To ignore plugin indent changes, instead use: | |
" "filetype plugin on | |
" " | |
" " Brief help | |
" " :PluginList - lists configured plugins | |
" " :PluginInstall - installs plugins; append `!` to update or just | |
" :PluginUpdate | |
" " :PluginSearch foo - searches for foo; append `!` to refresh local cache | |
" " :PluginClean - confirms removal of unused plugins; append `!` to | |
" auto-approve removal | |
" " | |
" " see :h vundle for more details or wiki for FAQ | |
" " Put your non-Plugin stuff after this line | |
" | |
set relativenumber | |
set number | |
let mapleader = " " | |
" " keymap for easy pane motion | |
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> | |
" " kill the swp files | |
set nobackup | |
set noswapfile | |
" " spacing n stuff | |
set tabstop=2 shiftwidth=2 softtabstop=2 expandtab | |
set autoindent | |
set mouse=a | |
" " nerdtree access | |
nnoremap <leader>n :NERDTree<cr> | |
"Colorscheme | |
colorscheme one | |
autocmd Colorscheme * highlight Normal ctermbg=None | |
autocmd Colorscheme * highlight NonText ctermbg=None | |
" Switch syntax highlighting on | |
syntax on | |
"Set background as dark | |
set background=dark | |
"Don't show the splash screen on startup | |
set shortmess=I |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment