Started on NeoVim config and updated install script
This commit is contained in:
parent
cee5d021c3
commit
927ed0ff5c
5
nvim/after/plugin/telescope.lua
Normal file
5
nvim/after/plugin/telescope.lua
Normal file
@ -0,0 +1,5 @@
|
||||
local builtin = require('telescope.builtin')
|
||||
vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
|
||||
vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
|
||||
vim.keymap.set('n', '<leader>fb', builtin.buffers, {})
|
||||
vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
|
1
nvim/init.lua
Normal file
1
nvim/init.lua
Normal file
@ -0,0 +1 @@
|
||||
require("luke-else")
|
1
nvim/lua/luke-else/init.lua
Normal file
1
nvim/lua/luke-else/init.lua
Normal file
@ -0,0 +1 @@
|
||||
require("luke-else.packer")
|
21
nvim/lua/luke-else/packer.lua
Normal file
21
nvim/lua/luke-else/packer.lua
Normal file
@ -0,0 +1,21 @@
|
||||
vim.cmd [[packadd packer.nvim]]
|
||||
|
||||
return require('packer').startup(function(use)
|
||||
-- Packer can manage itself
|
||||
use 'wbthomason/packer.nvim'
|
||||
|
||||
use {
|
||||
'nvim-telescope/telescope.nvim', tag = '0.1.0',
|
||||
-- or , branch = '0.1.x',
|
||||
requires = { {'nvim-lua/plenary.nvim'} }
|
||||
}
|
||||
|
||||
use { -- Theme inspired by Atom
|
||||
'navarasu/onedark.nvim',
|
||||
priority = 1000,
|
||||
config = function()
|
||||
vim.cmd.colorscheme 'onedark'
|
||||
end
|
||||
}
|
||||
|
||||
end)
|
@ -1,14 +1,24 @@
|
||||
sudo pacman -Syu
|
||||
sudo pacman -Sy rustup cmake neovim fish go xorg-xsetroot alacritty spotifyd neofetch discord vifm docker networkmanager-openvpn htop awesome-terminal-fonts ttf-jetbrains-mono gnome-keyring playerctl base-devel
|
||||
#!/bin/bash
|
||||
|
||||
# Update and install base packages
|
||||
sudo pacman -Syu
|
||||
sudo pacman -Sy xorg-xsetroot alacritty awesome-terminal-fonts ttf-jetbrains-mono gnome-keyring playerctl # DE Setup
|
||||
sudo pacman -Sy neovim vifm neofetch fish htop networkmanager-openvpn unzip ripgrep # Utilities
|
||||
sudo pacman -Sy base-devel rustup go cmake docker # Dev
|
||||
sudo pacman -Sy spotifyd discord # Userspace
|
||||
|
||||
# Move relevant script and config files
|
||||
mv ../.xinitrc ~/.xinitrc
|
||||
mkdir ~/.dwm
|
||||
mv ./autostart.sh ~/.dwm/autostart.sh
|
||||
|
||||
# Change Shell
|
||||
chsh -s /usr/bin/fish
|
||||
|
||||
# Install rust (Used for Lemurs)
|
||||
rustup install stable
|
||||
|
||||
# Install AUR
|
||||
cd /opt
|
||||
sudo git clone https://aur.archlinux.org/yay.git
|
||||
sudo chown -R luke-else:users ./yay
|
||||
@ -18,9 +28,11 @@ makepkg -si
|
||||
|
||||
cd ~
|
||||
|
||||
# Install packages through AUR
|
||||
yay vscode
|
||||
yay brave
|
||||
|
||||
# Install and Configure git elements
|
||||
mkdir ~/git
|
||||
cd ~/git
|
||||
|
||||
@ -32,24 +44,34 @@ git clone ssh://git@git.luke-else.co.uk:222/luke-else/dmenu.git
|
||||
git clone ssh://git@git.luke-else.co.uk:222/luke-else/dwmblocks.git
|
||||
git clone https://github.com/coastalwhite/lemurs
|
||||
|
||||
# Install DWM
|
||||
cd dwm
|
||||
git checkout dwm-patched
|
||||
sudo make install
|
||||
cd ..
|
||||
|
||||
# Install dmenu
|
||||
cd dmenu
|
||||
sudo make install
|
||||
cd ..
|
||||
|
||||
# Install DWMBlocks
|
||||
cd dwmblocks
|
||||
sudo cp ./statusbar/* /usr/local/bin/
|
||||
sudo make install
|
||||
cd ..
|
||||
|
||||
# Install Lemurs
|
||||
cd lemurs
|
||||
sudo chmod +x install.sh
|
||||
./install.sh
|
||||
cd ..
|
||||
|
||||
# Install Oh-My-FISH
|
||||
cd ~
|
||||
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish
|
||||
|
||||
# Install Packer.nvim
|
||||
|
||||
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
|
||||
~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
Loading…
Reference in New Issue
Block a user