Commit d1094cb9 authored by Murukesh Mohanan's avatar Murukesh Mohanan

added system-local files

parent 7724f468
...@@ -8,9 +8,6 @@ setlocal spell spelllang=en_gb ...@@ -8,9 +8,6 @@ setlocal spell spelllang=en_gb
autocmd CursorHold *.tex w autocmd CursorHold *.tex w
inoreabbrev <buffer> 00 <bar>00\rangle inoreabbrev <buffer> /. <bar>\rangle<esc>bba
inoreabbrev <buffer> 10 <bar>10\rangle
inoreabbrev <buffer> 01 <bar>01\rangle
inoreabbrev <buffer> 11 <bar>11\rangle
highlight ColorColumn ctermbg=grey guibg=grey highlight ColorColumn ctermbg=grey guibg=grey
if has("gui_running")
if has("gui_gtk2")
set guifont=Ubuntu\ Mono\ 13
endif
endif
set path+=~/devel/elearning_academy/**
set textwidth=85
...@@ -50,7 +50,8 @@ set pastetoggle=<F10> ...@@ -50,7 +50,8 @@ set pastetoggle=<F10>
set title set title
set titlelen=20 set titlelen=20
set laststatus=2 set laststatus=2
set textwidth=85
let g:tex_flavor = "latex"
noremap ; : noremap ; :
noremap , ; noremap , ;
...@@ -76,10 +77,10 @@ colorscheme molokai ...@@ -76,10 +77,10 @@ colorscheme molokai
autocmd BufWritePre *.sh if !filereadable(expand('%')) | let b:is_new = 1 | endif autocmd BufWritePre *.sh if !filereadable(expand('%')) | let b:is_new = 1 | endif
autocmd BufWritePost *.sh if get(b:, 'is_new', 0) | silent execute '!chmod +x %' | endif autocmd BufWritePost *.sh if get(b:, 'is_new', 0) | silent execute '!chmod +x %' | endif
let g:SuperTabDefaultCompletionType="context" let g:SuperTabDefaultCompletionType = "context"
set omnifunc=syntaxcomplete#Complete set omnifunc=syntaxcomplete#Complete
set foldmethod=syntax set foldmethod=syntax
let g:syntastic_cpp_compiler_options=' -std=c++11' let g:syntastic_cpp_compiler_options = ' -std=c++11'
let g:syntastic_python_python_exec = '/usr/bin/python3' let g:syntastic_python_python_exec = '/usr/bin/python3'
let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#enabled = 1
...@@ -100,19 +101,12 @@ if has('cscope') ...@@ -100,19 +101,12 @@ if has('cscope')
command -nargs=0 Cscope cs add $VIMSRC/src/cscope.out $VIMSRC/src command -nargs=0 Cscope cs add $VIMSRC/src/cscope.out $VIMSRC/src
endif endif
if has("gui_running")
if has("gui_gtk2")
set guifont=Ubuntu\ Mono\ 13
endif
endif
" From http://vi.stackexchange.com/questions/239/ " From http://vi.stackexchange.com/questions/239/
if @% == "" && getcwd() == "/tmp" if @% == "" && getcwd() == "/tmp"
:silent edit test.sh :silent edit test.sh
endif endif
let g:DiffColors=100 let g:DiffColors = 100
set path+=~/devel/elearning_academy/**
" function LookupFiles () " function LookupFiles ()
" python <<EOF " python <<EOF
...@@ -156,3 +150,5 @@ autocmd BufNewFile * nested call FindInPath(expand('<afile>')) ...@@ -156,3 +150,5 @@ autocmd BufNewFile * nested call FindInPath(expand('<afile>'))
autocmd FileType * exec("setlocal dictionary+=".$HOME."/.vim/dictionary/".expand('<amatch>')) autocmd FileType * exec("setlocal dictionary+=".$HOME."/.vim/dictionary/".expand('<amatch>'))
set completeopt+=menuone,longest,preview set completeopt+=menuone,longest,preview
set complete+=k set complete+=k
source $HOME/.vim/local/$CONFLOCAL.vim
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment