Traversing directories with vim file name completion in insert mode (Ctrl-X Ctrl-F)
问题 I’m trying to use vim’s compl-filename feature ( Ctrl-X Ctrl-F ) to complete paths in INSERT mode, but I can’t work out how to traverse into directories without (temporarily) ending the completion mode: Let’s say I want to complete the path /etc/sysconfig/network-scripts/ifup . I would like to be able to do something like: / e Ctrl-X Ctrl-F /e tc/ /etc/ s y s Ctrl-F /etc/sys config/ /etc/sysconfig/ n e t Ctrl-F /etc/sysconfig/net console Ctrl-N /etc/sysconfig/net work Ctrl-N /etc/sysconfig