mirror of
https://github.com/jbranchaud/til
synced 2026-01-08 09:38:04 +00:00
Add Print The Relative Path Of The Current File as a vim til
This commit is contained in:
13
vim/print-the-relative-path-of-the-current-file.md
Normal file
13
vim/print-the-relative-path-of-the-current-file.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Print The Relative Path Of The Current File
|
||||
|
||||
As a project grows and there are many directories and long path names, Vim
|
||||
will not always have enough room to display the full relative path of the
|
||||
current file. It may have to cut off the initial directories which can make
|
||||
it hard to know where you are.
|
||||
|
||||
You can hit `Ctrl-g` to quickly display the relative path of the current
|
||||
file below the status bar.
|
||||
|
||||

|
||||
|
||||
See `:help Ctrl-g` for more details.
|
||||
Reference in New Issue
Block a user