Skip to content

extend1994/Configs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

95d0937 · Oct 2, 2022

History

72 Commits
Jul 22, 2018
Jun 13, 2021
Jul 2, 2018
Dec 27, 2018
Nov 2, 2021
Dec 27, 2018
May 18, 2018
Dec 27, 2018
Oct 2, 2022
Oct 2, 2022
Oct 2, 2022
Nov 2, 2021
Dec 5, 2018
Dec 27, 2018
Dec 27, 2018
Nov 2, 2021
Dec 27, 2018

Repository files navigation

Configs

⭐ Star this repository if you like it! 🎉 😊 screenshot.png

Notable features

shell prompt

  • current user
  • current machine
  • current directory
  • current Git branch and status if available
  • current time

vim

  • Plugins for
    • Auto completion: YouCompleteMe
    • Snippet: ultisnips+vim-snipmate (engine) + vim-snippets (snippet)
    • Markdown: vim-markdown, goyo.vim, limelight.vim
    • Status line: vim-airline
    • Auto tab: tabular
    • Git related: vim-gitgutter, vim-fugitive, nerdtree-git-plugin
    • Syntax check: syntastic
    • File system explorer: NERDTree
    • Preview colours: vim-css-color
  • Theme: Use Luna-term
  • vim config to promote working efficiency
    • Show colorcolumn at 72 & 80 char location
    • Auto reload when the file is changes somewhere
    • Remove trailing spaces when the file is saved

tmux

  • Revised theme based on tmux-themepack
  • Status line
    • current user
    • machine uptime
    • tmux session name:window_index:pane_index
    • cpu and memory load
    • datetime
    • date
    • machine name
  • Be able to store/restore tmux session even the machine is restarted, see key-bindings.md to know how to use it!

Useful tools

  1. ripgrep(rg): faster & cleaner grep
  2. bat: cat with line numbers
  3. fd: User-friendly find
  4. ncdu: du alternative
  5. lnav: Log file navigator
  6. HTTPie: Enhanced curl/wget
  7. exa: Powerful ls
  8. z: Brilliant cd

To see commands and key bindings in this env, please see commands.md & key-bindings.md

Envoriment set up

You can get the same envinorment by running run_envSet.sh (for bash), when you run the script, please make sure you have ColorEcho.bash (for colored output) and load it . ColorEcho.bash.

Otherwise, it can't work well.

But don't worry, it should be working because it's downloaded and loaded in run_envSet.sh

If you want, you can also choose output without color, just replace echo.* with normal echo

./run_envSet.sh

What to install

  • Common apt packages: tmux, wget, curl, etc
  • Dot files: .bashrc, .tmux.conf, .vimrc, etc
  • nvm, npm and node
  • My Tools repo for working efficiency
  • Optional

hyper: A terminal built on web technologies

See https://hyper.is/

References

.bashrc, .gitconfig, .tmux.conf, .vimrc are initiallly based on https://github.com/PeterDaveHello/Unitial.