/dev-config

VIM Configuration used

Primary LanguageLua

Additional packages

  1. Oh-my-ZSH: https://github.com/ohmyzsh/ohmyzsh
  2. Powerlevel10k: https://github.com/romkatv/powerlevel10k
    • Important: install recommended Meslo font
  3. Install NERD fonts
  4. NVIM Nightly: https://github.com/neovim/neovim/releases/tag/nightly
  5. Git So Fancy: https://github.com/so-fancy/diff-so-fancy
  6. bat
  7. fzf
  8. ripgrep
  9. TMUX as well as TPM

NVIM as an IDE

  1. git clone git://github.com/rafi/vim-config.git ~/.config/nvim - see https://github.com/rafi/vim-config
  2. Copy local configuration files into ~/.config/nvim: cp -r .config/nvim/lua ~/.config/nvim/
  3. In Wayland, install wl-clipboard to make system clipboard available

Additional Tweaks

  1. Add .rgignore in source tree to disable listing .cache files:
.cache/*
  1. Global GIT ignore of special files:
git config --global core.excludesFile '~/.gitignore'
  1. Add .clangd file in source tree that points to compilation database:
CompileFlags:
  CompilationDatabase: /home/stone/source

Extra Plugins

  1. See .config/nvim/lua/plugins.lua

Don't forget directory local .local.vimrc!

Example:

let
g:cmake_build_dir='/home/stone/build

set tabstop=4
autocmd FileType cpp setlocal tabstop=4 shiftwidth=4

Installation (for i3)

  1. Copy i3exit to /usr/local/bin
  2. Copy config to $HOME/.config/i3/config