def command_t(dir=""): """TextMate like fuzzy file finder""" if not dir: dir = vim.current_buffer_dir() vim.command("set timeoutlen=1000") vim.command("CommandT %s" % dir)
def nerd_tree(): """NERDTree""" cmd = "NERDTree %s" % vim.current_buffer_dir() vim.command(cmd)