Thanks to visit codestin.com
Credit goes to github.com

Skip to content

my dotfiles on arch (btw) linux

fauzymadani/dots

Repository files navigation

Arch Dotfiles

this repository is used to store my backup configuration files on arch linux. you have to be aware that my config may not work on your distro unless it's arch or arch based distro.

Setup

install gnu-stow on your distro to be able to use/implement this config.

  • Arch

sudo pacman -S stow
  • Debian

sudo apt install stow

Usage

move your config files (if there's already some files), and clone the repo:

mv ~/.config/nvim ~/.config/nvim.bak # for example
cd ~
git clone https://github.com/fauzymadani/dots.git
cd dots
stow nvim # example

Keymaps

several config uses the default keymap, i'm only focused on their appearance.

Nvim

Keymap Mode Description
Space + f + f Normal Open Telescope to find files
Space + f + g Normal Open Telescope for live grep/search in project
Space + f + b Normal Open Telescope to list buffers
Space + f + h Normal Open Telescope to search help tags
g + d Normal Go to the definition of the symbol under the cursor
g + r Normal List all references to the symbol under the cursor
K Normal Show hover documentation/info for symbol under cursor
Space + r + n Normal Rename the symbol under the cursor
Space + c + a Normal Show code actions available at the cursor position
Space + n Normal Show diagnostics/errors/warnings for current line
Space + e Normal Toggle/focus NvimTree file explorer
Space + q Normal Close NvimTree or quit current buffer
Ctrl + b Insert (autocomplete menu) Scroll documentation up in autocomplete popup
Ctrl + f Insert (autocomplete menu) Scroll documentation down in autocomplete popup
Ctrl + Space Insert Trigger completion/autocomplete manually
Ctrl + e Insert Abort/close autocomplete popup
Enter Insert Confirm the selected autocomplete item

TODO

  • improve docs
  • add more config

About

my dotfiles on arch (btw) linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published