Compare commits
No commits in common. '11e85cb7be2fe162403b8c764ffca3b7a30b6ad6' and 'aa465386e5c60259f9246e6829d6ca134867bd94' have entirely different histories.
11e85cb7be
...
aa465386e5
@ -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)
|
||||||
|
Loading…
Reference in New Issue