vimconfig

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EditVimRC

func EditVimRC() error

EditVimRC opens the default editor defined by the EDITOR environment variable for a user. If none is set it defaults to vim.

Types

type VimRC

type VimRC struct {
	*os.File
}

VimRC is an alias of os.File

func PrepareForWrite

func PrepareForWrite() (*VimRC, error)

PrepareForWrite opens a file for writing

func (*VimRC) Write

func (v *VimRC) Write(configurationText string) error

Write writes the provided cnfiguration text to a file

Jump to

Keyboard shortcuts

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