Skip to content

Latest commit

 

History

History
84 lines (59 loc) · 1.33 KB

helix.md

File metadata and controls

84 lines (59 loc) · 1.33 KB

Helix

Development environment for Rust, Go and Markdown.

Setup

lsp for rust

rustup component add rust-analyzer

debugger for rust

brew install llvm
ln -s $(brew --prefix)/opt/llvm/bin/lldb-vscode $(brew --prefix)/bin/

lsp for go

go install golang.org/x/tools/gopls@latest

formatter for go

go install golang.org/x/tools/cmd/goimports@latest

debugger for go

go install github.com/go-delve/delve/cmd/dlv@latest

lsp for markdown

brew install marksman

lsp for toml

brew install taplo

lsp for protobuf

go install github.com/bufbuild/buf-language-server/cmd/bufls@latest

formatter for markdown, json, toml and yaml.

brew install dprint

Configuration

updates lanuages.toml & .dprint.json

Keymap

Default Keymap

Default Keymap

Project Menu

Command + r to launch project menu.

  • f: Test function
  • F: Test file
  • t: Test package
  • T: Test all
  • b: Build package
  • B: Build all
  • r: Run package
  • R: Run all

Command Selector

Command + Shift + r to launch project command selector.

Markdown Keymap

Markdown Keymap: Alt + m in NORMAL and INSERT mode.