all repos — dotfiles @ ce1c2f28bb389820ff172845a75148c1fca8e0ab

my *nix dotfiles

nvim: add nix.vim ftplugin
Anirudh Oppiliappan x@icyphox.sh
Thu, 24 Mar 2022 17:52:39 +0530
commit

ce1c2f28bb389820ff172845a75148c1fca8e0ab

parent

b014e77ebaf6a6fc8b4e8850e59379a8be302ca3

2 files changed, 7 insertions(+), 1 deletions(-)

jump to
A config/nvim/ftplugin/nix.vim

@@ -0,0 +1,6 @@

+augroup NixFmt + autocmd! + autocmd BufWritePost *.nix | silent! exec '!nixpkgs-fmt %' | silent! edit +augroup END + +setlocal ts=2 sts=2 sw=2 expandtab
M config/nvim/lua/maps.luaconfig/nvim/lua/maps.lua

@@ -45,7 +45,7 @@ '',

'<leader>e', string.format( ':call v:lua.fzy_edit("find -L . -type f %s | cut -c3-")<cr>', - fzy_ignore{'*.git/*', '*node_modules*', '*.pyc', '*migrations*'} + fzy_ignore{'*.git/*', '*node_modules*', '*.pyc', '*migrations*', '*result*'} ), { noremap=true, silent=true } )