Skip to content

Commit

Permalink
Merge pull request #3 from morazow/dots-branch
Browse files Browse the repository at this point in the history
Updated dotfiles
  • Loading branch information
morazow authored Oct 2, 2023
2 parents 86a97fa + af8816c commit 07f5962
Show file tree
Hide file tree
Showing 87 changed files with 5,222 additions and 530 deletions.
23 changes: 0 additions & 23 deletions .editorconfig

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Dotfiles CI

on:
push:
branches:
- main
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Symlink dotfiles
run: ./run
- name: Test dotfiles
run: ./test

# Neovim checks
- name: Install Neovim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
- name: Install Neovim Dependencies
run: nvim --headless "+Lazy! sync" +qa
14 changes: 13 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
*~
*.elc
.vagrant/
configs/vim/*/
node_modules
config/nvim/plugin
config/regolith/flags
config/zsh/.zsh_history
config/zsh/.zcompdump*
home/emacs.d/elpa
home/emacs.d/history
home/emacs.d/recentf
home/emacs.d/smex-items
home/emacs.d/transient
home/emacs.d/config.el
home/emacs.d/config.bash
home/emacs.d/custom.el
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[submodule "config/zsh/custom/plugins/fast-syntax-highlighting"]
path = config/zsh/custom/plugins/fast-syntax-highlighting
url = https://github.com/zdharma-continuum/fast-syntax-highlighting.git
[submodule "config/zsh/custom/plugins/zsh-completions"]
path = config/zsh/custom/plugins/zsh-completions
url = https://github.com/zsh-users/zsh-completions.git
[submodule "config/zsh/custom/plugins/zsh-autosuggestions"]
path = config/zsh/custom/plugins/zsh-autosuggestions
url = https://github.com/zsh-users/zsh-autosuggestions
46 changes: 0 additions & 46 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ rules:
key-duplicates: enable
key-ordering: disable
line-length:
max: 98
max: 120
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: false
new-line-at-end-of-file: enable
Expand Down
141 changes: 126 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,137 @@
# ~/dotfiles
[![Build Status](http://img.shields.io/travis/morazow/dotfiles.svg?style=flat-square)][travis]

A collection of configuration files for `m.orazow`.
[![Build Status](https://github.com/morazow/dotfiles/actions/workflows/ci.yml/badge.svg)](https://github.com/morazow/dotfiles/actions/workflows/ci.yml)

Currently I am developing in OS X. However, there are files for Linux OS also. I try to keep both
environments up-to-date and synchronized.
Personal configuration files.

## Quick Start
## Git Clone with Submodules

Git clone this repository and then run `./run`.
```sh
git clone --recurse-submodules https://github.com/morazow/dotfiles
```

## License
Or update submodules:

[The MIT License (MIT)](LICENSE.md)
```sh
git submodule update --init --recursive
```

## Setup Development Machine

Setup passwordless sudo for main user:

Add these to the `/etc/sudoers.d/<USER>` file:

```txt
<USER> ALL=(ALL) NOPASSWD: ALL
```

Install initial essential command line tools:

```sh
sudo apt install software-properties-common build-essential apt-transport-https ca-certificates -y
sudo apt install vim git curl wget -y
```

Install Python 3 version:

```sh
sudo apt install python3 python3-pip -y
```

Install Ansible tools:

Ensure that the `pip` is installed:

```sh
python3 -m pip -V
```

Install `ansible`:

```sh
python3 -m pip install --user ansible
```

Run minimal development machine setup:

```sh
~/.local/bin/ansible-playbook playbook.yml
```

Restart and select `Regolith` as window manager on the next login.

## Setup Java

List the available Java versions:

## Inspiration
```sh
sdk list java
```

I hereby acknowledge and thank the people who have made their `~/dotfiles` publicly available!
Install Java 17 and 11 Temurin versions:

* [Derek Wyatt](https://github.com/derekwyatt/dotfiles)
* [Greg Hurrell](https://github.com/wincent/wincent)
* [Jeff Geerling](https://github.com/geerlingguy/ansible-role-homebrew)
* [Cătălin Mariș](https://github.com/alrra/dotfiles)
```sh
sdk install java 17.0.6-tem
sdk install java 11.0.18-tem
```

[travis]: http://travis-ci.com/morazow/dotfiles
Set Java 17 as default:

```sh
sdk default java 17.0.6-tem
```

### Build Java Tools

Build `eclipse.jdt.ls`, it is required for `java-debug`:

```sh
cd ~/Devel/git/tools/eclipse.jdt.ls/
./mvnw clean install -DskipTests
```

Build `java-debug`:

```sh
cd ~/Devel/git/tools/java-debug/
./mvnw clean install -DskipTests
```

Build `vscode-java-test`:

```sh
cd ~/Devel/git/tools/vscode-java-test/
npm install && npm run build-plugin
```

Build `vscode-java-dependency`:

```sh
cd ~/Devel/git/tools/vscode-java-dependency/
npm install && npm run build-server
```

## Install Coursier

Like Java installations, install coursier:

```sh
curl -fLo coursier https://github.com/coursier/launchers/raw/master/coursier
mv coursier ~/.local/bin/
chmod +x ~/.local/bin/coursier
```

## Clean Neovim State

Remove `neovim` folders for fresh start:

```sh
rm -rf ~/.local/share/nvim/*
rm -rf ~/.local/state/nvim/*
rm -rf ~/.cache/nvim/*
```

## License

[The MIT License (MIT)](LICENSE.md)
34 changes: 0 additions & 34 deletions Vagrantfile

This file was deleted.

43 changes: 43 additions & 0 deletions config/kitty/kitty.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker

macos_titlebar_color background

enable_audio_bell no

font_family JetBrainsMono Nerd Font
bold_font auto
italic_font auto
bold_italic_font auto

font_size 12.0
force_ltr no

## Nerd Font Supports {{{
symbol_map U+E0A0-U+E0A3,U+E0C0-U+E0C7 PowerlineSymbols
## }}}

## Unicode
box_drawing_scale 0.001, 1, 1.5, 2

## Layouts
enabled_layouts splits:split_axis=horizontal

## Mappings {{{

### Font Changes
map ctrl+shift+equal change_font_size all +2.0
map ctrl+shift+plus change_font_size all +2.0

### Splits
map ctrl+` launch --location=vsplit --cwd=current
map ctrl+shift+` launch --location=hsplit --cwd=current

## }}}

## Theme
include themes/onedark.conf

# include font.conf
# include layout.conf
# include themes/init.conf
# include navigator.conf
Loading

0 comments on commit 07f5962

Please sign in to comment.