Skip to content

Commit

Permalink
Add lightline to vim
Browse files Browse the repository at this point in the history
  • Loading branch information
dagit committed Nov 25, 2013
1 parent f0d479d commit a6ef3ed
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitconfig
Expand Up @@ -7,3 +7,5 @@
lol = log --graph --decorate --pretty=oneline --abbrev-commit
[github]
user = dagit
[push]
default = simple
8 changes: 6 additions & 2 deletions .ssh/rc
@@ -1,4 +1,8 @@
#!/bin/bash
if test "$SSH_AUTH_SOCK" ; then
ln -sf $SSH_AUTH_SOCK ~/.ssh/ssh_auth_sock
host=`hostname`
if [ $host != "flux.galois.com" ]
then
if test "$SSH_AUTH_SOCK" ; then
ln -sf $SSH_AUTH_SOCK ~/.ssh/ssh_auth_sock
fi
fi
20 changes: 19 additions & 1 deletion .vimrc
Expand Up @@ -22,8 +22,26 @@ Bundle 'mattn/gist-vim'
Bundle 'altercation/vim-colors-solarized'
Bundle 'airblade/vim-gitgutter'

:let g:haddock_browser=""
" lightline.vim config
Bundle 'itchyny/lightline.vim'
set laststatus=2
let g:lightline = {
\ 'component': {
\ 'readonly': '%{&readonly?"⭤":""}'
\ } }
if $OS != 'windows'
let g:lightline['separator'] = { 'left': '', 'right': '' }
let g:lightline['subseparator'] = { 'left': '', 'right': '' }
endif

:let g:haddock_browser="open"

"vim-notes config:
:let g:notes_directories = ['~/AeroFS/Notes']
:let g:notes_suffix = '.md'
:let g:notes_title_sync = 'rename_file'
:let g:notes_shadowdir = '~/AeroFS/Notes'
:let g:notes_indexfile = '.vim-notes.idx'
set t_Co=256
syntax enable
set nocompatible
Expand Down

0 comments on commit a6ef3ed

Please sign in to comment.