is this how nvim works

master
Jordan Orelli 5 months ago
parent c3fa15a310
commit d2d49f98dc

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