dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 072b773d59e8e14ab04f72329abd873e5b4c98e5
parent 1187d56c74167fd99724a5309d29504d91bd2d83
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon,  2 Jul 2018 11:19:55 -0400

Remove polyglot and revert to custom filetype plugins. Enable OSX press-and-hold menu

Diffstat:
Minit/10_macos.sh | 7++++---
Mlinks/.vim/plugins.vim | 33+++++++++++++++++++++++++++++----
2 files changed, 33 insertions(+), 7 deletions(-)

diff --git a/init/10_macos.sh b/init/10_macos.sh @@ -21,7 +21,7 @@ while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & ############################################################################### # Set standby delay to 1 hour -sudo pmset -a standbydelay $(echo "1*60*60"|bc) +sudo pmset -a standbydelay "$(echo "1*60*60"|bc)" # Disable the sound effects on boot sudo nvram SystemAudioVolume=" " @@ -150,7 +150,7 @@ defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 -# Enable “natural” (Lion-style) scrolling +# Enable "natural" (Lion-style) scrolling defaults write NSGlobalDomain com.apple.swipescrolldirection -bool true # Increase sound quality for Bluetooth headphones/headsets @@ -167,7 +167,8 @@ defaults write com.apple.universalaccess HIDScrollZoomModifierMask -int 262144 defaults write com.apple.universalaccess closeViewZoomFollowsFocus -bool true # Disable press-and-hold for keys in favor of key repeat -defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false +#defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false +defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool true # Set keyboard repeat rate (macOS defaults: 6 and 25) defaults write NSGlobalDomain KeyRepeat -int 3 diff --git a/links/.vim/plugins.vim b/links/.vim/plugins.vim @@ -60,16 +60,41 @@ Plug 'airblade/vim-gitgutter' " show line changes since last git commit """""" Processes """""" Plug 'tpope/vim-dispatch' " for asynchronous :Make +Plug 'janko-m/vim-test' " test with t<C-n>, t<C-f>, t<C-s> """""" File types """""" + +" Go +Plug 'fatih/vim-go' +Plug 'nsf/gocode' + +" Julia +Plug 'JuliaLang/julia-vim' + +" Python +Plug 'davidhalter/jedi-vim' +Plug 'nvie/vim-flake8' +Plug 'vim-scripts/indentpython.vim' +"Plug 'klen/python-mode' + +" HTML/PHP/JS +Plug 'captbaritone/better-indent-support-for-php-with-html' +Plug 'pangloss/vim-javascript' + +" Markdown +Plug 'godlygeek/tabular' " line up text (req for vim-markdown) +Plug 'plasticboy/vim-markdown' Plug 'sheerun/vim-polyglot' " Support for 100+ languages -let g:polyglot_disabled = ['latex'] -Plug 'lervag/vimtex' " Better LaTeX plugin +" Mail +Plug 'vim-scripts/mutt-aliases', { 'for': 'mail' } " complete aliases w C-x C-u +" LaTeX +Plug 'lervag/vimtex' Plug 'anders-dc/vim-scholarref' " search bibtex refs from web -Plug 'vim-scripts/mutt-aliases', { 'for': 'mail' } " complete aliases w C-x C-u -Plug 'janko-m/vim-test' " test with t<C-n>, t<C-f>, t<C-s> + +" Vimscript +Plug 'junegunn/vader.vim' " testing framework call plug#end() " Initialize plugin system