Esempio n. 1
0
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)
Esempio n. 2
0
def nerd_tree():
    """NERDTree"""
    cmd = "NERDTree %s" % vim.current_buffer_dir()
    vim.command(cmd)