[vim] re-set textwidth, modify macvim settings

- Use dark mode for MacVim since Mojave
- Try setting MacVim settings automatically
pull/28/head
Alpha Chen 6 years ago
parent 7c4ec2d439
commit 9438911194

@ -91,7 +91,6 @@ if !has("nvim")
endif
set virtualedit=block
set noshowmode
set textwidth=100
function! RestoreCursor()
let pos = line("'\"")
@ -121,7 +120,7 @@ augroup end
" GUI {{{
if has("gui_running")
set background=light
" set background=light
" causes flickering in the terminal for some reason
set macligatures

@ -180,7 +180,28 @@ osx_defaults:
type: int
value: 1
# Other applications
- domain: com.google.Chrome
key: AppleEnableSwipeNavigateWithScrolls
type: bool
value: false
- domain: org.vim.MacVim
key: MMLastWindowClosedBehavior
type: int
value: 2
- domain: org.vim.MacVim
key: MMUntitledWindow
type: int
value: 1
- domain: org.vim.MacVim
key: SUCheckAtStartup
type: int
value: 1
- domain: org.vim.MacVim
key: SUEnableAutomaticChecks
type: int
value: 1

Loading…
Cancel
Save