Commit 27ced196 authored by Murukesh Mohanan's avatar Murukesh Mohanan

js -> javascript

parent c52de7b4
Pipeline #763 skipped
...@@ -55,6 +55,8 @@ set isfname-== ...@@ -55,6 +55,8 @@ set isfname-==
set display+=lastline set display+=lastline
set undofile set undofile
set undodir=$HOME/.vim/undo set undodir=$HOME/.vim/undo
set sessionoptions-=options
set sessionoptions+=winpos,winsize
let g:tex_flavor = "latex" let g:tex_flavor = "latex"
...@@ -130,12 +132,12 @@ Plug 'tpope/vim-fugitive' ...@@ -130,12 +132,12 @@ Plug 'tpope/vim-fugitive'
Plug 'tomasr/molokai' Plug 'tomasr/molokai'
Plug 'ctrlpvim/ctrlp.vim' Plug 'ctrlpvim/ctrlp.vim'
Plug 'gabrielelana/vim-markdown', {'for': 'markdown'} Plug 'gabrielelana/vim-markdown', {'for': 'markdown'}
Plug 'majutsushi/tagbar', {'for': ['cpp', 'c', 'go', 'sh', 'js']} Plug 'majutsushi/tagbar', {'for': ['cpp', 'c', 'go', 'sh', 'javascript']}
Plug 'godlygeek/tabular' Plug 'godlygeek/tabular'
if executable('cmake') if executable('cmake')
" YCM command lifted from vim-plug readme " YCM command lifted from vim-plug readme
Plug 'Valloric/YouCompleteMe', { 'do': YCMInstallCmd(), 'for': ['cpp', 'c', 'sh', 'js', 'vim', 'tex'] } Plug 'Valloric/YouCompleteMe', { 'do': YCMInstallCmd(), 'for': ['cpp', 'c', 'sh', 'javascript', 'vim', 'tex'] }
autocmd! User YouCompleteMe if !has('vim_starting') | call youcompleteme#Enable() | endif autocmd! User YouCompleteMe if !has('vim_starting') | call youcompleteme#Enable() | endif
endif endif
if executable('go') if executable('go')
...@@ -172,6 +174,7 @@ colorscheme molokai ...@@ -172,6 +174,7 @@ colorscheme molokai
highlight Normal ctermbg=none highlight Normal ctermbg=none
highlight NonText ctermbg=none highlight NonText ctermbg=none
highlight Visual ctermbg=DarkGrey highlight Visual ctermbg=DarkGrey
set cursorline
" From http://vi.stackexchange.com/questions/258/ " From http://vi.stackexchange.com/questions/258/
autocmd BufWritePre *.sh,*.py if !filereadable(expand('%')) | let b:is_new = 1 | endif autocmd BufWritePre *.sh,*.py if !filereadable(expand('%')) | let b:is_new = 1 | endif
...@@ -200,6 +203,9 @@ let g:ctrlp_prompt_mappings = { ...@@ -200,6 +203,9 @@ let g:ctrlp_prompt_mappings = {
\ } \ }
let g:ctrlp_max_depth = 40 let g:ctrlp_max_depth = 40
let g:ctrlp_max_files = 10000 let g:ctrlp_max_files = 10000
let g:ctrlp_custom_ignore = {
\ 'dir': '\v[\/](plugged|undo|view|\.git)$'
\ }
let g:DiffColors = 100 let g:DiffColors = 100
let g:DiffUnit = "Word3" let g:DiffUnit = "Word3"
let g:DiffUpdate = 1 let g:DiffUpdate = 1
......
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