Compare commits
5 Commits
4334c8c03b
...
main
Author | SHA1 | Date | |
---|---|---|---|
6deba070cb
|
|||
4c71f795aa
|
|||
5557d68a9a
|
|||
ac6926123a
|
|||
dfc3511aa3
|
@@ -45,19 +45,3 @@ C-r = [
|
||||
|
||||
[keys.normal.space]
|
||||
i = ":toggle lsp.display-inlay-hints"
|
||||
|
||||
# File explorer with yazi
|
||||
e = [
|
||||
":sh rm -f /tmp/unique-file-c5140c67",
|
||||
":insert-output yazi '%{buffer_name}' --chooser-file=/tmp/unique-file-c5140c67",
|
||||
":insert-output echo \"x1b[?1049h\" > /dev/tty",
|
||||
":open %sh{cat /tmp/unique-file-c5140c67}",
|
||||
":redraw",
|
||||
]
|
||||
E = [
|
||||
":sh rm -f /tmp/unique-file-bea21125",
|
||||
":insert-output yazi '%{workspace_directory}' --chooser-file=/tmp/unique-file-bea21125",
|
||||
":insert-output echo \"x1b[?1049h\" > /dev/tty",
|
||||
":open %sh{cat /tmp/unique-file-bea21125}",
|
||||
":redraw",
|
||||
]
|
||||
|
@@ -3,9 +3,24 @@ name = "env"
|
||||
scope = "text.env"
|
||||
file-types = ["test", "local", "development", "staging", "production", "example", "env"]
|
||||
|
||||
[[language]]
|
||||
name = "java"
|
||||
file-types = ["java", "jav", "pde", "painless"]
|
||||
|
||||
[language-server.rust-analyzer.config.check]
|
||||
command = "clippy"
|
||||
|
||||
[[language]]
|
||||
name = "go"
|
||||
auto-format = true
|
||||
language-servers = [ "gopls", "golangci-lint-lsp" ]
|
||||
|
||||
[language-server.golangci-lint-lsp]
|
||||
command = "golangci-lint-langserver"
|
||||
|
||||
[language-server.golangci-lint-lsp.config]
|
||||
command = ["golangci-lint", "run", "--output.json.path", "stdout", "--show-stats=false", "--issues-exit-code=1"]
|
||||
|
||||
# It is recommended to place the necessary configurations below inside a project's
|
||||
# .helix/languages.toml directory
|
||||
#
|
||||
|
@@ -1,7 +1,6 @@
|
||||
# NVM
|
||||
if [[ -s "$NVM_DIR/nvm.sh" ]]; then
|
||||
source "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
fi
|
||||
if [[ -s "$NVM_DIR/bash_completion" ]]; then
|
||||
source "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
# Enable nvm if it is installed
|
||||
if [ -d "$HOME/.nvm" ]; then
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
||||
fi
|
||||
|
4
zsh.d/rbenv.zsh
Normal file
4
zsh.d/rbenv.zsh
Normal file
@@ -0,0 +1,4 @@
|
||||
# Enable rbenv if it is installed
|
||||
if (( $+commands[rbenv] )); then
|
||||
eval "$(rbenv init - --no-rehash zsh)"
|
||||
fi
|
12
zshenv.zsh
12
zshenv.zsh
@@ -19,18 +19,6 @@ fpath+=(~/.zsh/completions)
|
||||
# Setup cargo
|
||||
[[ -s ~/.cargo/env ]] && source ~/.cargo/env
|
||||
|
||||
# Local gems
|
||||
if (( $+commands[ruby] )); then
|
||||
local gem_bin_path="$(ruby -r rubygems -e 'puts Gem.user_dir')/bin"
|
||||
[[ -d "$gem_bin_path" ]] && path+=("$gem_bin_path")
|
||||
fi
|
||||
|
||||
# Setup go paths
|
||||
if (( $+commands[go] )); then
|
||||
local go_bin_path="$(go env GOPATH)/bin"
|
||||
[[ -d "$go_bin_path" ]] && path+=("$go_bin_path")
|
||||
fi
|
||||
|
||||
if (( $+commands[fd] )); then
|
||||
export FZF_DEFAULT_COMMAND="fd --type f"
|
||||
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
||||
|
Reference in New Issue
Block a user