Add remote server support to research template
- Add server and remoteDir fields to research projects configuration - Update project launcher to handle remote server parameters - Enhance research template with remote server window (window 7) - Add dual-pane remote SSH connections with auto-reconnect aliases - Document remote server features in README with configuration examples Features: - Type 'r' in any remote pane to reconnect after network drops - Automatic SSH connection and directory navigation - Parallel remote work with dual panes - Backwards compatible - optional server configuration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
c3872475b5
commit
5b2d62ffa6
5 changed files with 54 additions and 6 deletions
19
README.md
19
README.md
|
|
@ -181,7 +181,24 @@ nix-config # Launch nix-config project tmux session
|
|||
#### Template Types:
|
||||
- **Basic**: Single directory (nvim + ai + git + shell)
|
||||
- **Content**: Code directory + separate content directory
|
||||
- **Research**: Code directory + separate paper directory
|
||||
- **Research**: Code directory + separate paper directory + optional remote server
|
||||
|
||||
#### Research Template Remote Server Support:
|
||||
The research template supports optional remote server connections with these features:
|
||||
- **Remote Server Window**: Window 7 with dual horizontal panes for parallel remote work
|
||||
- **Automatic Connection**: SSH to configured server with automatic directory navigation
|
||||
- **Reconnect Alias**: Type `r` in any remote pane to easily reconnect after network drops
|
||||
- **Configuration**: Add `server` and `remoteDir` fields to research projects
|
||||
|
||||
**Example Configuration:**
|
||||
```nix
|
||||
mdshortcut = {
|
||||
template = "research";
|
||||
# ... other fields ...
|
||||
server = "aicloud"; # SSH host from ~/.ssh/config
|
||||
remoteDir = "~/MDS"; # Remote directory path
|
||||
};
|
||||
```
|
||||
|
||||
#### Adding New Projects:
|
||||
Edit `config/projects.nix` and run `hms` to rebuild configuration.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue