change of vim themes, addition of apt/dpkg package installers
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
$GIT_URL="https://git.cusack.cloud/acid/dotfiles.git"
|
GIT_URL="https://git.cusack.cloud/acid/dotfiles.git"
|
||||||
git clone --bare $GIT_URL $HOME/.cfg
|
git clone --bare $GIT_URL $HOME/.cfg
|
||||||
function config {
|
function config {
|
||||||
/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@
|
/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@
|
||||||
|
|||||||
11
.config/install-scripts/003-packages.sh
Executable file
11
.config/install-scripts/003-packages.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
packages="htop neovim"
|
||||||
|
|
||||||
|
aptcommand="sudo apt-get"
|
||||||
|
if [[ "$EUID" -eq 0 ]]; then
|
||||||
|
aptcommand="apt-get"
|
||||||
|
fi
|
||||||
|
|
||||||
|
$aptcommand update
|
||||||
|
$aptcommand install -y $packages
|
||||||
3
.config/install-scripts/004-vim.sh
Executable file
3
.config/install-scripts/004-vim.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
||||||
|
vim +PluginInstall +qall
|
||||||
3
.config/nvim/init.vim
Normal file
3
.config/nvim/init.vim
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
||||||
|
let &packpath = &runtimepath
|
||||||
|
source ~/.vimrc
|
||||||
32
.vimrc
32
.vimrc
@@ -1,8 +1,36 @@
|
|||||||
" My Vimrc - Sean C
|
" My Vimrc - Sean C
|
||||||
|
|
||||||
|
" Vundle
|
||||||
|
set nocompatible " be iMproved, required
|
||||||
|
filetype off " required
|
||||||
|
|
||||||
|
" set the runtime path to include Vundle and initialize
|
||||||
|
set rtp+=~/.vim/bundle/Vundle.vim
|
||||||
|
call vundle#begin()
|
||||||
|
" alternatively, pass a path where Vundle should install plugins
|
||||||
|
"call vundle#begin('~/some/path/here')
|
||||||
|
|
||||||
|
" let Vundle manage Vundle, required
|
||||||
|
Plugin 'VundleVim/Vundle.vim'
|
||||||
|
|
||||||
|
Plugin 'chriskempson/base16-vim'
|
||||||
|
|
||||||
|
" All of your Plugins must be added before the following line
|
||||||
|
call vundle#end() " required
|
||||||
|
filetype plugin indent on " required
|
||||||
|
"
|
||||||
|
" Brief help
|
||||||
|
" :PluginList - lists configured plugins
|
||||||
|
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
|
||||||
|
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
|
||||||
|
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
|
||||||
|
"
|
||||||
|
" see :h vundle for more details or wiki for FAQ
|
||||||
|
|
||||||
" Colours
|
" Colours
|
||||||
colorscheme solarized
|
colorscheme base16-default-dark
|
||||||
syntax enable
|
syntax enable
|
||||||
set background=dark
|
set termguicolors
|
||||||
highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE " line number colours
|
highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE " line number colours
|
||||||
" Spaces & Tabs
|
" Spaces & Tabs
|
||||||
set tabstop=4 " number of visual spaces per TAB
|
set tabstop=4 " number of visual spaces per TAB
|
||||||
|
|||||||
Reference in New Issue
Block a user