This repository has the following dot files and shell scripts:
-
vimrc: This vimrc comes with preloaded set of useful vim plugins specifically chosen for cpp based programming on linux. Install vim and copy this file to your ~ directory and enter :PluginInstall in vim.
-
updatevim.sh: Since a lot of the plugins in the vimrc require vim 8.1+, run this script to update your existing vim version.
-
installvundle.sh: Vundle is the package manager that I have used in my vimrc. Run this script in your ~ directory to install and set vundle up. This should be done before copying vimrc to ~ directory.
-
installcodequery.sh: This will install and setup codequery which can be used to search symbols, declarations, etc. across a cpp project. Instructions on how to use codequery are in vimrc.
-
installfish.sh: This will install and setup fish shell with a nice ocean theme. Log out and login to set fish as default shell.
-
installxmonad.sh: This script will install xmonad on your linux environment with the default basic config. Copy .xsession file to ~/ directory to autoload the wallpaper each time.
-
config.fish: This is fish config file. Put this in ~/.config/fish/.
To use xmonad with xmobar (status bar):
- Install xmobar using
apt install xmobar
- Go to xmonadplusbar directory
- Copy xmonad.hs to ~/.xmonad/ directory
- Copy .xmobarrc to ~/ directory
- Copy .xsession to ~/ dir
- Copy myxmonad.desktop to /usr/share/xsessions/ dir
- Run xmonad --recompile && xmonad --restart to see effects.
For use with dual monitors [MAIN HORIZONTAL][SECONDARY VERTICAL]:
- Install xmobar.
- Go to xmonadplusbar_dualmonitor directory
- Copy xmonad.hs to ~/.xmonad/ directory
- Copy .xmobarrc to ~/ directory
- Copy myxmonad.desktop to /usr/share/xsessions/ dir
- Run xmonad --recompile && xmonad --restart to see effects.
- You might need to install utf chars using
apt install locales
NOTE: The vimrc has custom key bindings that suit my style of programming. Refer to vimrc for comments on how to use different plugins
Here is how my xmonad and vim configs look like.