My Linux dotfiles repository
Go to file
Shaun Reed 138ccc7e51 Make path to libclang universal, update vimrc
Added Ale plugin for running linters
+ Changed unicode error and warning symbols
+ Added keybind for moving to next / previous errors

Update vimrc to use environment variable /usr/lib/llvm-10/lib/libclang.so.1 for clang path
+ This is automatically adjusted to the system clang path via output of 'find / -name libclang.so.1'
+ Requires some derivative of libclang to be installed, along with clang

Add whitespace check function to vimrc
+ Removes whitespaces from every relative file saved with vim
+ list of files found within ~/.vimrc

Add Colorizer plugin keybind for toggling color highlights within vim

Add environment variables $EDITOR and $VISUAL and set both to point to vim

Add a script to fix a common issue in vbox displays
+ running fix-vbox.sh corrects unclickable portion of the screen
2020-06-11 14:00:01 -04:00
.vim Make path to libclang universal, update vimrc 2020-06-11 14:00:01 -04:00
.bash_aliases Make path to libclang universal, update vimrc 2020-06-11 14:00:01 -04:00
.bashrc Basic vim settings, plugins 2020-02-19 06:28:27 +00:00
.gitignore Replace tmux-gitbar with Gitmux 2020-01-20 11:31:46 -05:00
.gitmodules Make path to libclang universal, update vimrc 2020-06-11 14:00:01 -04:00
.vimrc Make path to libclang universal, update vimrc 2020-06-11 14:00:01 -04:00
README.md Make path to libclang universal, update vimrc 2020-06-11 14:00:01 -04:00
fix-vbox.sh Make path to libclang universal, update vimrc 2020-06-11 14:00:01 -04:00

README.md

dots

A place for backing up my dotfiles. Be sure to clone recursively if you want to grab updated plugins / submodules included. For example, using Pathogen with Vim to manage plugins requires that the plugin to be installed are cloned to the ~/.vim/bundle/ directory. Cloning recursively allows git to clone these same nested repositories/submodules within this directory so Pathogen can handle running the Vim plugins.

Easiest installation is to clone repository into home directory -

git clone -b headless --recursive https://github.com/shaunrd0/dot ~/dot
cd ~/dot/
stow .

If you'd rather clone elsewhere -

git clone -b headless --recursive https://github.com/shaunrd0/dot /path/to/dot
cd /path/to/dot/
stow -t ~ .

I use the libclang-10-dev package for clang completion. You can use whichever version you want, as the .vimrc configuration hosted here uses an environment variable $LIBCLANG which is set using the output of sudo find / -name libclang.so.1. To use the same version as I do, simply run sudo apt install libclang-10-dev

stow --adopt . can be used to install conflicting files, but doing so will result in the loss of your local configurations. If you want to keep them, back up the conflicting files output in the error message before running this command.

After running stow, be sure to check that your repository is clean. If a file has been modified or deleted, checkout again within the repo and it will immediately be restored on your system as well.

git checkout -- .vimrc
# Or, to step through each change interactively using git..
git checkout -p