Skip to content

Commit

Permalink
Use fancy new vimconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayp committed Aug 9, 2015
1 parent 50f48fc commit 84d89ac
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .vimrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
" General Settings"

execute pathogen#infect()

set t_Co=256
set nocompatible
set clipboard=unnamed
set wildmenu
Expand All @@ -14,6 +17,8 @@ set noeol
set exrc
set secure

let g:airline_powerline_fonts = 1

" Make Code Editing Better"

set modeline
Expand All @@ -22,6 +27,7 @@ set number
syntax on
set cursorline
set tabstop=4
set lcs=tab:▸\ ,trail:·,eol:¬,nbsp:_
set list
set hlsearch
set ignorecase
Expand All @@ -35,6 +41,8 @@ set shortmess=atI
set showmode
set title
set showcmd
set lazyredraw
set noshowmode

if exists("&relativenumber")
set relativenumber
Expand All @@ -43,6 +51,17 @@ endif

set scrolloff=3

""""""""""""""""""""""""""""""
" airline
""""""""""""""""""""""""""""""
let g:airline_powerline_fonts = 1
let g:airline_theme = 'powerlineish'

if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
let g:airline_symbols.space = "\ua0"

" Remaps"
function! StripWhitespace()
let save_cursor = getpos(".")
Expand All @@ -59,4 +78,4 @@ noremap <leader>W :w !sudo tee % > /dev/null<CR>
if has("autocmd")
filetype on
autocmd BufNewFile,BufRead *.json setfiletype json syntax=javascript
endif
endif

0 comments on commit 84d89ac

Please sign in to comment.