예제 #1
0
def visual_view():
    text = get_visual_selection()
    if "\n" in text:
        print("bad selection")
    else:
        devhelpers.view(text)
예제 #2
0
def keyword_view():
    devhelpers.view(vim.eval('expand("<cword>")'))