Neovim cheat sheet argdo run substitute on all args :set hidden :argdo %s/\a/*/ge populate argslist with *.txt :args *.txt or command args `ag -g *.txt` revert all unsaved :argdo edit! paste last ex command e.g. :argdo <ctrl-r> gn visual e.g. change visual selected cgn