My dotfiles...
The issue was that 'cursorline' is a window option but I was storing the original value in global variable. So when Telescope (which has 'cursorline' not set in its window) entered insert mode, the InsertEnter autocmd caused the global variable to store 0 (nocursorline). After this, every InsertLeave event would use the global value and eventually disable the cursorline everywhere. |
||
---|---|---|
config | ||
home | ||
.gitattributes | ||
.gitignore | ||
.key | ||
install.sh | ||
README.md |
Prerequisites
Only ansible is required for installing the dotfiles.
NOTE: git-crypt and gpg are needed to decrypt sensitive information in the repository, but these are installed by the ansible playbook.
Install ansible on Linux
sudo apt install -y ansible
Install ansible on macOS
brew install ansible
Installation
Steps:
- Clone the repo.
- Play the
local.yml
ansible playbook. - Decrypt key & initialize git-crypt to access sensitive data.
Gimme the code:
git clone https://git.schauenburg.me/fernando/dotfiles.git $HOME/.dotfiles
cd $HOME/.dotfiles
ansible-playbook local.yml
gpg -d --output - <(base64 -d .key) | git crypt unlock -