diff options
| author | Mike Vink <mike@pionative.com> | 2024-03-08 21:31:13 +0100 |
|---|---|---|
| committer | Mike Vink <mike@pionative.com> | 2024-03-08 21:31:13 +0100 |
| commit | 4b8d71a669112b6e6b4d91381a0e0afaf08cfc9b (patch) | |
| tree | 5a4dd4b37617d5b3984a6998fc2202e5637ff0f4 /mut | |
| parent | 9d6e650ae42e9f858ba0a695d581b0c24f1cb9de (diff) | |
update
Diffstat (limited to 'mut')
| -rwxr-xr-x | mut/bin/vremote | 4 | ||||
| -rw-r--r-- | mut/lf/lfrc | 1 | ||||
| -rw-r--r-- | mut/neovim/fnl/conf/init.fnl | 8 |
3 files changed, 12 insertions, 1 deletions
diff --git a/mut/bin/vremote b/mut/bin/vremote index 7b0ee06..9cdc9e9 100755 --- a/mut/bin/vremote +++ b/mut/bin/vremote @@ -1,5 +1,7 @@ #!/bin/bash -PATH="/etc/profiles/per-user/$USER/bin:/run/current-system/sw/bin:/usr/bin:/bin" +if [ -z "$PATH" ]; then + PATH="/etc/profiles/per-user/$USER/bin:/run/current-system/sw/bin:/usr/bin:/bin" +fi server_pipe="$XDG_CACHE_HOME/nvim/server.pipe" ( if ! [ -e "$server_pipe" ]; then diff --git a/mut/lf/lfrc b/mut/lf/lfrc index 7887ef5..c34ba42 100644 --- a/mut/lf/lfrc +++ b/mut/lf/lfrc @@ -163,6 +163,7 @@ map i :rename # before extension map a :rename; cmd-right # after extension map B bulkrename map b $setbg $f +map <backspace2> clear map <c-e> down map <c-y> up diff --git a/mut/neovim/fnl/conf/init.fnl b/mut/neovim/fnl/conf/init.fnl index 0cd1b8e..d183a5a 100644 --- a/mut/neovim/fnl/conf/init.fnl +++ b/mut/neovim/fnl/conf/init.fnl @@ -96,6 +96,14 @@ (local uis (vim.iter (vim.api.nvim_list_uis))) (uis:map (fn [ui] (vim.fn.chanclose ui.chan)))))) +(do + (local obsidian (require "obsidian")) + (obsidian.setup + { :workspaces + [{ + :name "notes" + :path "~/Sync/my/notes"}]})) + (vim.api.nvim_create_user_command :NixEdit |
