-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from morazow/dots-branch
Updated dotfiles
- Loading branch information
Showing
87 changed files
with
5,222 additions
and
530 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.