grimoire

personal wiki
git clone git://git.pyratebeard.net/grimoire.git
Log | Files | Refs

commit 1fb7caebfe6f129d1719d721879e4ff3d03e6c9d
parent 24d15f204af2bad462459641e92bddbb48d7057e
Author: pyratebeard <root@pyratebeard.net>
Date:   Mon, 15 May 2023 16:17:50 +0100

updates

Diffstat:
Msoftware/vim.md | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/software/vim.md b/software/vim.md @@ -235,6 +235,12 @@ save file as new file in dir of current buffer `'` add a closing quote `<enter>` finish editing the macro +## insert full path of current file +``` +"%p +:put=expand('%:p') +``` + [using_spellcheck]: https://www.linux.com/learn/using-spell-checking-vim [faq]: http://vim.wikia.com/wiki/Vim_buffer_FAQ [vanilla vim]: https://stackoverflow.com/questions/16082991/vim-switching-between-files-rapidly-using-vanilla-vim-no-plugins