README.md | 4 ++--
nnn.1 | 2 +-
src/nnn.c | 16 ++++++++--------
src/nnn.h | 4 ++--
diff --git a/README.md b/README.md
index d004301e0dfb0de96a27eacd049ce8c0b860fa5e..eb4b887a94b4fb274deb1b3e8ea86bfb970fa40b 100644
--- a/README.md
+++ b/README.md
@@ -50,7 +50,7 @@ - Open text files detached in another pane/tab/window
- Mount and modify archives
- Create files/dirs/duplicates with parents (like `mkdir -p`)
- Toggle hidden with ., visit HOME with ~, last dir with -
-- Pin a frequently visited dir at runtime
+- Mark a frequently visited dir at runtime
- Sort by modification, access and inode change time
- Compile out/in features with make options
- Watch matrix text fly or read fortune messages
@@ -84,7 +84,7 @@ - File picker, (neo)vim plugin
- Navigation
- *Type-to-nav* mode with dir auto-select
- Contexts (_aka_ tabs/workspaces) with custom colors
- - Sessions, bookmarks with hotkeys; pin and visit a dir
+ - Sessions, bookmarks with hotkeys; mark and visit a dir
- Remote mounts (needs sshfs, rclone)
- Familiar shortcuts (arrows, ~, -, @), quick reference
- CD on quit (*easy* shell integration)
diff --git a/nnn.1 b/nnn.1
index 5e6e535c9ef3e098fdefeb427545fcf326b288c3..2d9ebf2101080861defd80f7f030ea1a0e47ca4d 100644
--- a/nnn.1
+++ b/nnn.1
@@ -223,7 +223,7 @@ Key | Function
------ + ------------------------
' | Go to first non-dir file
+ | Toggle auto-advance
- , | Pin CWD
+ , | Mark CWD
- | Go to last visited dir
. | Show hidden files
; | Run a plugin by its key
diff --git a/src/nnn.c b/src/nnn.c
index 45dc18cc26195fc89568d0e2eedfdc0c596356d1..e23a5a89fe196b3876ae7fadc19f271a8c5efd23 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2651,7 +2651,7 @@ if (cfg.filtermode) {
switch (*ch) {
case '\'': // fallthrough /* Go to first non-dir file */
case '+': // fallthrough /* Toggle auto-advance */
- case ',': // fallthrough /* Pin CWD */
+ case ',': // fallthrough /* Mark CWD */
case '-': // fallthrough /* Visit last visited dir */
case '.': // fallthrough /* Show hidden files */
case ';': // fallthrough /* Run plugin key */
@@ -4133,7 +4133,7 @@ {
int fd;
size_t r = xstrsncpy(g_buf, messages[MSG_BOOKMARK_KEYS], CMD_LEN_MAX);
- if (bmark) { /* There is a pinned directory */
+ if (bmark) { /* There is a marked directory */
g_buf[--r] = ' ';
g_buf[++r] = ',';
g_buf[++r] = '\0';
@@ -4144,7 +4144,7 @@ printmsg(g_buf);
r = FALSE;
fd = get_input(NULL);
- if (fd == ',') /* Visit pinned directory */
+ if (fd == ',') /* Visit marked directory */
bmark ? xstrsncpy(newpath, bmark, PATH_MAX) : (r = MSG_NOT_SET);
else if (!get_kv_val(bookmark, newpath, fd, maxbm, NNN_BMS))
r = MSG_INVALID_KEY;
@@ -4177,7 +4177,7 @@ "9Lt h Parent%-12c~ ` @ - HOME, /, start, last\n"
"5Ret Rt l Open%-20c' First file/match\n"
"9g ^A Top%-21c. Toggle hidden\n"
"9G ^E End%-21c+ Toggle auto-advance\n"
- "9b ^/ Bookmark key%-12c, Pin CWD\n"
+ "9b ^/ Bookmark key%-12c, Mark CWD\n"
"a1-4 Context 1-4%-7c(Sh)Tab Cycle context\n"
"aEsc Send to FIFO%-11c^L Redraw\n"
"c? Help, conf%-13c^G QuitCD\n"
@@ -5666,7 +5666,7 @@ printwarn(&presel);
goto nochange;
}
- /* Pin current directory */
+ /* Mark current directory */
free(mark);
mark = xstrdup(path);
@@ -5749,7 +5749,7 @@ presel = MSGWAIT;
goto nochange;
}
- /* Pin current directory */
+ /* Mark current directory */
free(mark);
mark = xstrdup(path);
@@ -5833,7 +5833,7 @@ presel = MSGWAIT;
goto nochange;
}
- /* Pin current directory */
+ /* Mark current directory */
free(mark);
mark = xstrdup(path);
@@ -5870,7 +5870,7 @@ else
watch = TRUE;
goto begin;
- case SEL_PIN:
+ case SEL_MARK:
free(mark);
mark = xstrdup(path);
printwait(mark, &presel);
diff --git a/src/nnn.h b/src/nnn.h
index 1f7f6647238ea0c1ca7947563b1af95802d80de2..57c8649f4a5f18a5e944abaa8632b3fc84c8127b 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -66,7 +66,7 @@ SEL_CTX6,
SEL_CTX7,
SEL_CTX8,
#endif
- SEL_PIN,
+ SEL_MARK,
SEL_FLTR,
SEL_MFLTR,
SEL_HIDDEN,
@@ -181,7 +181,7 @@ { '7', SEL_CTX7 },
{ '8', SEL_CTX8 },
#endif
/* Mark a path to visit later */
- { ',', SEL_PIN },
+ { ',', SEL_MARK },
/* Filter */
{ '/', SEL_FLTR },
/* Toggle filter mode */