summaryrefslogtreecommitdiff
path: root/profiles/core
diff options
context:
space:
mode:
authorMike Vink <mike@pionative.com>2024-03-08 21:31:13 +0100
committerMike Vink <mike@pionative.com>2024-03-08 21:31:13 +0100
commit4b8d71a669112b6e6b4d91381a0e0afaf08cfc9b (patch)
tree5a4dd4b37617d5b3984a6998fc2202e5637ff0f4 /profiles/core
parent9d6e650ae42e9f858ba0a695d581b0c24f1cb9de (diff)
update
Diffstat (limited to 'profiles/core')
-rw-r--r--profiles/core/home.nix4
-rw-r--r--profiles/core/neovim.nix1
2 files changed, 3 insertions, 2 deletions
diff --git a/profiles/core/home.nix b/profiles/core/home.nix
index 4763bca..08e2c06 100644
--- a/profiles/core/home.nix
+++ b/profiles/core/home.nix
@@ -129,7 +129,7 @@
lfcd () {
tmp="$(mktemp -uq)"
trap 'rm -f $tmp >/dev/null 2>&1 && trap - HUP INT QUIT TERM EXIT' HUP INT QUIT TERM EXIT
- lf -last-dir-path="$tmp" "$@"
+ EDITOR=vremote lf -last-dir-path="$tmp" "$@"
if [ -f "$tmp" ]; then
dir="$(cat "$tmp")"
[ -d "$dir" ] && [ "$dir" != "$(pwd)" ] && cd "$dir"
@@ -137,7 +137,7 @@
}
bindkey -s '^o' '^ulfcd\n'
- export EDITOR="vremote"
+ export EDITOR="nvim"
export TERMINAL="st"
( command -v brew ) &>/dev/null && eval "$(/opt/homebrew/bin/brew shellenv)"
( command -v docker ) &>/dev/null && eval "$(docker completion zsh)"
diff --git a/profiles/core/neovim.nix b/profiles/core/neovim.nix
index c4f7a2e..e1da7cc 100644
--- a/profiles/core/neovim.nix
+++ b/profiles/core/neovim.nix
@@ -64,6 +64,7 @@
venn-nvim
gv-vim
zoxide-vim
+ obsidian-nvim
# Coding
fzf-lua