is this how nvim works

master
Jordan Orelli 6 months ago
parent c3fa15a310
commit d2d49f98dc

@ -72,18 +72,16 @@ cmd: vim +PlugInstall +qall
# nvim/lua
# nvim/init.vim
# [link-files neovim:linux]
# when: host.is_linux and host.has('nvim')
# target_root: ~/.config
# files:
# nvim/colors
# nvim/lua
# nvim/init.vim
[home neovim:not-windows]
when: host.has('nvim') and not host.is_windows
files:
nvim/init.lua > .config/nvim/init.lua
nvim/lua > .config/nvim/lua
# [git packer-posix]
# when: not host.is_windows
# repo: https://github.com/wbthomason/packer.nvim
# target: ~/.local/share/nvim/site/pack/packer/start/packer.nvim
[git packer-posix]
when: not host.is_windows
repo: https://github.com/wbthomason/packer.nvim
target: ~/.local/share/nvim/site/pack/packer/start/packer.nvim
# [git packer-windows]
# when: host.is_windows

@ -0,0 +1,3 @@
print("Init start")
require("plugins")
require("keys")

@ -0,0 +1 @@
print("Loading key mappings")

@ -0,0 +1,15 @@
print("loading plugins")
vim.cmd [[packadd packer.nvim]]
return require('packer').startup(function(use)
use 'wbthomason/packer.nvim'
use {
'nvim-telescope/telescope.nvim',
tag = '0.1.8',
requires = {
{'nvim-lua/plenary.nvim'}
}
}
end)
Loading…
Cancel
Save