Skip to content

Hanivan/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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-homescreen red-sars-etc red-sars-workspace

Running Application:

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

dblue-naka-homescreen dblue-naka-workspace dblue-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:
a b means "press a (release), then press b"
a+b means "press a (hold it), then press b"

Function Mode Key Name
Leader N Space
Buffer next N Alt+Tab
Buffer previous N Alt+Shift+Tab
Buffer close N Ctrl+w
Search keyword forward N n
Search keyword backward N Shift+n
Telescope find_files N Ctrl+p
File Explorer toggle N Ctrl+b
Move window pane focus to left N Control+h
Move window pane focus to down N Control+j
Move window pane focus to up N Control+k
Move window pane focus to right N Control+l
Exit from terminal mode T Esc
Increase window vertical split N Ctrl+Shift+z
Decrease window vertical split N Ctrl+z
Increase window horizontal split N Ctrl+Shift+x
Decrease window horizontal split N Ctrl+x
Emmet leader key N Control+Space
Compile&Run C++ N F5
Compile&Run C++ (OOP) N F6
Compile SCSS N Ctrl+s
Run Live Server N Alt+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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages