change of vim themes, addition of apt/dpkg package installers

This commit is contained in:
2020-07-13 15:07:32 +01:00
parent 67fb457430
commit 27a00f8e08
5 changed files with 48 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
#!/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
function config {
/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@

View 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

View 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
View File

@@ -0,0 +1,3 @@
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc

32
.vimrc
View File

@@ -1,8 +1,36 @@
" 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
colorscheme solarized
colorscheme base16-default-dark
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
" Spaces & Tabs
set tabstop=4 " number of visual spaces per TAB