Skip to content

Dot files for VIM and TMUX - the focus is on minimized numbers of plug-ins with maximum performance.

License

Notifications You must be signed in to change notification settings

wosrediinanatour/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Dot files for VIM and TMUX - the foci are on

  • minimized numbers of plug-ins /dependencies with maximum performance.

  • software development

  • linters, syntax highlighting, and language servers (C, C++, Python, Markdown, PlantUML)

  • a good work flow

Note that you can install configuration (and dependencies) easily only for either VIM or TMUX.

TMUX

The main feature is showing following panel at the bottom:

 master                        1:vim*              cpu0  0% cpu1  0% cpu2  4% cpu3  0%  21/10 09:28:39
 ^                               ^                        ^
 |                               |                        |
 +-- GIT branch                  +-- window(s)            +-- CPU loads, date, time

VIM

Main features - for the list of plug-ins see .vimrc:

  • Use of vim-fzf for searching almost everything: buffers, files, regex in files, marks, etc.

  • Use of vim-ale: linter and language client (LSP client)

  • Improved C++ syntax highlighting

  • Support of .editorconfig

  • Optimized for work with GIT

  • Improved syntax highlighting in Markdown files (e.g. markdown fenced languages are enabled)

  • Improved searching in files

  • Use of RIPGREP

BASH

Main features:

  • A single big history for all TMUX sessions. Note that ~/.bashrc is not modified!

Setup

  • Clone repository into ~:
git clone [email protected]:wosrediinanatour/dotfiles.git
  • Remove ~/.vimrc and ~/.tmux.conf, if they exist.

  • Install dot files (you need GNU stow, .e.g. by sudo dnf install stow) separately by:

$ cd ~/dotfiles
$ stow -v VIM
  LINK: .vimrc => dotfiles/VIM/.vimrc
$ stow -v TMUX
  LINK: .tmux.conf => dotfiles/TMUX/.tmux.conf
  LINK: show_load_per_cpu => dotfiles/TMUX/show_load_per_cpu
$ stow -v BASH
  LINK: .bashrc.d => dotfiles/BASH/.bashrc.d

VIM

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  • VIM :PlugInstall triggers the installation of plug-ins.

  • You may install all dependencies together by

sudo dnf install -y ripgrep bat fzf pandoc plantuml clang-format clangd
- FZF is a fuzzy finder for: files, commits, buffers, ... 

- RIPGREP is a fast replacement of GREP.

- For Language Client ALE (vim) you need a language server. For C++ CLANGD is used.

- For markdown linting Pandoc and for C and C++ linting clang-format is used.

- PlantUML installation is optional.

- VIM-FZF uses BAT for syntax highlighting of the file preview.

TMUX

  • Install TMUX Plugin Manager by git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

  • mstat of Package sysstat and jq are used for displaying CPU load:

sudo dnf install sysstat jq
  • TMUX CTRL+B SHIT+I triggers the installation of plug-ins.

Uninstall

$ stow -D VIM
$ stow -D TMUX
$ stow -D BASH

About

Dot files for VIM and TMUX - the focus is on minimized numbers of plug-ins with maximum performance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published