add fixcatalina original

This commit is contained in:
2020-05-06 13:07:58 -07:00
parent e4652d43b7
commit e8c586aad5
3 changed files with 182 additions and 6 deletions

View File

@@ -1,4 +1,9 @@
"execute pathogen#infect()
execute pathogen#infect()
let system_uname = system('uname -s')
let osx = system_uname =~? 'darwin'
let linux = system_uname =~? 'linux'
let windows = has('win32') || system_uname =~? 'mingw'
set number
filetype plugin indent on
@@ -19,6 +24,7 @@ vnoremap < <<CR>gv
"au BufWinLeave * silent! mkview
"au BufWinEnter * silent! loadview
set directory=~/.vim/swap//
set backupdir=~/.vim/backup//
set undodir=~/.vim/undo//
@@ -53,6 +59,8 @@ set softtabstop=4
set autoindent
set smarttab
set expandtab
set nowrap
autocmd FileType make setlocal noexpandtab
autocmd FileType markdown setlocal spell
@@ -72,10 +80,6 @@ map <s-tab> <c-w><c-w>
colorscheme koehler
hi CursorLine term=none cterm=none ctermbg=none
set t_Co=256
set foldmethod=indent
set foldminlines=5
set nofoldenable "dont fold by default
set foldlevel=1 "this is just what i use
nnoremap <silent> <Space> @=(foldlevel('.')?'za':'l')<CR>
vnoremap <Space> zf
@@ -98,3 +102,5 @@ let python_no_number_highlight = 1
let python_space_error_highlight = 1
let g:flake8_show_in_gutter=1 " show
let g:go_fmt_command = "goimports"