Skip to content

Commit

Permalink
set the statusline
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Fleming committed Jan 23, 2012
1 parent e5501d5 commit 8618ad1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -23,6 +23,8 @@ Clone the repo to ~/.vim and symlink ~/.vim/vimrc to ~/.vimrc and you'll see wha
Changelog
---

- 2012-01-24
+ Set up a simple statusline, fixing settings from when syntastic was added
- 2012-01-23
+ Added syntastic
+ Added plugin and indent loading in vimrc
Expand Down
7 changes: 4 additions & 3 deletions vimrc
Expand Up @@ -54,18 +54,19 @@ nnoremap <F8> :setl noai! nocin! nosi!
" The following are commented out as they cause vim to behave a lot
" differently from regular Vi. They are highly recommended though.
set showcmd " Show (partial) command in status line.
set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
set ignorecase " Do case insensitive matching
set smartcase " Do smart case matching
set incsearch " Incremental search as you type it
set hlsearch " Highlight search phrases
"set autowrite " Automatically save before commands like :next and :make
"set hidden " Hide buffers when they are abandoned
"set hidden " Hide buffers when they are abandoned
"set mouse=a " Enable mouse usage (all modes) in terminals
set visualbell " Enable visual bell
set ruler " Always show a ruler
set ruler " Always show a ruler
set laststatus=2 " Always shows the last status menu
set statusline=%F%m%r%h%w\ (%{&ff})\ %=\ [%l,%v\ %L\ (%p%%)]
set noerrorbells " Don't ring the bell for errors
set nostartofline " Don't move cursor to the start of the line
set shortmess=at " Avoid the 'press enter' with error messages
Expand Down

0 comments on commit 8618ad1

Please sign in to comment.