Lines Matching refs:vim
38 import vim
97 vim.command("call confirm('%s')" % cmd)
98 vim.command(cmd)
102 cw = vim.current.window
104 vim.command("execute \"normal %dgg\"" % line)
108 return int(vim.eval("winnr()"))
112 return int(vim.eval("bufwinnr('%s')" % name))
117 vim.command(str(nr) + ' wincmd w')
121 vim.command('wincmd w')
122 return (winnr(), vim.current.buffer.name)
126 vim.command("execute \"normal \\<c-w>p\"")
130 return int(vim.eval("has('gui_running')")) == 1
154 vim.command(":vsp")
161 vim.command(":q")
170 bufferName = vim.current.buffer.name
254 vim.command('bdelete ' + self.name)
261 vim.command('silent %s %s %s' % (belowcmd, method, self.name))
263 vim.command('silent %s %s' % (method, self.name))
265 self.window = vim.current.window
268 vim.command("setlocal buftype=nofile") # Don't try to open a file
269 vim.command("setlocal noswapfile") # Don't use a swap file
270 vim.command("set nonumber") # Don't display line numbers
274 self.buffer = vim.current.buffer
275 self.width = int( vim.eval("winwidth(0)") )
276 self.height = int( vim.eval("winheight(0)") )
332 vim.command(cmd)
340 vim.command("highlight %s ctermbg=%s guibg=%s" % (name, colour, colour))
350 vim.command("execute \"normal ggdd\"")
351 except vim.error:
361 vim.command(':%d')