move lua code out of vimscript

This commit is contained in:
Sean Buckley 2023-09-16 19:08:35 -04:00
parent aedbc66685
commit dd24780649
3 changed files with 2 additions and 5 deletions

View file

@ -17,6 +17,7 @@
]; ];
customRC = '' customRC = ''
source ${./init.vim} source ${./init.vim}
luafile ${./init.lua}
''; '';
}; };
}; };

1
modules/vim/init.lua Normal file
View file

@ -0,0 +1 @@
require("bufferline").setup{}

View file

@ -55,8 +55,3 @@ nnoremap <space>k <C-W>k
nnoremap <space>l <C-W>l nnoremap <space>l <C-W>l
nnoremap <space>v <C-W>v nnoremap <space>v <C-W>v
nnoremap <space>s <C-W>s nnoremap <space>s <C-W>s
lua << EOF
require("bufferline").setup{}
EOF