Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/toshikinakamura0412/dotfiles

My dotfiles
https://github.com/toshikinakamura0412/dotfiles

aliases alpine archlinux arm64 centos-stream debian dotfiles fedora git linux macos mit-license neovim opensuse-leap tmux ubuntu x86-64

Last synced: 20 days ago
JSON representation

My dotfiles

Awesome Lists containing this project

README

        

# dotfiles

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

![image](https://github.com/ToshikiNakamura0412/dotfiles/wiki/images/dotfiles.png)

- Setting for aliases, shell, zsh, git, vim, neovim and tmux
- tmux
- prefix key: `Ctrl-s`
- If you want to change the prefix key and the theme, please refer to [Setup](#setup)
- This repository contains the following submodules:
- [vim](https://github.com/ToshikiNakamura0412/vim.git)
- [nvim](https://github.com/ToshikiNakamura0412/nvim.git)
- This repository is used in [dockerfiles](https://github.com/ToshikiNakamura0412/dockerfiles.git)

## Environment
### OS
- Linux
- alpine
- arch
- centos (stream)
- debian
- fedora
- opensuse (leap)
- ubuntu
- macOS (Prerequisites: Homebrew, pip3)

### Architecture
- x86_64
- arm64

### Shell
- bash
- zsh

## Installation
```bash
git clone --recursive https://github.com/ToshikiNakamura0412/dotfiles.git
./dotfiles/install.bash
```

## Setup
### zsh
If you want to change the terminal appearance, please execute the following:
```bash
p10k configure
```

### tmux
If you want to change the prefix key and the theme, please execute the following:
```bash
cd dotfiles/scripts/
./setup_tmux.bash [with_setup (optional)]
```
Show the help:
```bash
./setup_tmux.bash -h
```

### plugin
#### nvim
Please set executable.command path for `jedi-language-server`
```bash
nvim ~/.config/nvim/coc-settings.json
```

## Update
```bash
cd ~/dotfiles
git pull
git submodule update --remote --recursive
```

## Usage
### zsh
| Command | Description |
| --- | --- |
| `Ctrl-r` | Open fzf |

### tmux
| Command | Description |
| --- | --- |
| ` + [` | Copy mode (`y`: yank) |

- [pain control](https://github.com/tmux-plugins/tmux-pain-control.git)

### Neovim
| Command | Description |
| --- | --- |
| `Ctrl-e` | Open file explorer |
| `ff` | Open fzf |

#### C/C++ Completion for ROS1
If you want to enable C/C++ completion for ROS1, please execute the following:
```bash
# enable simple completion
# - add following paths
# - /opt/ros//include
# - /include
roscd
create_simple_compile_flags

# build and enable completion of target package
roscd
cbt

# build and enable completion of all packages
cb
```

## Troubleshooting
### Character encoding issue
Set your terminal font as `Hack Nerd Font`.

### The text color is white
It may not be compatible with True Color.

If you have color settings in your shell, please disable them.

If the issue persists, please execute the following:
```bash
export TERM=screen-256color
```

### It's not working properly
Please reinstall.