initial commit

This commit is contained in:
Luddifee 2020-12-06 09:47:59 +01:00
parent 2183bfa281
commit 2fa7664835
6 changed files with 117 additions and 0 deletions

8
git/setup.sh Normal file
View File

@ -0,0 +1,8 @@
# install git
sudo apt install git --assume-yes
# install keyring
sudo apt install libsecret-1-0 libsecret-1-dev --assume-yes
cd /usr/share/doc/git/contrib/credential/libsecret
sudo make
git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret

29
terminal/kitty.conf Executable file
View File

@ -0,0 +1,29 @@
font_family JetBrains Mono Extra
bold_font auto
italic_font auto
bold_italic_font auto
font_size 14
background #002b36
foreground #839496
cursor #93a1a1
selection_background #81908f
selection_foreground #002831
color0 #073642
color1 #dc322f
color2 #859900
color3 #b58900
color4 #268bd2
color5 #d33682
color6 #2aa198
color7 #eee8d5
color9 #cb4b16
color8 #002b36
color10 #586e75
color11 #657b83
color12 #839496
color13 #6c71c4
color14 #93a1a1
color15 #fdf6e3

View File

@ -0,0 +1,16 @@
# install python3 and pip3
sudo apt install python3 python3-pip --assume-yes
# install pip3 powerline
sudo pip3 install git+git://github.com/powerline/powerline
wget https://github.com/Lokaltog/powerline/raw/develop/font/PowerlineSymbols.otf https://github.com/Lokaltog/powerline/raw/develop/font/10-powerline-symbols.conf
sudo mv PowerlineSymbols.otf /usr/share/fonts/
sudo fc-cache -vf
sudo mv 10-powerline-symbols.conf /etc/fonts/conf.d/
# install kitty
sudo apt install kitty --assume-yes
# copy kitty config
cp kitty.conf ~/.config/kitty/kitty.conf

13
vim/vim-setup.sh Normal file
View File

@ -0,0 +1,13 @@
# install curl
sudo apt install curl --assume-yes
# install vim
sudo apt install vim --assume-yes
# setup vim-plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# copy vimrc
cp vimrc ~/.vimrc

46
vim/vimrc Executable file
View File

@ -0,0 +1,46 @@
if has("syntax")
syntax on
endif
nnoremap qt :vert term<CR><C-w><C-r>
nnoremap s5 :so %<CR>
noremap qq <Esc> :q<CR>
noremap qqq <Esc> :q!<CR>
noremap vs <Esc>:e $MYVIMRC<CR>
inoremap qw <Esc>:w<CR>i<Right>
nnoremap qw :w<CR>
inoremap ii <Esc><Right>
set number
call plug#begin()
Plug 'itchyny/lightline.vim'
Plug 'altercation/vim-colors-solarized'
Plug 'calincru/flex-bison-syntax'
Plug 'scrooloose/syntastic'
Plug 'othree/html5.vim'
Plug 'ryanoasis/vim-devicons'
Plug 'scrooloose/nerdtree'
Plug 'valloric/youcompleteme'
Plug 'jiangmiao/auto-pairs'
Plug 'jrozner/vim-antlr'
Plug 'dart-lang/dart-vim-plugin'
Plug 'leafgarland/typescript-vim'
call plug#end()
noremap qf <Esc>:NERDTreeToggle<CR>
set encoding=UTF-8
set tabstop=4
set background=dark
set laststatus=2
set noshowmode
let g:lightline = {
\ 'colorscheme': 'solarized',
\ }
colors solarized

View File

@ -0,0 +1,5 @@
# install dependencies
sudo apt install build-essential cmake vim-nox python3-dev mono-complete golang nodejs default-jdk npm --assume-yes
# compile ycm
python3 ~/.vim/plugged/youcompleteme/install.py --all