add 'mark-save' and 'mark-load' commands for marks

Related #76
This commit is contained in:
Gokcehan committed 2018-07-09 21:35:04 +03:00
1 parent a80900f41e
commit 0d0f7451ac
8 files changed
+72

No files matched your search

+2
View File
@@ -194,6 +194,7 @@ type nav struct {
dirCache map[string]*dir
regCache map[string]*reg
saves map[string]bool
marks map[string]string
selections map[string]int
selectionInd int
height int
@@ -270,6 +271,7 @@ func newNav(height int) *nav {
dirCache: make(map[string]*dir),
regCache: make(map[string]*reg),
saves: make(map[string]bool),
marks: make(map[string]string),
selections: make(map[string]int),
selectionInd: 0,
height: height,