mirror of
https://github.com/veeso/termscp.git
synced 2025-12-06 17:15:35 -08:00
F2 to save file as
This commit is contained in:
committed by
Christian Visintin
parent
84cb775679
commit
dab98f4292
@@ -40,6 +40,7 @@ Released on FIXME:
|
||||
- Selected files will now be rendered with **Reversed, underlined and italic** text modifiers instead of being prepended with `*`.
|
||||
- **Midnight commander keys**
|
||||
- `<F1>`: Show help
|
||||
- `<F2>`: Save file as (actually I invented this)
|
||||
- `<F3>`: View file
|
||||
- `<F4>`: Open file (with text editor)
|
||||
- `<F5>`: Copy file
|
||||
|
||||
@@ -175,7 +175,7 @@ In order to change panel you need to type `<LEFT>` to move the remote explorer p
|
||||
| `<O|F4>` | Edit file; see Text editor | Open |
|
||||
| `<Q|F10>` | Quit termscp | Quit |
|
||||
| `<R|F6>` | Rename file | Rename |
|
||||
| `<S>` | Save file as... | Save |
|
||||
| `<F2|S>` | Save file as... | Save |
|
||||
| `<U>` | Go to parent directory | Upper |
|
||||
| `<V|F3>` | Open file with default program for filetype | View |
|
||||
| `<W>` | Open file with provided program | With |
|
||||
|
||||
@@ -175,7 +175,7 @@ Para cambiar de panel, debe escribir `<LEFT>` para mover el panel del explorador
|
||||
| `<O|F4>` | Editar archivo | Open |
|
||||
| `<Q|F10>` | Salir de termscp | Quit |
|
||||
| `<R|F6>` | Renombrar archivo | Rename |
|
||||
| `<S>` | Guardar archivo como... | Save |
|
||||
| `<F2|S>` | Guardar archivo como... | Save |
|
||||
| `<U>` | Ir al directorio principal | Upper |
|
||||
| `<V|F3>` | Abrir archivo con el programa predeterminado | View |
|
||||
| `<W>` | Abrir archivo con el programa proporcionado | With |
|
||||
|
||||
@@ -173,7 +173,7 @@ Pour changer de panneau, vous devez taper `<LEFT>` pour déplacer le panneau de
|
||||
| `<O|F4>` | Modifier le fichier | Open |
|
||||
| `<Q|F10>` | Quitter termscp | Quit |
|
||||
| `<R|F6>` | Renommer le fichier | Rename |
|
||||
| `<S>` | Enregistrer le fichier sous... | Save |
|
||||
| `<F2|S>` | Enregistrer le fichier sous... | Save |
|
||||
| `<U>` | Aller dans le répertoire parent | Upper |
|
||||
| `<V|F3>` | Ouvrir le fichier avec le programme défaut pour le type de fichier | View |
|
||||
| `<W>` | Ouvrir le fichier avec le programme spécifié | With |
|
||||
|
||||
@@ -169,7 +169,7 @@ Per cambiare pannello ti puoi muovere con le frecce, `<LEFT>` per andare sul pan
|
||||
| `<O|F4>` | Modifica file; Vedi text editor | Open |
|
||||
| `<Q|F10>` | Termina termscp | Quit |
|
||||
| `<R|F6>` | Rinomina file | Rename |
|
||||
| `<S>` | Salva file con nome | Save |
|
||||
| `<F2|S>` | Salva file con nome | Save |
|
||||
| `<U>` | Vai alla directory padre | Upper |
|
||||
| `<V|F3>` | Apri il file con il programma definito dal sistema | View |
|
||||
| `<W>` | Apri il file con il programma specificato | With |
|
||||
|
||||
@@ -173,7 +173,7 @@ In order to change panel you need to type `<LEFT>` to move the remote explorer p
|
||||
| `<O|F4>` | Edit file; see Text editor | Open |
|
||||
| `<Q|F10>` | Quit termscp | Quit |
|
||||
| `<R|F6>` | Rename file | Rename |
|
||||
| `<S>` | Save file as... | Save |
|
||||
| `<F2|S>` | Save file as... | Save |
|
||||
| `<U>` | Go to parent directory | Upper |
|
||||
| `<V|F3>` | Open file with default program for filetype | View |
|
||||
| `<W>` | Open file with provided program | With |
|
||||
|
||||
@@ -171,7 +171,7 @@ termscp中的文件资源管理器是指你与远程建立连接后可以看到
|
||||
| `<O|F4>` | 编辑文件;参考文本编辑器文档 | Open |
|
||||
| `<Q|F10>` | 退出termscp | Quit |
|
||||
| `<R|F7>` | 重命名文件 | Rename |
|
||||
| `<S>` | 另存为... | Save |
|
||||
| `<F2|S>` | 另存为... | Save |
|
||||
| `<U>` | 进入上层目录 | Upper |
|
||||
| `<V|F3>` | 使用默认方式打开文件 | View |
|
||||
| `<W>` | 使用指定程序打开文件 | With |
|
||||
|
||||
@@ -48,6 +48,8 @@ impl FooterBar {
|
||||
TextSpan::from(" Transfer "),
|
||||
TextSpan::from("<ENTER>").bold().fg(key_color),
|
||||
TextSpan::from(" Enter dir "),
|
||||
TextSpan::from("<F2|S>").bold().fg(key_color),
|
||||
TextSpan::from(" Save as "),
|
||||
TextSpan::from("<F3|V>").bold().fg(key_color),
|
||||
TextSpan::from(" View "),
|
||||
TextSpan::from("<F4|O>").bold().fg(key_color),
|
||||
|
||||
@@ -744,8 +744,8 @@ impl KeybindingsPopup {
|
||||
.add_col(TextSpan::new("<R|F6>").bold().fg(key_color))
|
||||
.add_col(TextSpan::from(" Rename file"))
|
||||
.add_row()
|
||||
.add_col(TextSpan::new("<S>").bold().fg(key_color))
|
||||
.add_col(TextSpan::from(" Save file as"))
|
||||
.add_col(TextSpan::new("<F2|S>").bold().fg(key_color))
|
||||
.add_col(TextSpan::from(" Save file as"))
|
||||
.add_row()
|
||||
.add_col(TextSpan::new("<U>").bold().fg(key_color))
|
||||
.add_col(TextSpan::from(" Go to parent directory"))
|
||||
|
||||
@@ -143,7 +143,7 @@ impl Component<Msg, NoUserEvent> for ExplorerFind {
|
||||
modifiers: KeyModifiers::NONE,
|
||||
}) => Some(Msg::Ui(UiMsg::ShowFileInfoPopup)),
|
||||
Event::Keyboard(KeyEvent {
|
||||
code: Key::Char('s'),
|
||||
code: Key::Char('s') | Key::Function(2),
|
||||
modifiers: KeyModifiers::NONE,
|
||||
}) => Some(Msg::Ui(UiMsg::ShowSaveAsPopup)),
|
||||
Event::Keyboard(KeyEvent {
|
||||
@@ -299,7 +299,7 @@ impl Component<Msg, NoUserEvent> for ExplorerLocal {
|
||||
modifiers: KeyModifiers::NONE,
|
||||
}) => Some(Msg::Ui(UiMsg::ShowRenamePopup)),
|
||||
Event::Keyboard(KeyEvent {
|
||||
code: Key::Char('s'),
|
||||
code: Key::Char('s') | Key::Function(2),
|
||||
modifiers: KeyModifiers::NONE,
|
||||
}) => Some(Msg::Ui(UiMsg::ShowSaveAsPopup)),
|
||||
Event::Keyboard(KeyEvent {
|
||||
@@ -467,7 +467,7 @@ impl Component<Msg, NoUserEvent> for ExplorerRemote {
|
||||
modifiers: KeyModifiers::NONE,
|
||||
}) => Some(Msg::Ui(UiMsg::ShowRenamePopup)),
|
||||
Event::Keyboard(KeyEvent {
|
||||
code: Key::Char('s'),
|
||||
code: Key::Char('s') | Key::Function(2),
|
||||
modifiers: KeyModifiers::NONE,
|
||||
}) => Some(Msg::Ui(UiMsg::ShowSaveAsPopup)),
|
||||
Event::Keyboard(KeyEvent {
|
||||
|
||||
Reference in New Issue
Block a user