defaults

package
v0.0.0-...-0efad91 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackgroundMode

func BackgroundMode(args string, buff *demodel.CharBuffer, v demodel.Viewport)

func Exit

func Exit(args string, buff *demodel.CharBuffer, v demodel.Viewport)

func File

func File(args string, buff *demodel.CharBuffer, v demodel.Viewport)

File changes the file name of the current buffer. It will not reload or refresh the buffer in any way, only change the file name to used for future commands like Save or Discard. File with no arguments will *not* set the filename to empty, but rather print the current filename to the tagline.

func ForceQuit

func ForceQuit(args string, buff *demodel.CharBuffer, v demodel.Viewport)

func Get

func Get(args string, buff *demodel.CharBuffer, v demodel.Viewport)

func Join

func Join(args string, buff *demodel.CharBuffer, v demodel.Viewport)

Join joins multiple lines together as if you had pressed 'J' in vi, but the number of lines to join is an optional argument instead of a repeat command. If no argument is specified, the selected lines are joined together.

func LineNumberMode

func LineNumberMode(args string, buff *demodel.CharBuffer, v demodel.Viewport)

func Paste

func Paste(args string, buff *demodel.CharBuffer, v demodel.Viewport)

func Put

func Put(args string, buff *demodel.CharBuffer, v demodel.Viewport)

func ResetTagline

func ResetTagline(args string, buff *demodel.CharBuffer, v demodel.Viewport)

func SaveAndExit

func SaveAndExit(args string, buff *demodel.CharBuffer, v demodel.Viewport)

func SaveOrExit

func SaveOrExit(args string, buff *demodel.CharBuffer, v demodel.Viewport)

func SwitchRenderer

func SwitchRenderer(args string, buff *demodel.CharBuffer, v demodel.Viewport)

func TermWidth

func TermWidth(args string, buff *demodel.CharBuffer, v demodel.Viewport)

func Undo

func Undo(args string, buff *demodel.CharBuffer, v demodel.Viewport)

func WarnAlpha

func WarnAlpha(args string, buff *demodel.CharBuffer, v demodel.Viewport)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL