My dotfiles for various programs that I use.
To Copy/Paste text from vim to other applications:
- Install the following to use clipboard with vim
- For Debian based distros: Install
vim-gtk3
- For Fedora : Install
vim-gtk3
- For Arch Linux : Install
gvim
(this will enable+clipboard
for normal vim as well)
- For Debian based distros: Install
- Once the above is installed, add
set clipboard=unnamedplus
to your vimrc
Optional
I have configured my vim to use only two spaces for indentation instead of four for python.
This can be done by adding these lines to your vimrc:
let g:python_recommended_style = 0
let g:loaded_matchparen=1
filetype plugin indent on
To enable os-prober for Arch Linux:
- Install
os-prober
(if not installed) - Try:
sudo grub-mkconfig -o /boot/grub/grub.cfg
- Open
/etc/default/grub
with vim:sudo vim /etc/default/grub
- Check:
GRUB_DISABLE_OS_PROBER
and set it tofalse
- Try again:
sudo grub-mkconfig -o /boot/grub/grub.cfg
To fix the Postman Certificate issue:
- Manually create the certificates in
~/.var/app/com.getpostman.Postman/config/Postman/proxy
:
openssl req -subj '/C=US/CN=Postman Proxy' -new -newkey rsa:2048 -sha256 -days 365 -nodes -x509 -keyout postman-proxy-ca.key -out postman-proxy-ca.crt