4 мар. 2022 г. · neovim/nvim tree would show the parent directory that has a git instead of showing the sub directory i opened it in. |
22 апр. 2024 г. · Here is my code of nvim-tree.lua local status, nvim_tree = pcall(require, "nvim-tree") if not status then vim.notify("没有找到 nvim-tree") return end |
3 сент. 2021 г. · You can access the full path to the file in the current buffer using vim.api.nvim_buf_get_name(0), where 0 for buffer id means "the current buffer". |
6 нояб. 2010 г. · Nice, but it is possible to show it in the top bar of the terminal? (or terminator) or somewhere without type a command. – eMarine. Commented ... |
7 окт. 2011 г. · Is there a shortcut which reveal the current file in the NerdTree directory panel. Like TextMate 'Reveal file in Drawer' - Ctrl+Command+R |
7 мая 2012 г. · I know CTRL g displays the current file you're working on. Is there a way to modify my .vimrc such that the filename/path is always displayed? |
1 янв. 2012 г. · Find the current file in the tree. If not tree exists and the current file is under vim's CWD, then init a tree at the CWD and reveal the file. |
21 нояб. 2022 г. · I am a newbie at neovim. I basically entered a file and can't go back to file tree in a vanilla NeoVim configuration. Funny enough I couldn't ... |
12 апр. 2009 г. · You can use the % character in vim commands to get the current filename with the extension. For example, :!javac % to run javac on the current file. |
13 нояб. 2012 г. · To include the list of files in the currently edited files, you can do something like: :read !ls /path/to/file (it can be shortened to :cd %:h | read !ls) |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |