Skip to main content

fasd for neovim

Project description

nfasd
=====

Autocomplete nvim recent files in command line

Installation
------------
Install the python package
::
pip install nfasd

Add the following line in your :code:`~/.bashrc`
::
eval "$(register-python-argcomplete-menu nfasd)"

# use TAB to cycle through all possible matches
# optional but highly recommended
[[ $- = *i* ]] && bind TAB:menu-complete

Alternatively, if you use zsh, add the following to :code:`~/.zshrc`
::
eval "$(register-python-argcomplete-menu nfasd)"
# stop shell from beeping for every complete
# optional but highly recommended
setopt NO_LIST_BEEP

Configuration
-------------

Add the following to :code:`~/.bashrc` or :code:`~/.zshrc`
::
alias n='nfasd -e nvim'
alias ny='nfasd -e nyaovim'

Then you can press :code:`n myPro<tab>`
to get :code:`n ~/myProject`

Special Thanks
--------------
`fasd <https://github.com/clvv/fasd>`_ : the awesome command line tool

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nfasd-0.12.tar.gz (6.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page