Skip to content

Latest commit

 

History

History
121 lines (101 loc) · 2.67 KB

README.md

File metadata and controls

121 lines (101 loc) · 2.67 KB

dotfiles

License: MIT

image

  • 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
  • This repository contains the following submodules:
  • This repository is used in dockerfiles

Environment

OS

  • Linux
    • alpine
    • arch
    • centos (stream)
    • debian
    • fedora
    • opensuse (leap)
    • ubuntu
  • macOS (Prerequisites: Homebrew, pip3)

Architecture

  • x86_64
  • arm64

Shell

  • bash
  • zsh

Installation

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:

p10k configure

tmux

If you want to change the prefix key and the theme, please execute the following:

cd dotfiles/scripts/
./setup_tmux.bash <prefix_key> <tmux_power_theme> [with_setup (optional)]

Show the help:

./setup_tmux.bash -h

plugin

nvim

Please set executable.command path for jedi-language-server

nvim ~/.config/nvim/coc-settings.json

Update

cd ~/dotfiles
git pull
git submodule update --remote --recursive

Usage

zsh

Command Description
Ctrl-r Open fzf

tmux

Command Description
<prefix_key> + [ Copy mode (y: yank)

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:

# enable simple completion
# - add following paths
#   - /opt/ros/<ROS DISTRO>/include
#   - <target package>/include
cd <target package>
create_simple_compile_flags

# build and enable completion related to target package
cd <target package>
cbt_export_compile_commands

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:

export TERM=screen-256color

It's not working properly

Please reinstall.