mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 23:28:02 +00:00
Add What Is On The Runtime Path? as a vim til
This commit is contained in:
@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
|
|||||||
For a steady stream of TILs from a variety of rocketeers, checkout
|
For a steady stream of TILs from a variety of rocketeers, checkout
|
||||||
[til.hashrocket.com](https://til.hashrocket.com/).
|
[til.hashrocket.com](https://til.hashrocket.com/).
|
||||||
|
|
||||||
_526 TILs and counting..._
|
_527 TILs and counting..._
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -615,6 +615,7 @@ _526 TILs and counting..._
|
|||||||
- [View Commit History of a File](vim/view-commit-history-of-a-file.md)
|
- [View Commit History of a File](vim/view-commit-history-of-a-file.md)
|
||||||
- [Viewing Man Pages with man.vim](vim/viewing-man-pages-with-man-vim.md)
|
- [Viewing Man Pages with man.vim](vim/viewing-man-pages-with-man-vim.md)
|
||||||
- [Vim Without The Extras](vim/vim-without-the-extras.md)
|
- [Vim Without The Extras](vim/vim-without-the-extras.md)
|
||||||
|
- [What Is On The Runtime Path](vim/what-is-on-the-runtime-path.md)
|
||||||
- [Whole Line Auto-Completion](vim/whole-line-auto-completion.md)
|
- [Whole Line Auto-Completion](vim/whole-line-auto-completion.md)
|
||||||
- [Wrap With Some Room](vim/wrap-with-some-room.md)
|
- [Wrap With Some Room](vim/wrap-with-some-room.md)
|
||||||
|
|
||||||
|
|||||||
26
vim/what-is-on-the-runtime-path.md
Normal file
26
vim/what-is-on-the-runtime-path.md
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# What Is On The Runtime Path?
|
||||||
|
|
||||||
|
All of the plugins, syntax highlighting, language-specific indentation that
|
||||||
|
extend the default behavior of Vim are on the runtime path. If something
|
||||||
|
isn't on Vim's runtime path, then Vim won't know about and as a result will
|
||||||
|
not load it at _runtime_.
|
||||||
|
|
||||||
|
How do we see what is on the runtime path?
|
||||||
|
|
||||||
|
The `rtp` option is the shorthand for `runtimepath`. Calling `set` on either
|
||||||
|
of these will show us the list of runtime paths, or at least some of them.
|
||||||
|
|
||||||
|
```
|
||||||
|
:set rtp
|
||||||
|
```
|
||||||
|
|
||||||
|
This will generally be a truncated list if you have a lot of plugins. To be
|
||||||
|
sure you are seeing all of them, use `echo` instead.
|
||||||
|
|
||||||
|
```
|
||||||
|
:echo &rtp
|
||||||
|
```
|
||||||
|
|
||||||
|
See `:h rtp` for more details.
|
||||||
|
|
||||||
|
h/t Chris Erin
|
||||||
Reference in New Issue
Block a user