Skip to content

xwinxu/dotfiles

Repository files navigation

dotfiles

Configs, setups, etc

New Mac Setup

Type speed: defaults write NSGlobalDomain KeyRepeat -int 1 with KeyRepeat set to -3 and Delay to slowest in settings. (more settings: defaults write -g InitialKeyRepeat -int 10) Scroll speed: fastest in settings. Repeat keys turn on: defaults write -g ApplePressAndHoldEnabled -bool false Dock speed: defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock

Install vim plugin manager:

mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim

or Vundle

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

For YCM:

brew install macvim # optional 
brew install cmake python go nodejs
cd ~/.vim/bundle/YouCompleteMe
python3 install.py --clang-interpreter # no need --all

Add to .vimrc (may need to brew install vim for python3+ support)

" YouCompleteMe
let g:ycm_global_ycm_extra_conf='~/.vim/bundle/YouCompleteMe/.ycm_extra_conf.py'
let g:ycm_confirm_extra_conf=0
let g:ycm_python_binary_path='/usr/bin/python3'

Then :wq to exit, reopen vim and run:

  • Delete plugin: :PluginUpdate
  • Add plugin: :PluginInstall

References

vundle

About

Configs, setups, etc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published