Compare commits

..

No commits in common. '11e85cb7be2fe162403b8c764ffca3b7a30b6ad6' and 'aa465386e5c60259f9246e6829d6ca134867bd94' have entirely different histories.

@ -1,17 +1,2 @@
# For vim
set -sg escape-time 0 set -sg escape-time 0
set -g default-terminal "tmux-256color"
# This is convenient sometimes
set -g mouse
# Attempting to get terminal colour
# set -g default-terminal "tmux-256color"
set -g default-terminal "xterm-256color"
# Top status with nice colours
set -g status-style "fg=#665c54"
set -g status-left-style "fg=#928374"
set -g status-bg default
set -g status-position top
set -g status-interval 1
set -g status-left ""

@ -1,31 +0,0 @@
# Create a new profile in ~/.config/Git
read -p "Enter git username: " NAME
read -p "Enter Email: " EMAIL
mkdir -p ~/.config/Git
PROFILE_PATH=~/.config/Git/git-profile-${NAME}.conf
cat <<EOT >> $PROFILE_PATH
[user]
email = $EMAIL
name = $NAME
[core]
editor = nvim
EOT
# Include the profile in gitconfig
touch ~/.gitconfig
read -p "Default profile? (y/n) " DEFAULT
if [ "$DEFAULT" != "y" ]; then
read -p "Enter profile directory (for example '~/Work'): " DIR
cat <<EOT >> ~/.gitconfig
[includeIf "gitdir:${DIR}/**"]
path = $PROFILE_PATH
EOT
else
cat <<EOT >> ~/.gitconfig
[include]
path = $PROFILE_PATH
EOT
fi

@ -1 +0,0 @@
ln -s $(pwd)/.tmux.conf ~

@ -1,51 +1,51 @@
vim.cmd [[packadd packer.nvim]] vim.cmd [[packadd packer.nvim]]
return require('packer').startup(function(use) return require('packer').startup(function(use)
use 'wbthomason/packer.nvim' use 'wbthomason/packer.nvim'
-- Navigation -- Navigation
use { use {
'nvim-telescope/telescope.nvim', tag = '0.1.5', 'nvim-telescope/telescope.nvim', tag = '0.1.1',
-- or , branch = '0.1.x', -- or , branch = '0.1.x',
requires = { { 'nvim-lua/plenary.nvim' } } requires = { { 'nvim-lua/plenary.nvim' } }
} }
-- Colours -- Colours
use('ellisonleao/gruvbox.nvim') use('ellisonleao/gruvbox.nvim')
use({ 'rose-pine/neovim', as = 'rose-pine' }) use({ 'rose-pine/neovim', as = 'rose-pine' })
use({ 'bluz71/vim-moonfly-colors', as = 'moonfly' }) use({ 'bluz71/vim-moonfly-colors', as = 'moonfly' })
-- Treesitter -- Treesitter
use('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' }) use('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' })
use('nvim-treesitter/playground') use('nvim-treesitter/playground')
-- Editing -- Editing
use('mbbill/undotree') use('mbbill/undotree')
use('tpope/vim-surround') use('tpope/vim-surround')
use('tpope/vim-commentary') use('tpope/vim-commentary')
-- LSP -- LSP
use { use {
'VonHeikemen/lsp-zero.nvim', 'VonHeikemen/lsp-zero.nvim',
branch = 'v2.x', branch = 'v2.x',
requires = { requires = {
-- LSP Support -- LSP Support
{ 'neovim/nvim-lspconfig' }, -- Required { 'neovim/nvim-lspconfig' }, -- Required
{ {
-- Optional -- Optional
'williamboman/mason.nvim', 'williamboman/mason.nvim',
run = function() run = function()
vim.cmd [[MasonUpdate]] vim.cmd [[MasonUpdate]]
end, end,
}, },
{ 'williamboman/mason-lspconfig.nvim' }, -- Optional { 'williamboman/mason-lspconfig.nvim' }, -- Optional
-- Autocompletion -- Autocompletion
{ 'hrsh7th/nvim-cmp' }, -- Required { 'hrsh7th/nvim-cmp' }, -- Required
{ 'hrsh7th/cmp-nvim-lsp' }, -- Required { 'hrsh7th/cmp-nvim-lsp' }, -- Required
{ 'L3MON4D3/LuaSnip' }, -- Required { 'L3MON4D3/LuaSnip' }, -- Required
}, },
use('editorconfig/editorconfig-vim'), use('editorconfig/editorconfig-vim'),
} }
end) end)

@ -49,8 +49,8 @@ local function save_profiles(threshold)
end end
time([[Luarocks path setup]], true) time([[Luarocks path setup]], true)
local package_path_str = "/home/braydonk/.cache/nvim/packer_hererocks/2.1.1707061634/share/lua/5.1/?.lua;/home/braydonk/.cache/nvim/packer_hererocks/2.1.1707061634/share/lua/5.1/?/init.lua;/home/braydonk/.cache/nvim/packer_hererocks/2.1.1707061634/lib/luarocks/rocks-5.1/?.lua;/home/braydonk/.cache/nvim/packer_hererocks/2.1.1707061634/lib/luarocks/rocks-5.1/?/init.lua" local package_path_str = "/home/braydonk/.cache/nvim/packer_hererocks/2.1.1694316387/share/lua/5.1/?.lua;/home/braydonk/.cache/nvim/packer_hererocks/2.1.1694316387/share/lua/5.1/?/init.lua;/home/braydonk/.cache/nvim/packer_hererocks/2.1.1694316387/lib/luarocks/rocks-5.1/?.lua;/home/braydonk/.cache/nvim/packer_hererocks/2.1.1694316387/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/home/braydonk/.cache/nvim/packer_hererocks/2.1.1707061634/lib/lua/5.1/?.so" local install_cpath_pattern = "/home/braydonk/.cache/nvim/packer_hererocks/2.1.1694316387/lib/lua/5.1/?.so"
if not string.find(package.path, package_path_str, 1, true) then if not string.find(package.path, package_path_str, 1, true) then
package.path = package.path .. ';' .. package_path_str package.path = package.path .. ';' .. package_path_str
end end

Loading…
Cancel
Save