summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/config')
-rw-r--r--fnl/config/autocmd.fnl4
-rw-r--r--fnl/config/which-key.fnl1
2 files changed, 5 insertions, 0 deletions
diff --git a/fnl/config/autocmd.fnl b/fnl/config/autocmd.fnl
index 0b97224..0c74fe8 100644
--- a/fnl/config/autocmd.fnl
+++ b/fnl/config/autocmd.fnl
@@ -43,3 +43,7 @@
:callback (lambda []
(env.init nvim.g.aniseed#env)
(packer.sync))})
+
+(create-autocmd :FileType
+ {:pattern :netrw
+ :command "nmap <silent> <buffer> h -^ | nmap <silent> <buffer> l <cr>"})
diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl
index 11a6dce..3700121 100644
--- a/fnl/config/which-key.fnl
+++ b/fnl/config/which-key.fnl
@@ -26,6 +26,7 @@
:hidden [:<silent> :<cmd> :<Cmd> :<CR> :call :lua "^:" "^ "]
:show_help true
:triggers :auto
+ :disable {:filetypes [:netrw]}
:triggers_blacklist {:i [:j :k] :v [:j :k]}})
(def- mopts {:mode :n