Skip to content

Commit

Permalink
Make 'relative' filepaths the default value
Browse files Browse the repository at this point in the history
Vim's default statusline uses relative file paths as the default so it
makes sense to have that as the default value in Powerline as well.

It's easy to reconfigure the plugin to display only the file name:

	let g:Powerline_stl_path_style = 'filename'

Refs #102.
  • Loading branch information
Lokaltog committed Mar 3, 2012
1 parent 4054bb9 commit 6156149
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/Powerline.txt
Expand Up @@ -191,7 +191,7 @@ display the current path and file name:
relative Display a relative path, similar to the %f statusline item.
full Display the full path, similar to the %F statusline item.

Default: "filename"
Default: "relative"

==============================================================================
5. Fonts *Powerline-fonts*
Expand Down
2 changes: 1 addition & 1 deletion plugin/Powerline.vim
Expand Up @@ -19,7 +19,7 @@
\ 'theme' : 'default'
\ , 'colorscheme' : 'default'
\ , 'symbols' : 'compatible'
\ , 'stl_path_style': 'filename'
\ , 'stl_path_style': 'relative'
\ , 'cache_enabled' : 1
\ })

Expand Down

0 comments on commit 6156149

Please sign in to comment.