aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.h
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-04-21 00:24:19 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-04-21 00:47:11 +0530
commit882a17a60f954af6e9a435148c965d3cb8939610 (patch)
treeac2d20cdd800b9699395b92f99d68f7ca8da3278 /src/nnn.h
parentbd29368d4cfbce8b20b5aedfc024a965205002e7 (diff)
downloadnnn-882a17a60f954af6e9a435148c965d3cb8939610.tar.gz
SSHFS support
Diffstat (limited to 'src/nnn.h')
-rw-r--r--src/nnn.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nnn.h b/src/nnn.h
index dd21ef5..d47080b 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -85,6 +85,8 @@ enum action {
SEL_NEW,
SEL_RENAME,
SEL_RENAMEALL,
+ SEL_SSHFS,
+ SEL_UMOUNT,
SEL_HELP,
SEL_EXEC,
SEL_SHELL,
@@ -218,6 +220,10 @@ static struct key bindings[] = {
{ CONTROL('R'), SEL_RENAME },
/* Rename contents of current dir */
{ 'r', SEL_RENAMEALL },
+ /* Connect to server over SSHFS */
+ { 'c', SEL_SSHFS },
+ /* Disconnect a SSHFS mount point */
+ { 'u', SEL_UMOUNT },
/* Show help */
{ '?', SEL_HELP },
/* Execute file */