Skip to content

Latest commit

History

72 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Hello there 👋

Welcome to my personal dotfiles, hope you find something useful here ^-^

I made this dotfiles structure as neat as possible. Yaa~, besides making it easier for myself, it also makes it easier for others to copy my setup.

My Rig

───────── Hardware Information ─────────

  • Device: 80XU Lenovo Ideapad 320-14AST 💻
  • CPU: AMD A4-9120 2.2Ghz ⚙️
  • GPU: AMD ATI Radeon R3 ⚔️
  • RAM: 16GB 🌡️

───────── Software Information ─────────

red-sars-homescreenred-sars-etcred-sars-workspace

Running Application:

  • Terminal Update
  • ani-cli
  • neofetch
  • ranger
  • neovim

dblue-naka-homescreendblue-naka-workspacedblue-naka-web

Running Application:

  • neofetch
  • pipes.sh
  • firefox
  • neovim

[WARNING!]: Support for Arch Linux based systems only (instalation via pacman & aur)

Download

mkdir -p ~/Documents/git && git clone --depth=1 https://github.com/Hanivan/dotfiles.git ~/Documents/git/dotfiles && cd ~/Documents/git/dotfiles

Instalation

You can run setup.sh file

./setup.sh <THEME_NAME>

(Please backup your configuration before. Because this command will replace your own config and install all necessary packages, icons, and fonts)

For Neovim

You can install extension & language server using coc.nvim. In this setup I have configured several server languages, including:

  • coc-tserver (JavaScript & TypeScript)
  • coc-tslint-plugin (TypeScript)
  • coc-python (Python)
  • coc-prettier (Auto Format)
  • coc-phpls (PHP)
  • coc-json (JSON)
  • coc-html (HTML)
  • coc-emmet (Shorthand for HTML)
  • coc-diagnostic (Diagnostic for language servers)
  • coc-css (CSS)
  • coc-clangd (C/C++)

You just need to run this command on neovim

:CocInstall coc-tsserver coc-tslint-plugin coc-python coc-prettier coc-phpls coc-json coc-html coc-emmet coc-diagnostic coc-css coc-clangd

Keybinds

This table insipired by @bandithijo

Neovim

MODE:
N: Normal, I: Insert, T: Terminal, C: Command

NOTE:
ab means "press a (release), then press b"
a+b means "press a (hold it), then press b"

FunctionModeKey Name
LeaderNSpace
Buffer nextNAlt+Tab
Buffer previousNAlt+Shift+Tab
Buffer closeNCtrl+w
Search keyword forwardNn
Search keyword backwardNShift+n
Telescope find_filesNCtrl+p
File Explorer toggleNCtrl+b
Move window pane focus to leftNControl+h
Move window pane focus to downNControl+j
Move window pane focus to upNControl+k
Move window pane focus to rightNControl+l
Exit from terminal modeTEsc
Increase window vertical splitNCtrl+Shift+z
Decrease window vertical splitNCtrl+z
Increase window horizontal splitNCtrl+Shift+x
Decrease window horizontal splitNCtrl+x
Emmet leader keyNControl+Space
Compile&Run C++NF5
Compile&Run C++ (OOP)NF6
Compile SCSSNCtrl+s
Run Live ServerNAlt+l

Note For Compiler On Neovim

For C++ OOP. You must create folder structure like this.

haniv in 05-Methods λ tree .
.
├── bin
│ └── Main
└── src
└── Main.cpp

Or you can change formula for copile C++ OOP at ~/.zshrc. Search for oopcpp. Also you can change formula for compile C++ at ~/.config/nvim/general/settings.vim. Search for CompileCPP function. For SCSS compile formula, you can search for Auto Compiling Sass

Attention!!

Because I use a non-systemd distro. Expected if there is an error in this setup. You can fix it yourself. Thank You

Don't Forget To Follow

Hey! If you want to know more about me. You can follow some of the social media that I have below:

About

View of all my desktop setups~

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages