Comments (8)
:help fugitive-statusline
from vim-pathogen.
Oh, crap i had an extra space before the %{fugitive
and it was causing it to blow up...
/doublefacepalm
thanks for your help.
from vim-pathogen.
This is as intended. Fugitive merely preps the runtime path so that Vim is aware of your bundles during plugin load time. As far as fugitive#statusline()
goes, if you add it to 'statusline'
, the plugin will be loaded before the function is invoked.
from vim-pathogen.
But doesn't it say in the fugitive readme to add it to the statusline? how would I go about that then?
from vim-pathogen.
I guess I'm saying "where would I put it if it doesn't work in the .vimrc?"...
I'm a vim noob...
from vim-pathogen.
It works fine in your vimrc. Copy the set
line exactly from the help.
from vim-pathogen.
/facepalm
why wasn't it working with my statusline...?
set statusline=%t\ %y\ format:\ %{&ff};\ [%c,%l]%{fugitive#statusline()}
from vim-pathogen.
Works fine for me.
from vim-pathogen.
Related Issues (20)
- Plugin takes 3-6 seconds to load via pathogen HOT 4
- Can pathogen load plugins in the bundle directive before loading the scripts in vim root directive? HOT 2
- Pathogen broken by new release of Vim HOT 3
- E107: 缺少对应的括号: pathogen#infect()
- Cannot use `-` on staged or untracked files in `:Gstatus` HOT 4
- execute pathogen#infect() an invalid expression? HOT 2
- Install plugins function HOT 1
- curl error(23) HOT 2
- `:Helptags` does not work if script is never run HOT 4
- Disable plugin without deleting it's repo HOT 4
- error when opening pathogen.vim HOT 1
- License file HOT 2
- Installed plugin with pathogen, but cannot start HOT 2
- Please document how to work around vim bug using the vim package format (Not directly related to pathogen) HOT 1
- curl: (23) Failed writing body
- whitespace required errors HOT 3
- pathogen and crystal-lang HOT 1
- ALE runs, linter runs and emits warning, but ALE shows nothing HOT 2
- "Press ENTER or type command to continue" each time I launch Vim after Pathogen Install.
- How to tell pathogen to ignore specific file in bundle? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-pathogen.