Lines Matching refs:current
13 # format the current line in NORMAL and INSERT mode or the selected region in
17 # It operates on the current, potentially unsaved buffer and does not create
36 # Get the current text.
37 buf = vim.current.buffer
41 lines = '%s:%s' % (vim.current.range.start + 1, vim.current.range.end + 1)
58 if vim.current.buffer.name:
59 command.extend(['-assume-filename', vim.current.buffer.name])
76 sequence = difflib.SequenceMatcher(None, vim.current.buffer, lines)
79 vim.current.buffer[op[1]:op[2]] = lines[op[3]:op[4]]