• Stars
    star
    1,133
  • Rank 40,759 (Top 0.9 %)
  • Language
    Lua
  • License
    Apache License 2.0
  • Created about 3 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🚧 (Alpha stage software) Edit files, run programs, and work with LSP on a remote machine from the comfort of your local environment 🚧

distant.nvim

CI

A wrapper around distant that enables users to edit remote files from the comfort of their local environment.

  • Requires neovim 0.8+
  • Requires distant 0.20.x

Visit https://distant.dev/editors/neovim/ for full documentation!

🚧 (Alpha stage software) This plugin is in rapid development and may break or change frequently! 🚧

Installation

lazy.nvim

{
    'chipsenkbeil/distant.nvim', 
    branch = 'v0.3',
    config = function()
        require('distant'):setup()
    end
}

packer.nvim

use {
    'chipsenkbeil/distant.nvim',
    branch = 'v0.3',
    config = function()
        require('distant'):setup()
    end
}

vim-plug

Plug 'chipsenkbeil/distant.nvim', {
\ 'branch': 'v0.3',
\ 'do': ':lua require("distant"):setup()'
\ }

Post-installation

If you already have distant installed with a version that is compatible with the plugin, this step can be skipped. You can verify if distant is installed correctly by running :checkhealth distant.

Execute :DistantInstall.

A prompt will be provided where you can download a pre-built binary for your local machine that will be placed in ~/.local/share/nvim/distant/ on Unix systems or ~\AppData\Local\nvim-data\distant\ on Windows.

You can verify that it is available by running :DistantClientVersion.

See the neovim installation guide for more information.

Installing on your server

If you want to just use distant to connect to an ssh server, you can skip this and the remaining steps and use :DistantConnect ssh://example.com.

Log into your remote machine and run this command to download a script to run to install distant. In this example, we'll use ssh to install distant on a Unix-compatible server (example.com):

ssh example.com 'curl -L https://sh.distant.dev | sh -s -- --on-conflict overwrite'

See the distant CLI installation guide for more information.

License

This project is licensed under either of

Apache License, Version 2.0, (LICENSE-APACHE or apache-license) MIT license (LICENSE-MIT or mit-license) at your option.

More Repositories

1

distant

🚧 (Alpha stage software) Library and tooling that supports remote filesystem and process operations. 🚧
Rust
549
star
2

choose

Fuzzy matcher for OS X that uses both std{in,out} and a native GUI
Objective-C
413
star
3

service-manager-rs

Provides adapters to communicate with various operating system service managers like launchd and systemd
Rust
174
star
4

org-roam.nvim

Port of org-roam to neovim using orgmode
Lua
79
star
5

vimwiki-rs

Rust library and tooling to parse, render, and modify vimwiki text and files.
Rust
56
star
6

vimwiki.nvim

Neovim plugin that offers enhanced and alternative functionality for the vimwiki language.
Lua
49
star
7

entity-rs

A simplistic framework based on TAO, Facebook's distributed database for social graph
Rust
42
star
8

grid-side

Personal portfolio and blog for use by the Hugo generator.
CSS
32
star
9

typed-path

Provides typed variants of Path and PathBuf for Unix and Windows
Rust
31
star
10

zsh-notes

Plugin extracted from my zshrc to provide a quick notes editing experience in zsh.
Shell
18
star
11

sbt-jdi-tools

Sbt plugin to add JDI tools.jar to sbt classpath.
Scala
7
star
12

tmux-xmonadbindings

XMonad bindings for tmux
Objective-C
5
star
13

grus

Static site generator written in Scala using Scalatags for templates and Flexmark for markdown.
Scala
5
star
14

vimvar-rs

Rust library to support retrieving variables from vim & neovim
Rust
3
star
15

distant.dev

Website for distant and associated software projects
Python
3
star
16

nested-struct

Rust
3
star
17

winsplit-rs

Library to split string into command line arguments mirroring CommandLineToArgV, following VC++ 2008 parsing rules
Rust
3
star
18

get-keyboard-state

Simple program that returns keyboard codes directly from the Linux input subsystem.
C
2
star
19

org-mouse.nvim

Mouse features on top of nvim-orgmode.
Lua
2
star
20

wyrd

Fork of wyrd with patches
OCaml
1
star
21

vimdoc2html

Utility to convert vimdoc to html using tree-sitter.
Rust
1
star
22

memtable-rs

Library to provide an inmemory table for use in Rust
Rust
1
star
23

pwcheck

Rust library to check a username & password using platform-native tools.
Rust
1
star
24

goals

A list of goals I would like to accomplish.
1
star
25

homebrew-personal

Contains personal formulas for projects I work on.
Ruby
1
star