summaryrefslogtreecommitdiff
path: root/fnl/config/autocmd.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-30 02:43:24 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-30 02:43:24 +0200
commitef60b339873f6c0168c28aa7d8141af64df1f3e2 (patch)
treeaf6830309cca2b471903c71bd91817f170263be5 /fnl/config/autocmd.fnl
parentbff1840723b74ca14fc08d9eaee45a5d2b7f4468 (diff)
Add better netrw navs
Diffstat (limited to 'fnl/config/autocmd.fnl')
-rw-r--r--fnl/config/autocmd.fnl4
1 files changed, 4 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>"})