Skip to content

Commit 65d1de4

Browse files
committed
Add README
1 parent f985959 commit 65d1de4

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

NeoHub.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
/* End PBXCopyFilesBuildPhase section */
105105

106106
/* Begin PBXFileReference section */
107+
FA03D4C82AFA302A00790D2F /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
107108
FA2AE4472AEB980700D24008 /* NeoHub.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NeoHub.app; sourceTree = BUILT_PRODUCTS_DIR; };
108109
FA2AE44A2AEB980700D24008 /* App.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = App.swift; sourceTree = "<group>"; };
109110
FA2AE44E2AEB980800D24008 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
@@ -174,6 +175,7 @@
174175
FA2AE43E2AEB980700D24008 = {
175176
isa = PBXGroup;
176177
children = (
178+
FA03D4C82AFA302A00790D2F /* README.md */,
177179
FA2AE4492AEB980700D24008 /* NeoHub */,
178180
FA2AE45E2AEB9CA000D24008 /* NeoHubCLI */,
179181
FA2EADA32AED589F000F8F7A /* NeoHubLib */,

README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<h1 align="center">NeoHub</h1>
2+
3+
<p align="center">
4+
<img width="600" alt="NeoHub" src="https://user-images.githubusercontent.com/4244251/281020657-ab8ceed5-8b4e-4366-89e0-4640b1887c2c.png">
5+
</p>
6+
7+
## Why?
8+
[Neovide](https://neovide.dev/) is a sweeeeet GUI for [Neovim](https://neovim.io/), but I had two annoying issues.
9+
1. When multiple instances are running, it is hard to switch between them as each instance is a separate macOS process, and all the processes are named `neovide` in the `⌘ ⇥` list.
10+
2. Often, I accidentally run a project that is already running, resulting in a Neovim error related to existing swap files.
11+
12+
## Features
13+
So, what NeoHub offers?
14+
1. Global hotkey that shows a switcher between Neovide instances. You can hit this hotkey from anywhere and activate a project you need.
15+
2. CLI, which executes new Neovide instances, and if an instance at the current path is already running, it activates it instead of spawning a new one.
16+
17+
## Requirements
18+
- `macOS 13+`.
19+
- Administrative privileges to install the CLI.
20+
- `neovide` available in your `PATH`.
21+
22+
## Download
23+
Get it from the [Releases](https://github.com/alex35mil/NeoHub/releases).
24+
25+
## Usage
26+
On the very first launch, you will be asked to install the CLI. This is the only way to launch a Neovide through the NeoHub.
27+
28+
Once installed, the `neohub` command should become available in your shell. Use it instead of `neovide` to launch editors. Otherwise, things won't work.
29+
30+
Hit `⌘ ⌃ N` (`Command + Control + N`) to open the switcher (hotkey is configurable).
31+
32+
P.S. If only one Neovide instance is running, NeoHub will activate it instead of showing the switcher.
33+
34+
Also, you can quit all editors at once by pressing `⌘ Q` in the switcher, or just a selected one with `⌘ ⌫`.
35+
36+
## Credits
37+
App icon is by [u/danbee](https://www.reddit.com/user/danbee/).
38+
39+
## License
40+
MIT.

0 commit comments

Comments
 (0)